Line data Source code
1 : /* ----------------------------------------------------------------------------
2 : * This file was automatically generated by SWIG (http://www.swig.org).
3 : * Version 3.0.12
4 : *
5 : * This file is not intended to be easily readable and contains a number of
6 : * coding conventions designed to improve portability and efficiency. Do not make
7 : * changes to this file unless you know what you are doing--modify the SWIG
8 : * interface file instead.
9 : * ----------------------------------------------------------------------------- */
10 :
11 : #ifdef _MSC_VER
12 : #define SWIG_PYTHON_INTERPRETER_NO_DEBUG
13 : #endif
14 :
15 :
16 :
17 : #ifndef SWIGPERL
18 : #define SWIGPERL
19 : #endif
20 :
21 : #define SWIG_CASTRANK_MODE
22 :
23 : /* -----------------------------------------------------------------------------
24 : * This section contains generic SWIG labels for method/variable
25 : * declarations/attributes, and other compiler dependent labels.
26 : * ----------------------------------------------------------------------------- */
27 :
28 : /* template workaround for compilers that cannot correctly implement the C++ standard */
29 : #ifndef SWIGTEMPLATEDISAMBIGUATOR
30 : # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
31 : # define SWIGTEMPLATEDISAMBIGUATOR template
32 : # elif defined(__HP_aCC)
33 : /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
34 : /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
35 : # define SWIGTEMPLATEDISAMBIGUATOR template
36 : # else
37 : # define SWIGTEMPLATEDISAMBIGUATOR
38 : # endif
39 : #endif
40 :
41 : /* inline attribute */
42 : #ifndef SWIGINLINE
43 : # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
44 : # define SWIGINLINE inline
45 : # else
46 : # define SWIGINLINE
47 : # endif
48 : #endif
49 :
50 : /* attribute recognised by some compilers to avoid 'unused' warnings */
51 : #ifndef SWIGUNUSED
52 : # if defined(__GNUC__)
53 : # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
54 : # define SWIGUNUSED __attribute__ ((__unused__))
55 : # else
56 : # define SWIGUNUSED
57 : # endif
58 : # elif defined(__ICC)
59 : # define SWIGUNUSED __attribute__ ((__unused__))
60 : # else
61 : # define SWIGUNUSED
62 : # endif
63 : #endif
64 :
65 : #ifndef SWIG_MSC_UNSUPPRESS_4505
66 : # if defined(_MSC_VER)
67 : # pragma warning(disable : 4505) /* unreferenced local function has been removed */
68 : # endif
69 : #endif
70 :
71 : #ifndef SWIGUNUSEDPARM
72 : # ifdef __cplusplus
73 : # define SWIGUNUSEDPARM(p)
74 : # else
75 : # define SWIGUNUSEDPARM(p) p SWIGUNUSED
76 : # endif
77 : #endif
78 :
79 : /* internal SWIG method */
80 : #ifndef SWIGINTERN
81 : # define SWIGINTERN static SWIGUNUSED
82 : #endif
83 :
84 : /* internal inline SWIG method */
85 : #ifndef SWIGINTERNINLINE
86 : # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
87 : #endif
88 :
89 : /* exporting methods */
90 : #if defined(__GNUC__)
91 : # if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 : # ifndef GCC_HASCLASSVISIBILITY
93 : # define GCC_HASCLASSVISIBILITY
94 : # endif
95 : # endif
96 : #endif
97 :
98 : #ifndef SWIGEXPORT
99 : # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
100 : # if defined(STATIC_LINKED)
101 : # define SWIGEXPORT
102 : # else
103 : # define SWIGEXPORT __declspec(dllexport)
104 : # endif
105 : # else
106 : # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
107 : # define SWIGEXPORT __attribute__ ((visibility("default")))
108 : # else
109 : # define SWIGEXPORT
110 : # endif
111 : # endif
112 : #endif
113 :
114 : /* calling conventions for Windows */
115 : #ifndef SWIGSTDCALL
116 : # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
117 : # define SWIGSTDCALL __stdcall
118 : # else
119 : # define SWIGSTDCALL
120 : # endif
121 : #endif
122 :
123 : /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
124 : #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
125 : # define _CRT_SECURE_NO_DEPRECATE
126 : #endif
127 :
128 : /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
129 : #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
130 : # define _SCL_SECURE_NO_DEPRECATE
131 : #endif
132 :
133 : /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
134 : #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
135 : # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
136 : #endif
137 :
138 : /* Intel's compiler complains if a variable which was never initialised is
139 : * cast to void, which is a common idiom which we use to indicate that we
140 : * are aware a variable isn't used. So we just silence that warning.
141 : * See: https://github.com/swig/swig/issues/192 for more discussion.
142 : */
143 : #ifdef __INTEL_COMPILER
144 : # pragma warning disable 592
145 : #endif
146 :
147 : /* -----------------------------------------------------------------------------
148 : * swigrun.swg
149 : *
150 : * This file contains generic C API SWIG runtime support for pointer
151 : * type checking.
152 : * ----------------------------------------------------------------------------- */
153 :
154 : /* This should only be incremented when either the layout of swig_type_info changes,
155 : or for whatever reason, the runtime changes incompatibly */
156 : #define SWIG_RUNTIME_VERSION "4"
157 :
158 : /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
159 : #ifdef SWIG_TYPE_TABLE
160 : # define SWIG_QUOTE_STRING(x) #x
161 : # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
162 : # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
163 : #else
164 : # define SWIG_TYPE_TABLE_NAME
165 : #endif
166 :
167 : /*
168 : You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
169 : creating a static or dynamic library from the SWIG runtime code.
170 : In 99.9% of the cases, SWIG just needs to declare them as 'static'.
171 :
172 : But only do this if strictly necessary, ie, if you have problems
173 : with your compiler or suchlike.
174 : */
175 :
176 : #ifndef SWIGRUNTIME
177 : # define SWIGRUNTIME SWIGINTERN
178 : #endif
179 :
180 : #ifndef SWIGRUNTIMEINLINE
181 : # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
182 : #endif
183 :
184 : /* Generic buffer size */
185 : #ifndef SWIG_BUFFER_SIZE
186 : # define SWIG_BUFFER_SIZE 1024
187 : #endif
188 :
189 : /* Flags for pointer conversions */
190 : #define SWIG_POINTER_DISOWN 0x1
191 : #define SWIG_CAST_NEW_MEMORY 0x2
192 :
193 : /* Flags for new pointer objects */
194 : #define SWIG_POINTER_OWN 0x1
195 :
196 :
197 : /*
198 : Flags/methods for returning states.
199 :
200 : The SWIG conversion methods, as ConvertPtr, return an integer
201 : that tells if the conversion was successful or not. And if not,
202 : an error code can be returned (see swigerrors.swg for the codes).
203 :
204 : Use the following macros/flags to set or process the returning
205 : states.
206 :
207 : In old versions of SWIG, code such as the following was usually written:
208 :
209 : if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
210 : // success code
211 : } else {
212 : //fail code
213 : }
214 :
215 : Now you can be more explicit:
216 :
217 : int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
218 : if (SWIG_IsOK(res)) {
219 : // success code
220 : } else {
221 : // fail code
222 : }
223 :
224 : which is the same really, but now you can also do
225 :
226 : Type *ptr;
227 : int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
228 : if (SWIG_IsOK(res)) {
229 : // success code
230 : if (SWIG_IsNewObj(res) {
231 : ...
232 : delete *ptr;
233 : } else {
234 : ...
235 : }
236 : } else {
237 : // fail code
238 : }
239 :
240 : I.e., now SWIG_ConvertPtr can return new objects and you can
241 : identify the case and take care of the deallocation. Of course that
242 : also requires SWIG_ConvertPtr to return new result values, such as
243 :
244 : int SWIG_ConvertPtr(obj, ptr,...) {
245 : if (<obj is ok>) {
246 : if (<need new object>) {
247 : *ptr = <ptr to new allocated object>;
248 : return SWIG_NEWOBJ;
249 : } else {
250 : *ptr = <ptr to old object>;
251 : return SWIG_OLDOBJ;
252 : }
253 : } else {
254 : return SWIG_BADOBJ;
255 : }
256 : }
257 :
258 : Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
259 : more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
260 : SWIG errors code.
261 :
262 : Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
263 : allows to return the 'cast rank', for example, if you have this
264 :
265 : int food(double)
266 : int fooi(int);
267 :
268 : and you call
269 :
270 : food(1) // cast rank '1' (1 -> 1.0)
271 : fooi(1) // cast rank '0'
272 :
273 : just use the SWIG_AddCast()/SWIG_CheckState()
274 : */
275 :
276 : #define SWIG_OK (0)
277 : #define SWIG_ERROR (-1)
278 : #define SWIG_IsOK(r) (r >= 0)
279 : #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
280 :
281 : /* The CastRankLimit says how many bits are used for the cast rank */
282 : #define SWIG_CASTRANKLIMIT (1 << 8)
283 : /* The NewMask denotes the object was created (using new/malloc) */
284 : #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
285 : /* The TmpMask is for in/out typemaps that use temporal objects */
286 : #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
287 : /* Simple returning values */
288 : #define SWIG_BADOBJ (SWIG_ERROR)
289 : #define SWIG_OLDOBJ (SWIG_OK)
290 : #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
291 : #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
292 : /* Check, add and del mask methods */
293 : #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
294 : #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
295 : #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
296 : #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
297 : #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
298 : #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
299 :
300 : /* Cast-Rank Mode */
301 : #if defined(SWIG_CASTRANK_MODE)
302 : # ifndef SWIG_TypeRank
303 : # define SWIG_TypeRank unsigned long
304 : # endif
305 : # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
306 : # define SWIG_MAXCASTRANK (2)
307 : # endif
308 : # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
309 : # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
310 : SWIGINTERNINLINE int SWIG_AddCast(int r) {
311 0 : return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
312 : }
313 : SWIGINTERNINLINE int SWIG_CheckState(int r) {
314 0 : return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
315 : }
316 : #else /* no cast-rank mode */
317 : # define SWIG_AddCast(r) (r)
318 : # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
319 : #endif
320 :
321 :
322 : #include <string.h>
323 :
324 : #ifdef __cplusplus
325 : extern "C" {
326 : #endif
327 :
328 : typedef void *(*swig_converter_func)(void *, int *);
329 : typedef struct swig_type_info *(*swig_dycast_func)(void **);
330 :
331 : /* Structure to store information on one type */
332 : typedef struct swig_type_info {
333 : const char *name; /* mangled name of this type */
334 : const char *str; /* human readable name of this type */
335 : swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
336 : struct swig_cast_info *cast; /* linked list of types that can cast into this type */
337 : void *clientdata; /* language specific type data */
338 : int owndata; /* flag if the structure owns the clientdata */
339 : } swig_type_info;
340 :
341 : /* Structure to store a type and conversion function used for casting */
342 : typedef struct swig_cast_info {
343 : swig_type_info *type; /* pointer to type that is equivalent to this type */
344 : swig_converter_func converter; /* function to cast the void pointers */
345 : struct swig_cast_info *next; /* pointer to next cast in linked list */
346 : struct swig_cast_info *prev; /* pointer to the previous cast */
347 : } swig_cast_info;
348 :
349 : /* Structure used to store module information
350 : * Each module generates one structure like this, and the runtime collects
351 : * all of these structures and stores them in a circularly linked list.*/
352 : typedef struct swig_module_info {
353 : swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
354 : size_t size; /* Number of types in this module */
355 : struct swig_module_info *next; /* Pointer to next element in circularly linked list */
356 : swig_type_info **type_initial; /* Array of initially generated type structures */
357 : swig_cast_info **cast_initial; /* Array of initially generated casting structures */
358 : void *clientdata; /* Language specific module data */
359 : } swig_module_info;
360 :
361 : /*
362 : Compare two type names skipping the space characters, therefore
363 : "char*" == "char *" and "Class<int>" == "Class<int >", etc.
364 :
365 : Return 0 when the two name types are equivalent, as in
366 : strncmp, but skipping ' '.
367 : */
368 : SWIGRUNTIME int
369 0 : SWIG_TypeNameComp(const char *f1, const char *l1,
370 : const char *f2, const char *l2) {
371 0 : for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
372 0 : while ((*f1 == ' ') && (f1 != l1)) ++f1;
373 0 : while ((*f2 == ' ') && (f2 != l2)) ++f2;
374 0 : if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
375 : }
376 0 : return (int)((l1 - f1) - (l2 - f2));
377 : }
378 :
379 : /*
380 : Check type equivalence in a name list like <name1>|<name2>|...
381 : Return 0 if equal, -1 if nb < tb, 1 if nb > tb
382 : */
383 : SWIGRUNTIME int
384 0 : SWIG_TypeCmp(const char *nb, const char *tb) {
385 : int equiv = 1;
386 0 : const char* te = tb + strlen(tb);
387 : const char* ne = nb;
388 0 : while (equiv != 0 && *ne) {
389 0 : for (nb = ne; *ne; ++ne) {
390 0 : if (*ne == '|') break;
391 : }
392 0 : equiv = SWIG_TypeNameComp(nb, ne, tb, te);
393 0 : if (*ne) ++ne;
394 : }
395 0 : return equiv;
396 : }
397 :
398 : /*
399 : Check type equivalence in a name list like <name1>|<name2>|...
400 : Return 0 if not equal, 1 if equal
401 : */
402 : SWIGRUNTIME int
403 : SWIG_TypeEquiv(const char *nb, const char *tb) {
404 0 : return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
405 : }
406 :
407 : /*
408 : Check the typename
409 : */
410 : SWIGRUNTIME swig_cast_info *
411 0 : SWIG_TypeCheck(const char *c, swig_type_info *ty) {
412 0 : if (ty) {
413 0 : swig_cast_info *iter = ty->cast;
414 0 : while (iter) {
415 0 : if (strcmp(iter->type->name, c) == 0) {
416 0 : if (iter == ty->cast)
417 : return iter;
418 : /* Move iter to the top of the linked list */
419 0 : iter->prev->next = iter->next;
420 0 : if (iter->next)
421 0 : iter->next->prev = iter->prev;
422 0 : iter->next = ty->cast;
423 0 : iter->prev = 0;
424 0 : if (ty->cast) ty->cast->prev = iter;
425 0 : ty->cast = iter;
426 0 : return iter;
427 : }
428 0 : iter = iter->next;
429 : }
430 : }
431 : return 0;
432 : }
433 :
434 : /*
435 : Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
436 : */
437 : SWIGRUNTIME swig_cast_info *
438 : SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
439 : if (ty) {
440 : swig_cast_info *iter = ty->cast;
441 : while (iter) {
442 : if (iter->type == from) {
443 : if (iter == ty->cast)
444 : return iter;
445 : /* Move iter to the top of the linked list */
446 : iter->prev->next = iter->next;
447 : if (iter->next)
448 : iter->next->prev = iter->prev;
449 : iter->next = ty->cast;
450 : iter->prev = 0;
451 : if (ty->cast) ty->cast->prev = iter;
452 : ty->cast = iter;
453 : return iter;
454 : }
455 : iter = iter->next;
456 : }
457 : }
458 : return 0;
459 : }
460 :
461 : /*
462 : Cast a pointer up an inheritance hierarchy
463 : */
464 : SWIGRUNTIMEINLINE void *
465 : SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
466 1 : return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
467 : }
468 :
469 : /*
470 : Dynamic pointer casting. Down an inheritance hierarchy
471 : */
472 : SWIGRUNTIME swig_type_info *
473 : SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
474 : swig_type_info *lastty = ty;
475 : if (!ty || !ty->dcast) return ty;
476 : while (ty && (ty->dcast)) {
477 : ty = (*ty->dcast)(ptr);
478 : if (ty) lastty = ty;
479 : }
480 : return lastty;
481 : }
482 :
483 : /*
484 : Return the name associated with this type
485 : */
486 : SWIGRUNTIMEINLINE const char *
487 : SWIG_TypeName(const swig_type_info *ty) {
488 : return ty->name;
489 : }
490 :
491 : /*
492 : Return the pretty name associated with this type,
493 : that is an unmangled type name in a form presentable to the user.
494 : */
495 : SWIGRUNTIME const char *
496 : SWIG_TypePrettyName(const swig_type_info *type) {
497 : /* The "str" field contains the equivalent pretty names of the
498 : type, separated by vertical-bar characters. We choose
499 : to print the last name, as it is often (?) the most
500 : specific. */
501 : if (!type) return NULL;
502 : if (type->str != NULL) {
503 : const char *last_name = type->str;
504 : const char *s;
505 : for (s = type->str; *s; s++)
506 : if (*s == '|') last_name = s+1;
507 : return last_name;
508 : }
509 : else
510 : return type->name;
511 : }
512 :
513 : /*
514 : Set the clientdata field for a type
515 : */
516 : SWIGRUNTIME void
517 1 : SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
518 1 : swig_cast_info *cast = ti->cast;
519 : /* if (ti->clientdata == clientdata) return; */
520 1 : ti->clientdata = clientdata;
521 :
522 1 : while (cast) {
523 1 : if (!cast->converter) {
524 1 : swig_type_info *tc = cast->type;
525 1 : if (!tc->clientdata) {
526 0 : SWIG_TypeClientData(tc, clientdata);
527 : }
528 : }
529 1 : cast = cast->next;
530 : }
531 1 : }
532 : SWIGRUNTIME void
533 : SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
534 : SWIG_TypeClientData(ti, clientdata);
535 : ti->owndata = 1;
536 : }
537 :
538 : /*
539 : Search for a swig_type_info structure only by mangled name
540 : Search is a O(log #types)
541 :
542 : We start searching at module start, and finish searching when start == end.
543 : Note: if start == end at the beginning of the function, we go all the way around
544 : the circular list.
545 : */
546 : SWIGRUNTIME swig_type_info *
547 0 : SWIG_MangledTypeQueryModule(swig_module_info *start,
548 : swig_module_info *end,
549 : const char *name) {
550 : swig_module_info *iter = start;
551 : do {
552 0 : if (iter->size) {
553 : size_t l = 0;
554 0 : size_t r = iter->size - 1;
555 : do {
556 : /* since l+r >= 0, we can (>> 1) instead (/ 2) */
557 0 : size_t i = (l + r) >> 1;
558 0 : const char *iname = iter->types[i]->name;
559 0 : if (iname) {
560 0 : int compare = strcmp(name, iname);
561 0 : if (compare == 0) {
562 : return iter->types[i];
563 0 : } else if (compare < 0) {
564 0 : if (i) {
565 0 : r = i - 1;
566 : } else {
567 : break;
568 : }
569 0 : } else if (compare > 0) {
570 0 : l = i + 1;
571 : }
572 : } else {
573 : break; /* should never happen */
574 : }
575 0 : } while (l <= r);
576 : }
577 0 : iter = iter->next;
578 0 : } while (iter != end);
579 : return 0;
580 : }
581 :
582 : /*
583 : Search for a swig_type_info structure for either a mangled name or a human readable name.
584 : It first searches the mangled names of the types, which is a O(log #types)
585 : If a type is not found it then searches the human readable names, which is O(#types).
586 :
587 : We start searching at module start, and finish searching when start == end.
588 : Note: if start == end at the beginning of the function, we go all the way around
589 : the circular list.
590 : */
591 : SWIGRUNTIME swig_type_info *
592 0 : SWIG_TypeQueryModule(swig_module_info *start,
593 : swig_module_info *end,
594 : const char *name) {
595 : /* STEP 1: Search the name field using binary search */
596 0 : swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
597 0 : if (ret) {
598 : return ret;
599 : } else {
600 : /* STEP 2: If the type hasn't been found, do a complete search
601 : of the str field (the human readable name) */
602 : swig_module_info *iter = start;
603 : do {
604 : size_t i = 0;
605 0 : for (; i < iter->size; ++i) {
606 0 : if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
607 : return iter->types[i];
608 : }
609 0 : iter = iter->next;
610 0 : } while (iter != end);
611 : }
612 :
613 : /* neither found a match */
614 : return 0;
615 : }
616 :
617 : /*
618 : Pack binary data into a string
619 : */
620 : SWIGRUNTIME char *
621 : SWIG_PackData(char *c, void *ptr, size_t sz) {
622 : static const char hex[17] = "0123456789abcdef";
623 : const unsigned char *u = (unsigned char *) ptr;
624 0 : const unsigned char *eu = u + sz;
625 0 : for (; u != eu; ++u) {
626 0 : unsigned char uu = *u;
627 0 : *(c++) = hex[(uu & 0xf0) >> 4];
628 0 : *(c++) = hex[uu & 0xf];
629 : }
630 : return c;
631 : }
632 :
633 : /*
634 : Unpack binary data from a string
635 : */
636 : SWIGRUNTIME const char *
637 : SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
638 : unsigned char *u = (unsigned char *) ptr;
639 : const unsigned char *eu = u + sz;
640 : for (; u != eu; ++u) {
641 : char d = *(c++);
642 : unsigned char uu;
643 : if ((d >= '0') && (d <= '9'))
644 : uu = (unsigned char)((d - '0') << 4);
645 : else if ((d >= 'a') && (d <= 'f'))
646 : uu = (unsigned char)((d - ('a'-10)) << 4);
647 : else
648 : return (char *) 0;
649 : d = *(c++);
650 : if ((d >= '0') && (d <= '9'))
651 : uu |= (unsigned char)(d - '0');
652 : else if ((d >= 'a') && (d <= 'f'))
653 : uu |= (unsigned char)(d - ('a'-10));
654 : else
655 : return (char *) 0;
656 : *u = uu;
657 : }
658 : return c;
659 : }
660 :
661 : /*
662 : Pack 'void *' into a string buffer.
663 : */
664 : SWIGRUNTIME char *
665 : SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
666 : char *r = buff;
667 : if ((2*sizeof(void *) + 2) > bsz) return 0;
668 : *(r++) = '_';
669 : r = SWIG_PackData(r,&ptr,sizeof(void *));
670 : if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
671 : strcpy(r,name);
672 : return buff;
673 : }
674 :
675 : SWIGRUNTIME const char *
676 : SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
677 : if (*c != '_') {
678 : if (strcmp(c,"NULL") == 0) {
679 : *ptr = (void *) 0;
680 : return name;
681 : } else {
682 : return 0;
683 : }
684 : }
685 : return SWIG_UnpackData(++c,ptr,sizeof(void *));
686 : }
687 :
688 : SWIGRUNTIME char *
689 : SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
690 : char *r = buff;
691 : size_t lname = (name ? strlen(name) : 0);
692 : if ((2*sz + 2 + lname) > bsz) return 0;
693 : *(r++) = '_';
694 : r = SWIG_PackData(r,ptr,sz);
695 : if (lname) {
696 : strncpy(r,name,lname+1);
697 : } else {
698 : *r = 0;
699 : }
700 : return buff;
701 : }
702 :
703 : SWIGRUNTIME const char *
704 : SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
705 : if (*c != '_') {
706 : if (strcmp(c,"NULL") == 0) {
707 : memset(ptr,0,sz);
708 : return name;
709 : } else {
710 : return 0;
711 : }
712 : }
713 : return SWIG_UnpackData(++c,ptr,sz);
714 : }
715 :
716 : #ifdef __cplusplus
717 : }
718 : #endif
719 :
720 : /* Errors in SWIG */
721 : #define SWIG_UnknownError -1
722 : #define SWIG_IOError -2
723 : #define SWIG_RuntimeError -3
724 : #define SWIG_IndexError -4
725 : #define SWIG_TypeError -5
726 : #define SWIG_DivisionByZero -6
727 : #define SWIG_OverflowError -7
728 : #define SWIG_SyntaxError -8
729 : #define SWIG_ValueError -9
730 : #define SWIG_SystemError -10
731 : #define SWIG_AttributeError -11
732 : #define SWIG_MemoryError -12
733 : #define SWIG_NullReferenceError -13
734 :
735 :
736 :
737 : #ifdef __cplusplus
738 : /* Needed on some windows machines---since MS plays funny games with the header files under C++ */
739 : #include <math.h>
740 : #include <stdlib.h>
741 : extern "C" {
742 : #endif
743 : #include "EXTERN.h"
744 : #include "perl.h"
745 : #include "XSUB.h"
746 :
747 : /* Add in functionality missing in older versions of Perl. Much of this is based on Devel-PPPort on cpan. */
748 :
749 : /* Add PERL_REVISION, PERL_VERSION, PERL_SUBVERSION if missing */
750 : #ifndef PERL_REVISION
751 : # if !defined(__PATCHLEVEL_H_INCLUDED__) && !(defined(PATCHLEVEL) && defined(SUBVERSION))
752 : # define PERL_PATCHLEVEL_H_IMPLICIT
753 : # include <patchlevel.h>
754 : # endif
755 : # if !(defined(PERL_VERSION) || (defined(SUBVERSION) && defined(PATCHLEVEL)))
756 : # include <could_not_find_Perl_patchlevel.h>
757 : # endif
758 : # ifndef PERL_REVISION
759 : # define PERL_REVISION (5)
760 : # define PERL_VERSION PATCHLEVEL
761 : # define PERL_SUBVERSION SUBVERSION
762 : # endif
763 : #endif
764 :
765 : #if defined(WIN32) && defined(PERL_OBJECT) && !defined(PerlIO_exportFILE)
766 : #define PerlIO_exportFILE(fh,fl) (FILE*)(fh)
767 : #endif
768 :
769 : #ifndef SvIOK_UV
770 : # define SvIOK_UV(sv) (SvIOK(sv) && (SvUVX(sv) == SvIVX(sv)))
771 : #endif
772 :
773 : #ifndef SvUOK
774 : # define SvUOK(sv) SvIOK_UV(sv)
775 : #endif
776 :
777 : #if ((PERL_VERSION < 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION <= 5)))
778 : # define PL_sv_undef sv_undef
779 : # define PL_na na
780 : # define PL_errgv errgv
781 : # define PL_sv_no sv_no
782 : # define PL_sv_yes sv_yes
783 : # define PL_markstack_ptr markstack_ptr
784 : #endif
785 :
786 : #ifndef IVSIZE
787 : # ifdef LONGSIZE
788 : # define IVSIZE LONGSIZE
789 : # else
790 : # define IVSIZE 4 /* A bold guess, but the best we can make. */
791 : # endif
792 : #endif
793 :
794 : #ifndef INT2PTR
795 : # if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
796 : # define PTRV UV
797 : # define INT2PTR(any,d) (any)(d)
798 : # else
799 : # if PTRSIZE == LONGSIZE
800 : # define PTRV unsigned long
801 : # else
802 : # define PTRV unsigned
803 : # endif
804 : # define INT2PTR(any,d) (any)(PTRV)(d)
805 : # endif
806 :
807 : # define NUM2PTR(any,d) (any)(PTRV)(d)
808 : # define PTR2IV(p) INT2PTR(IV,p)
809 : # define PTR2UV(p) INT2PTR(UV,p)
810 : # define PTR2NV(p) NUM2PTR(NV,p)
811 :
812 : # if PTRSIZE == LONGSIZE
813 : # define PTR2ul(p) (unsigned long)(p)
814 : # else
815 : # define PTR2ul(p) INT2PTR(unsigned long,p)
816 : # endif
817 : #endif /* !INT2PTR */
818 :
819 : #ifndef SvPV_nolen
820 : # define SvPV_nolen(x) SvPV(x,PL_na)
821 : #endif
822 :
823 : #ifndef get_sv
824 : # define get_sv perl_get_sv
825 : #endif
826 :
827 : #ifndef ERRSV
828 : # define ERRSV get_sv("@",FALSE)
829 : #endif
830 :
831 : #ifndef pTHX_
832 : #define pTHX_
833 : #endif
834 :
835 : #include <string.h>
836 : #ifdef __cplusplus
837 : }
838 : #endif
839 :
840 : /* -----------------------------------------------------------------------------
841 : * error manipulation
842 : * ----------------------------------------------------------------------------- */
843 :
844 : SWIGINTERN const char*
845 0 : SWIG_Perl_ErrorType(int code) {
846 0 : switch(code) {
847 : case SWIG_MemoryError:
848 : return "MemoryError";
849 : case SWIG_IOError:
850 0 : return "IOError";
851 : case SWIG_RuntimeError:
852 0 : return "RuntimeError";
853 : case SWIG_IndexError:
854 0 : return "IndexError";
855 : case SWIG_TypeError:
856 0 : return "TypeError";
857 : case SWIG_DivisionByZero:
858 0 : return "ZeroDivisionError";
859 : case SWIG_OverflowError:
860 0 : return "OverflowError";
861 : case SWIG_SyntaxError:
862 0 : return "SyntaxError";
863 : case SWIG_ValueError:
864 0 : return "ValueError";
865 : case SWIG_SystemError:
866 0 : return "SystemError";
867 : case SWIG_AttributeError:
868 0 : return "AttributeError";
869 : default:
870 0 : return "RuntimeError";
871 : }
872 : }
873 :
874 :
875 : /* -----------------------------------------------------------------------------
876 : * perlrun.swg
877 : *
878 : * This file contains the runtime support for Perl modules
879 : * and includes code for managing global variables and pointer
880 : * type checking.
881 : * ----------------------------------------------------------------------------- */
882 :
883 : #ifdef PERL_OBJECT
884 : #define SWIG_PERL_OBJECT_DECL CPerlObj *SWIGUNUSEDPARM(pPerl),
885 : #define SWIG_PERL_OBJECT_CALL pPerl,
886 : #else
887 : #define SWIG_PERL_OBJECT_DECL
888 : #define SWIG_PERL_OBJECT_CALL
889 : #endif
890 :
891 : /* Common SWIG API */
892 :
893 : /* for raw pointers */
894 : #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Perl_ConvertPtr(SWIG_PERL_OBJECT_CALL obj, pp, type, flags)
895 : #define SWIG_ConvertPtrAndOwn(obj, pp, type, flags,own) SWIG_Perl_ConvertPtrAndOwn(SWIG_PERL_OBJECT_CALL obj, pp, type, flags, own)
896 : #define SWIG_NewPointerObj(p, type, flags) SWIG_Perl_NewPointerObj(SWIG_PERL_OBJECT_CALL p, type, flags)
897 : #define swig_owntype int
898 :
899 : /* for raw packed data */
900 : #define SWIG_ConvertPacked(obj, p, s, type) SWIG_Perl_ConvertPacked(SWIG_PERL_OBJECT_CALL obj, p, s, type)
901 : #define SWIG_NewPackedObj(p, s, type) SWIG_Perl_NewPackedObj(SWIG_PERL_OBJECT_CALL p, s, type)
902 :
903 : /* for class or struct pointers */
904 : #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
905 : #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
906 :
907 : /* for C or C++ function pointers */
908 : #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_ConvertPtr(obj, pptr, type, 0)
909 : #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_NewPointerObj(ptr, type, 0)
910 :
911 : /* for C++ member pointers, ie, member methods */
912 : #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_ConvertPacked(obj, ptr, sz, ty)
913 : #define SWIG_NewMemberObj(ptr, sz, type) SWIG_NewPackedObj(ptr, sz, type)
914 :
915 :
916 : /* Runtime API */
917 :
918 : #define SWIG_GetModule(clientdata) SWIG_Perl_GetModule(clientdata)
919 : #define SWIG_SetModule(clientdata, pointer) SWIG_Perl_SetModule(pointer)
920 :
921 :
922 : /* Error manipulation */
923 :
924 : #define SWIG_ErrorType(code) SWIG_Perl_ErrorType(code)
925 : #define SWIG_Error(code, msg) sv_setpvf(get_sv("@", GV_ADD), "%s %s", SWIG_ErrorType(code), msg)
926 : #define SWIG_fail goto fail
927 :
928 : /* Perl-specific SWIG API */
929 :
930 : #define SWIG_MakePtr(sv, ptr, type, flags) SWIG_Perl_MakePtr(SWIG_PERL_OBJECT_CALL sv, ptr, type, flags)
931 : #define SWIG_MakePackedObj(sv, p, s, type) SWIG_Perl_MakePackedObj(SWIG_PERL_OBJECT_CALL sv, p, s, type)
932 : #define SWIG_SetError(str) SWIG_Error(SWIG_RuntimeError, str)
933 :
934 :
935 : #define SWIG_PERL_DECL_ARGS_1(arg1) (SWIG_PERL_OBJECT_DECL arg1)
936 : #define SWIG_PERL_CALL_ARGS_1(arg1) (SWIG_PERL_OBJECT_CALL arg1)
937 : #define SWIG_PERL_DECL_ARGS_2(arg1, arg2) (SWIG_PERL_OBJECT_DECL arg1, arg2)
938 : #define SWIG_PERL_CALL_ARGS_2(arg1, arg2) (SWIG_PERL_OBJECT_CALL arg1, arg2)
939 :
940 : /* -----------------------------------------------------------------------------
941 : * pointers/data manipulation
942 : * ----------------------------------------------------------------------------- */
943 :
944 : /* For backward compatibility only */
945 : #define SWIG_POINTER_EXCEPTION 0
946 :
947 : #ifdef __cplusplus
948 : extern "C" {
949 : #endif
950 :
951 : #define SWIG_OWNER SWIG_POINTER_OWN
952 : #define SWIG_SHADOW SWIG_OWNER << 1
953 :
954 : #define SWIG_MAYBE_PERL_OBJECT SWIG_PERL_OBJECT_DECL
955 :
956 : /* SWIG Perl macros */
957 :
958 : /* Macro to declare an XS function */
959 : #ifndef XSPROTO
960 : # define XSPROTO(name) void name(pTHX_ CV* cv)
961 : #endif
962 :
963 : /* Macro to call an XS function */
964 : #ifdef PERL_OBJECT
965 : # define SWIG_CALLXS(_name) _name(cv,pPerl)
966 : #else
967 : # ifndef MULTIPLICITY
968 : # define SWIG_CALLXS(_name) _name(cv)
969 : # else
970 : # define SWIG_CALLXS(_name) _name(PERL_GET_THX, cv)
971 : # endif
972 : #endif
973 :
974 : #ifdef PERL_OBJECT
975 : #define MAGIC_PPERL CPerlObj *pPerl = (CPerlObj *) this;
976 :
977 : #ifdef __cplusplus
978 : extern "C" {
979 : #endif
980 : typedef int (CPerlObj::*SwigMagicFunc)(SV *, MAGIC *);
981 : #ifdef __cplusplus
982 : }
983 : #endif
984 :
985 : #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
986 : #define SWIGCLASS_STATIC
987 :
988 : #else /* PERL_OBJECT */
989 :
990 : #define MAGIC_PPERL
991 : #define SWIGCLASS_STATIC static SWIGUNUSED
992 :
993 : #ifndef MULTIPLICITY
994 : #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
995 :
996 : #ifdef __cplusplus
997 : extern "C" {
998 : #endif
999 : typedef int (*SwigMagicFunc)(SV *, MAGIC *);
1000 : #ifdef __cplusplus
1001 : }
1002 : #endif
1003 :
1004 : #else /* MULTIPLICITY */
1005 :
1006 : #define SWIG_MAGIC(a,b) (struct interpreter *interp, SV *a, MAGIC *b)
1007 :
1008 : #ifdef __cplusplus
1009 : extern "C" {
1010 : #endif
1011 : typedef int (*SwigMagicFunc)(struct interpreter *, SV *, MAGIC *);
1012 : #ifdef __cplusplus
1013 : }
1014 : #endif
1015 :
1016 : #endif /* MULTIPLICITY */
1017 : #endif /* PERL_OBJECT */
1018 :
1019 : # ifdef PERL_OBJECT
1020 : # define SWIG_croak_null() SWIG_Perl_croak_null(pPerl)
1021 : static void SWIGUNUSED SWIG_Perl_croak_null(CPerlObj *pPerl)
1022 : # else
1023 0 : static void SWIGUNUSED SWIG_croak_null()
1024 : # endif
1025 : {
1026 0 : SV *err = get_sv("@", GV_ADD);
1027 : # if (PERL_VERSION < 6)
1028 : croak("%_", err);
1029 : # else
1030 0 : if (sv_isobject(err))
1031 0 : croak(0);
1032 : else
1033 0 : croak("%s", SvPV_nolen(err));
1034 : # endif
1035 : }
1036 :
1037 :
1038 : /*
1039 : Define how strict is the cast between strings and integers/doubles
1040 : when overloading between these types occurs.
1041 :
1042 : The default is making it as strict as possible by using SWIG_AddCast
1043 : when needed.
1044 :
1045 : You can use -DSWIG_PERL_NO_STRICT_STR2NUM at compilation time to
1046 : disable the SWIG_AddCast, making the casting between string and
1047 : numbers less strict.
1048 :
1049 : In the end, we try to solve the overloading between strings and
1050 : numerical types in the more natural way, but if you can avoid it,
1051 : well, avoid it using %rename, for example.
1052 : */
1053 : #ifndef SWIG_PERL_NO_STRICT_STR2NUM
1054 : # ifndef SWIG_PERL_STRICT_STR2NUM
1055 : # define SWIG_PERL_STRICT_STR2NUM
1056 : # endif
1057 : #endif
1058 : #ifdef SWIG_PERL_STRICT_STR2NUM
1059 : /* string takes precedence */
1060 : #define SWIG_Str2NumCast(x) SWIG_AddCast(x)
1061 : #else
1062 : /* number takes precedence */
1063 : #define SWIG_Str2NumCast(x) x
1064 : #endif
1065 :
1066 :
1067 :
1068 : #include <stdlib.h>
1069 :
1070 : SWIGRUNTIME const char *
1071 : SWIG_Perl_TypeProxyName(const swig_type_info *type) {
1072 1 : if (!type) return NULL;
1073 1 : if (type->clientdata != NULL) {
1074 : return (const char*) type->clientdata;
1075 : }
1076 : else {
1077 0 : return type->name;
1078 : }
1079 : }
1080 :
1081 : /* Identical to SWIG_TypeCheck, except for strcmp comparison */
1082 : SWIGRUNTIME swig_cast_info *
1083 1 : SWIG_TypeProxyCheck(const char *c, swig_type_info *ty) {
1084 1 : if (ty) {
1085 1 : swig_cast_info *iter = ty->cast;
1086 1 : while (iter) {
1087 1 : if (strcmp(SWIG_Perl_TypeProxyName(iter->type), c) == 0) {
1088 1 : if (iter == ty->cast)
1089 : return iter;
1090 : /* Move iter to the top of the linked list */
1091 0 : iter->prev->next = iter->next;
1092 0 : if (iter->next)
1093 0 : iter->next->prev = iter->prev;
1094 0 : iter->next = ty->cast;
1095 0 : iter->prev = 0;
1096 0 : if (ty->cast) ty->cast->prev = iter;
1097 0 : ty->cast = iter;
1098 0 : return iter;
1099 : }
1100 0 : iter = iter->next;
1101 : }
1102 : }
1103 : return 0;
1104 : }
1105 :
1106 : /* Function for getting a pointer value */
1107 :
1108 : SWIGRUNTIME int
1109 1 : SWIG_Perl_ConvertPtrAndOwn(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags, int *own) {
1110 : swig_cast_info *tc;
1111 : void *voidptr = (void *)0;
1112 : SV *tsv = 0;
1113 :
1114 1 : if (own)
1115 0 : *own = 0;
1116 :
1117 : /* If magical, apply more magic */
1118 1 : if (SvGMAGICAL(sv))
1119 0 : mg_get(sv);
1120 :
1121 : /* Check to see if this is an object */
1122 1 : if (sv_isobject(sv)) {
1123 : IV tmp = 0;
1124 1 : tsv = (SV*) SvRV(sv);
1125 1 : if ((SvTYPE(tsv) == SVt_PVHV)) {
1126 : MAGIC *mg;
1127 1 : if (SvMAGICAL(tsv)) {
1128 1 : mg = mg_find(tsv,'P');
1129 1 : if (mg) {
1130 1 : sv = mg->mg_obj;
1131 1 : if (sv_isobject(sv)) {
1132 1 : tsv = (SV*)SvRV(sv);
1133 1 : tmp = SvIV(tsv);
1134 : }
1135 : }
1136 : } else {
1137 : return SWIG_ERROR;
1138 : }
1139 : } else {
1140 1 : tmp = SvIV(tsv);
1141 : }
1142 1 : voidptr = INT2PTR(void *,tmp);
1143 1 : } else if (! SvOK(sv)) { /* Check for undef */
1144 1 : *(ptr) = (void *) 0;
1145 1 : return SWIG_OK;
1146 0 : } else if (SvTYPE(sv) == SVt_RV) { /* Check for NULL pointer */
1147 0 : if (!SvROK(sv)) {
1148 : /* In Perl 5.12 and later, SVt_RV == SVt_IV, so sv could be a valid integer value. */
1149 0 : if (SvIOK(sv)) {
1150 : return SWIG_ERROR;
1151 : } else {
1152 : /* NULL pointer (reference to undef). */
1153 0 : *(ptr) = (void *) 0;
1154 0 : return SWIG_OK;
1155 : }
1156 : } else {
1157 : return SWIG_ERROR;
1158 : }
1159 : } else { /* Don't know what it is */
1160 : return SWIG_ERROR;
1161 : }
1162 1 : if (_t) {
1163 : /* Now see if the types match */
1164 1 : char *_c = HvNAME(SvSTASH(SvRV(sv)));
1165 1 : tc = SWIG_TypeProxyCheck(_c,_t);
1166 : #ifdef SWIG_DIRECTORS
1167 : if (!tc && !sv_derived_from(sv,SWIG_Perl_TypeProxyName(_t))) {
1168 : #else
1169 1 : if (!tc) {
1170 : #endif
1171 : return SWIG_ERROR;
1172 : }
1173 : {
1174 1 : int newmemory = 0;
1175 1 : *ptr = SWIG_TypeCast(tc,voidptr,&newmemory);
1176 1 : if (newmemory == SWIG_CAST_NEW_MEMORY) {
1177 : assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
1178 0 : if (own)
1179 0 : *own = *own | SWIG_CAST_NEW_MEMORY;
1180 : }
1181 : }
1182 : } else {
1183 0 : *ptr = voidptr;
1184 : }
1185 :
1186 : /*
1187 : * DISOWN implementation: we need a perl guru to check this one.
1188 : */
1189 1 : if (tsv && (flags & SWIG_POINTER_DISOWN)) {
1190 : /*
1191 : * almost copy paste code from below SWIG_POINTER_OWN setting
1192 : */
1193 : SV *obj = sv;
1194 1 : HV *stash = SvSTASH(SvRV(obj));
1195 1 : GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
1196 1 : if (isGV(gv)) {
1197 1 : HV *hv = GvHVn(gv);
1198 : /*
1199 : * To set ownership (see below), a newSViv(1) entry is added.
1200 : * Hence, to remove ownership, we delete the entry.
1201 : */
1202 1 : if (hv_exists_ent(hv, obj, 0)) {
1203 1 : hv_delete_ent(hv, obj, 0, 0);
1204 : }
1205 : }
1206 : }
1207 : return SWIG_OK;
1208 : }
1209 :
1210 : SWIGRUNTIME int
1211 : SWIG_Perl_ConvertPtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags) {
1212 1 : return SWIG_Perl_ConvertPtrAndOwn(sv, ptr, _t, flags, 0);
1213 : }
1214 :
1215 : SWIGRUNTIME void
1216 1 : SWIG_Perl_MakePtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, swig_type_info *t, int flags) {
1217 1 : if (ptr && (flags & (SWIG_SHADOW | SWIG_POINTER_OWN))) {
1218 : SV *self;
1219 1 : SV *obj=newSV(0);
1220 1 : HV *hash=newHV();
1221 : HV *stash;
1222 1 : sv_setref_pv(obj, SWIG_Perl_TypeProxyName(t), ptr);
1223 1 : stash=SvSTASH(SvRV(obj));
1224 1 : if (flags & SWIG_POINTER_OWN) {
1225 : HV *hv;
1226 1 : GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
1227 1 : if (!isGV(gv))
1228 0 : gv_init(gv, stash, "OWNER", 5, FALSE);
1229 1 : hv=GvHVn(gv);
1230 1 : hv_store_ent(hv, obj, newSViv(1), 0);
1231 : }
1232 1 : sv_magic((SV *)hash, (SV *)obj, 'P', Nullch, 0);
1233 1 : SvREFCNT_dec(obj);
1234 1 : self=newRV_noinc((SV *)hash);
1235 1 : sv_setsv(sv, self);
1236 1 : SvREFCNT_dec((SV *)self);
1237 1 : sv_bless(sv, stash);
1238 : }
1239 : else {
1240 0 : sv_setref_pv(sv, SWIG_Perl_TypeProxyName(t), ptr);
1241 : }
1242 1 : }
1243 :
1244 : SWIGRUNTIMEINLINE SV *
1245 1 : SWIG_Perl_NewPointerObj(SWIG_MAYBE_PERL_OBJECT void *ptr, swig_type_info *t, int flags) {
1246 1 : SV *result = sv_newmortal();
1247 1 : SWIG_MakePtr(result, ptr, t, flags);
1248 1 : return result;
1249 : }
1250 :
1251 : SWIGRUNTIME void
1252 0 : SWIG_Perl_MakePackedObj(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, int sz, swig_type_info *type) {
1253 : char result[1024];
1254 : char *r = result;
1255 0 : if ((2*sz + 1 + strlen(SWIG_Perl_TypeProxyName(type))) > 1000) return;
1256 0 : *(r++) = '_';
1257 0 : r = SWIG_PackData(r,ptr,sz);
1258 : strcpy(r,SWIG_Perl_TypeProxyName(type));
1259 0 : sv_setpv(sv, result);
1260 : }
1261 :
1262 : SWIGRUNTIME SV *
1263 : SWIG_Perl_NewPackedObj(SWIG_MAYBE_PERL_OBJECT void *ptr, int sz, swig_type_info *type) {
1264 : SV *result = sv_newmortal();
1265 : SWIG_Perl_MakePackedObj(result, ptr, sz, type);
1266 : return result;
1267 : }
1268 :
1269 : /* Convert a packed value value */
1270 : SWIGRUNTIME int
1271 : SWIG_Perl_ConvertPacked(SWIG_MAYBE_PERL_OBJECT SV *obj, void *ptr, int sz, swig_type_info *ty) {
1272 : swig_cast_info *tc;
1273 : const char *c = 0;
1274 :
1275 : if ((!obj) || (!SvOK(obj))) return SWIG_ERROR;
1276 : c = SvPV_nolen(obj);
1277 : /* Pointer values must start with leading underscore */
1278 : if (*c != '_') return SWIG_ERROR;
1279 : c++;
1280 : c = SWIG_UnpackData(c,ptr,sz);
1281 : if (ty) {
1282 : tc = SWIG_TypeCheck(c,ty);
1283 : if (!tc) return SWIG_ERROR;
1284 : }
1285 : return SWIG_OK;
1286 : }
1287 :
1288 :
1289 : /* Macros for low-level exception handling */
1290 : #define SWIG_croak(x) { SWIG_Error(SWIG_RuntimeError, x); SWIG_fail; }
1291 :
1292 :
1293 : typedef XSPROTO(SwigPerlWrapper);
1294 : typedef SwigPerlWrapper *SwigPerlWrapperPtr;
1295 :
1296 : /* Structure for command table */
1297 : typedef struct {
1298 : const char *name;
1299 : SwigPerlWrapperPtr wrapper;
1300 : } swig_command_info;
1301 :
1302 : /* Information for constant table */
1303 :
1304 : #define SWIG_INT 1
1305 : #define SWIG_FLOAT 2
1306 : #define SWIG_STRING 3
1307 : #define SWIG_POINTER 4
1308 : #define SWIG_BINARY 5
1309 :
1310 : /* Constant information structure */
1311 : typedef struct swig_constant_info {
1312 : int type;
1313 : const char *name;
1314 : long lvalue;
1315 : double dvalue;
1316 : void *pvalue;
1317 : swig_type_info **ptype;
1318 : } swig_constant_info;
1319 :
1320 :
1321 : /* Structure for variable table */
1322 : typedef struct {
1323 : const char *name;
1324 : SwigMagicFunc set;
1325 : SwigMagicFunc get;
1326 : swig_type_info **type;
1327 : } swig_variable_info;
1328 :
1329 : /* Magic variable code */
1330 : #ifndef PERL_OBJECT
1331 : # ifdef __cplusplus
1332 : # define swig_create_magic(s,a,b,c) _swig_create_magic(s,const_cast<char*>(a),b,c)
1333 : # else
1334 : # define swig_create_magic(s,a,b,c) _swig_create_magic(s,(char*)(a),b,c)
1335 : # endif
1336 : # ifndef MULTIPLICITY
1337 : SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(SV *, MAGIC *), int (*get)(SV *,MAGIC *))
1338 : # else
1339 0 : SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(struct interpreter*, SV *, MAGIC *), int (*get)(struct interpreter*, SV *,MAGIC *))
1340 : # endif
1341 : #else
1342 : # define swig_create_magic(s,a,b,c) _swig_create_magic(pPerl,s,a,b,c)
1343 : SWIGRUNTIME void _swig_create_magic(CPerlObj *pPerl, SV *sv, const char *name, int (CPerlObj::*set)(SV *, MAGIC *), int (CPerlObj::*get)(SV *, MAGIC *))
1344 : #endif
1345 : {
1346 : MAGIC *mg;
1347 0 : sv_magic(sv,sv,'U',name,strlen(name));
1348 0 : mg = mg_find(sv,'U');
1349 0 : mg->mg_virtual = (MGVTBL *) malloc(sizeof(MGVTBL));
1350 0 : mg->mg_virtual->svt_get = (SwigMagicFunc) get;
1351 0 : mg->mg_virtual->svt_set = (SwigMagicFunc) set;
1352 0 : mg->mg_virtual->svt_len = 0;
1353 0 : mg->mg_virtual->svt_clear = 0;
1354 0 : mg->mg_virtual->svt_free = 0;
1355 0 : }
1356 :
1357 :
1358 : SWIGRUNTIME swig_module_info *
1359 1 : SWIG_Perl_GetModule(void *SWIGUNUSEDPARM(clientdata)) {
1360 : static void *type_pointer = (void *)0;
1361 : SV *pointer;
1362 :
1363 : /* first check if pointer already created */
1364 1 : if (!type_pointer) {
1365 1 : pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, FALSE | GV_ADDMULTI);
1366 1 : if (pointer && SvOK(pointer)) {
1367 0 : type_pointer = INT2PTR(swig_type_info **, SvIV(pointer));
1368 : }
1369 : }
1370 :
1371 1 : return (swig_module_info *) type_pointer;
1372 : }
1373 :
1374 : SWIGRUNTIME void
1375 1 : SWIG_Perl_SetModule(swig_module_info *module) {
1376 : SV *pointer;
1377 :
1378 : /* create a new pointer */
1379 1 : pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, TRUE | GV_ADDMULTI);
1380 1 : sv_setiv(pointer, PTR2IV(module));
1381 1 : }
1382 :
1383 : #ifdef __cplusplus
1384 : }
1385 : #endif
1386 :
1387 : /* Workaround perl5 global namespace pollution. Note that undefining library
1388 : * functions like fopen will not solve the problem on all platforms as fopen
1389 : * might be a macro on Windows but not necessarily on other operating systems. */
1390 : #ifdef do_open
1391 : #undef do_open
1392 : #endif
1393 : #ifdef do_close
1394 : #undef do_close
1395 : #endif
1396 : #ifdef do_exec
1397 : #undef do_exec
1398 : #endif
1399 : #ifdef scalar
1400 : #undef scalar
1401 : #endif
1402 : #ifdef list
1403 : #undef list
1404 : #endif
1405 : #ifdef apply
1406 : #undef apply
1407 : #endif
1408 : #ifdef convert
1409 : #undef convert
1410 : #endif
1411 : #ifdef Error
1412 : #undef Error
1413 : #endif
1414 : #ifdef form
1415 : #undef form
1416 : #endif
1417 : #ifdef vform
1418 : #undef vform
1419 : #endif
1420 : #ifdef LABEL
1421 : #undef LABEL
1422 : #endif
1423 : #ifdef METHOD
1424 : #undef METHOD
1425 : #endif
1426 : #ifdef Move
1427 : #undef Move
1428 : #endif
1429 : #ifdef yylex
1430 : #undef yylex
1431 : #endif
1432 : #ifdef yyparse
1433 : #undef yyparse
1434 : #endif
1435 : #ifdef yyerror
1436 : #undef yyerror
1437 : #endif
1438 : #ifdef invert
1439 : #undef invert
1440 : #endif
1441 : #ifdef ref
1442 : #undef ref
1443 : #endif
1444 : #ifdef read
1445 : #undef read
1446 : #endif
1447 : #ifdef write
1448 : #undef write
1449 : #endif
1450 : #ifdef eof
1451 : #undef eof
1452 : #endif
1453 : #ifdef close
1454 : #undef close
1455 : #endif
1456 : #ifdef rewind
1457 : #undef rewind
1458 : #endif
1459 : #ifdef free
1460 : #undef free
1461 : #endif
1462 : #ifdef malloc
1463 : #undef malloc
1464 : #endif
1465 : #ifdef calloc
1466 : #undef calloc
1467 : #endif
1468 : #ifdef Stat
1469 : #undef Stat
1470 : #endif
1471 : #ifdef check
1472 : #undef check
1473 : #endif
1474 : #ifdef seekdir
1475 : #undef seekdir
1476 : #endif
1477 : #ifdef open
1478 : #undef open
1479 : #endif
1480 : #ifdef readdir
1481 : #undef readdir
1482 : #endif
1483 : #ifdef bind
1484 : #undef bind
1485 : #endif
1486 : #ifdef access
1487 : #undef access
1488 : #endif
1489 : #ifdef stat
1490 : #undef stat
1491 : #endif
1492 : #ifdef seed
1493 : #undef seed
1494 : #endif
1495 :
1496 : #ifdef bool
1497 : /* Leave if macro is from C99 stdbool.h */
1498 : #ifndef __bool_true_false_are_defined
1499 : #undef bool
1500 : #endif
1501 : #endif
1502 :
1503 :
1504 :
1505 :
1506 : #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
1507 :
1508 : #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
1509 :
1510 :
1511 :
1512 : #define SWIG_exception(code, msg) do { SWIG_Error(code, msg); SWIG_fail;; } while(0)
1513 :
1514 :
1515 : /* -------- TYPES TABLE (BEGIN) -------- */
1516 :
1517 : #define SWIGTYPE_p_CompositingOperation swig_types[0]
1518 : #define SWIGTYPE_p_DBFFieldType swig_types[1]
1519 : #define SWIGTYPE_p_DBFInfo swig_types[2]
1520 : #define SWIGTYPE_p_FILE swig_types[3]
1521 : #define SWIGTYPE_p__CompositingFilter swig_types[4]
1522 : #define SWIGTYPE_p__LayerCompositer swig_types[5]
1523 : #define SWIGTYPE_p_cgiRequestObj swig_types[6]
1524 : #define SWIGTYPE_p_char swig_types[7]
1525 : #define SWIGTYPE_p_classObj swig_types[8]
1526 : #define SWIGTYPE_p_clusterObj swig_types[9]
1527 : #define SWIGTYPE_p_colorObj swig_types[10]
1528 : #define SWIGTYPE_p_debugLevel swig_types[11]
1529 : #define SWIGTYPE_p_double swig_types[12]
1530 : #define SWIGTYPE_p_errorObj swig_types[13]
1531 : #define SWIGTYPE_p_expressionObj swig_types[14]
1532 : #define SWIGTYPE_p_fontSetObj swig_types[15]
1533 : #define SWIGTYPE_p_hashTableObj swig_types[16]
1534 : #define SWIGTYPE_p_imageObj swig_types[17]
1535 : #define SWIGTYPE_p_int swig_types[18]
1536 : #define SWIGTYPE_p_int32_t swig_types[19]
1537 : #define SWIGTYPE_p_intarray swig_types[20]
1538 : #define SWIGTYPE_p_labelCacheMemberObj swig_types[21]
1539 : #define SWIGTYPE_p_labelCacheObj swig_types[22]
1540 : #define SWIGTYPE_p_labelCacheSlotObj swig_types[23]
1541 : #define SWIGTYPE_p_labelLeaderObj swig_types[24]
1542 : #define SWIGTYPE_p_labelObj swig_types[25]
1543 : #define SWIGTYPE_p_layerObj swig_types[26]
1544 : #define SWIGTYPE_p_legendObj swig_types[27]
1545 : #define SWIGTYPE_p_lineObj swig_types[28]
1546 : #define SWIGTYPE_p_mapObj swig_types[29]
1547 : #define SWIGTYPE_p_markerCacheMemberObj swig_types[30]
1548 : #define SWIGTYPE_p_outputFormatObj swig_types[31]
1549 : #define SWIGTYPE_p_p_char swig_types[32]
1550 : #define SWIGTYPE_p_p_labelCacheMemberObj swig_types[33]
1551 : #define SWIGTYPE_p_p_textSymbolObj swig_types[34]
1552 : #define SWIGTYPE_p_pointObj swig_types[35]
1553 : #define SWIGTYPE_p_projectionObj swig_types[36]
1554 : #define SWIGTYPE_p_queryMapObj swig_types[37]
1555 : #define SWIGTYPE_p_rectObj swig_types[38]
1556 : #define SWIGTYPE_p_referenceMapObj swig_types[39]
1557 : #define SWIGTYPE_p_resultCacheObj swig_types[40]
1558 : #define SWIGTYPE_p_resultObj swig_types[41]
1559 : #define SWIGTYPE_p_scaleTokenEntryObj swig_types[42]
1560 : #define SWIGTYPE_p_scaleTokenObj swig_types[43]
1561 : #define SWIGTYPE_p_scalebarObj swig_types[44]
1562 : #define SWIGTYPE_p_shapeObj swig_types[45]
1563 : #define SWIGTYPE_p_shapefileObj swig_types[46]
1564 : #define SWIGTYPE_p_styleObj swig_types[47]
1565 : #define SWIGTYPE_p_symbolObj swig_types[48]
1566 : #define SWIGTYPE_p_symbolSetObj swig_types[49]
1567 : #define SWIGTYPE_p_uint32_t swig_types[50]
1568 : #define SWIGTYPE_p_webObj swig_types[51]
1569 : static swig_type_info *swig_types[53];
1570 : static swig_module_info swig_module = {swig_types, 52, 0, 0, 0, 0};
1571 : #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1572 : #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1573 :
1574 : /* -------- TYPES TABLE (END) -------- */
1575 :
1576 : #define SWIG_init boot_mapscript
1577 :
1578 : #define SWIG_name "mapscriptc::boot_mapscript"
1579 : #define SWIG_prefix "mapscriptc::"
1580 :
1581 : #define SWIGVERSION 0x030012
1582 : #define SWIG_VERSION SWIGVERSION
1583 :
1584 :
1585 : #define SWIG_as_voidptr(a) (void *)((const void *)(a))
1586 : #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a))
1587 :
1588 :
1589 : #ifdef __cplusplus
1590 : extern "C"
1591 : #endif
1592 : #ifndef PERL_OBJECT
1593 : #ifndef MULTIPLICITY
1594 : SWIGEXPORT void SWIG_init (CV* cv);
1595 : #else
1596 : SWIGEXPORT void SWIG_init (pTHXo_ CV* cv);
1597 : #endif
1598 : #else
1599 : SWIGEXPORT void SWIG_init (CV *cv, CPerlObj *);
1600 : #endif
1601 :
1602 :
1603 : #include "../../mapserver.h"
1604 : #include "../../maptemplate.h"
1605 : #include "../../mapogcsld.h"
1606 : #include "../../mapows.h"
1607 : #include "../../cgiutil.h"
1608 : #include "../../mapcopy.h"
1609 : #include "../../maperror.h"
1610 : #include "../../mapprimitive.h"
1611 : #include "../../mapshape.h"
1612 :
1613 : #if defined(WIN32) && defined(SWIGCSHARP)
1614 : /* <windows.h> is needed for GetExceptionCode() for unhandled exception */
1615 : #include <windows.h>
1616 : #endif
1617 :
1618 :
1619 :
1620 : typedef int intarray;
1621 :
1622 :
1623 : #include <limits.h>
1624 : #if !defined(SWIG_NO_LLONG_MAX)
1625 : # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
1626 : # define LLONG_MAX __LONG_LONG_MAX__
1627 : # define LLONG_MIN (-LLONG_MAX - 1LL)
1628 : # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
1629 : # endif
1630 : #endif
1631 :
1632 :
1633 : #include <stdlib.h>
1634 : #ifdef _MSC_VER
1635 : # ifndef strtoull
1636 : # define strtoull _strtoui64
1637 : # endif
1638 : # ifndef strtoll
1639 : # define strtoll _strtoi64
1640 : # endif
1641 : #endif
1642 :
1643 :
1644 : SWIGINTERN int
1645 0 : SWIG_AsVal_double SWIG_PERL_DECL_ARGS_2(SV *obj, double *val)
1646 : {
1647 0 : if (SvNIOK(obj)) {
1648 0 : if (val) *val = SvNV(obj);
1649 : return SWIG_OK;
1650 0 : } else if (SvIOK(obj)) {
1651 0 : if (val) *val = (double) SvIV(obj);
1652 : return SWIG_AddCast(SWIG_OK);
1653 : } else {
1654 0 : const char *nptr = SvPV_nolen(obj);
1655 0 : if (nptr) {
1656 : char *endptr;
1657 : double v;
1658 0 : errno = 0;
1659 0 : v = strtod(nptr, &endptr);
1660 0 : if (errno == ERANGE) {
1661 0 : errno = 0;
1662 0 : return SWIG_OverflowError;
1663 : } else {
1664 0 : if (*endptr == '\0') {
1665 0 : if (val) *val = v;
1666 : return SWIG_Str2NumCast(SWIG_OK);
1667 : }
1668 : }
1669 : }
1670 : }
1671 : return SWIG_TypeError;
1672 : }
1673 :
1674 :
1675 : #include <float.h>
1676 :
1677 :
1678 : #include <math.h>
1679 :
1680 :
1681 : SWIGINTERNINLINE int
1682 0 : SWIG_CanCastAsInteger(double *d, double min, double max) {
1683 0 : double x = *d;
1684 0 : if ((min <= x && x <= max)) {
1685 0 : double fx = floor(x);
1686 0 : double cx = ceil(x);
1687 0 : double rd = ((x - fx) < 0.5) ? fx : cx; /* simple rint */
1688 0 : if ((errno == EDOM) || (errno == ERANGE)) {
1689 0 : errno = 0;
1690 : } else {
1691 : double summ, reps, diff;
1692 0 : if (rd < x) {
1693 0 : diff = x - rd;
1694 0 : } else if (rd > x) {
1695 0 : diff = rd - x;
1696 : } else {
1697 : return 1;
1698 : }
1699 0 : summ = rd + x;
1700 0 : reps = diff/summ;
1701 0 : if (reps < 8*DBL_EPSILON) {
1702 0 : *d = rd;
1703 0 : return 1;
1704 : }
1705 : }
1706 : }
1707 : return 0;
1708 : }
1709 :
1710 :
1711 : SWIGINTERN int
1712 0 : SWIG_AsVal_unsigned_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long *val)
1713 : {
1714 0 : if (SvUOK(obj)) {
1715 0 : UV v = SvUV(obj);
1716 : if (UVSIZE <= sizeof(*val) || v <= ULONG_MAX) {
1717 0 : if (val) *val = v;
1718 : return SWIG_OK;
1719 : }
1720 : return SWIG_OverflowError;
1721 0 : } else if (SvIOK(obj)) {
1722 0 : IV v = SvIV(obj);
1723 0 : if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULONG_MAX)) {
1724 0 : if (val) *val = v;
1725 : return SWIG_OK;
1726 : }
1727 : return SWIG_OverflowError;
1728 : } else {
1729 : int dispatch = 0;
1730 0 : const char *nptr = SvPV_nolen(obj);
1731 0 : if (nptr) {
1732 : char *endptr;
1733 : unsigned long v;
1734 0 : errno = 0;
1735 0 : v = strtoul(nptr, &endptr,0);
1736 0 : if (errno == ERANGE) {
1737 0 : errno = 0;
1738 0 : return SWIG_OverflowError;
1739 : } else {
1740 0 : if (*endptr == '\0') {
1741 0 : if (val) *val = v;
1742 : return SWIG_Str2NumCast(SWIG_OK);
1743 : }
1744 : }
1745 : }
1746 : if (!dispatch) {
1747 : double d;
1748 0 : int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
1749 0 : if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
1750 0 : if (val) *val = (unsigned long)(d);
1751 0 : return res;
1752 : }
1753 : }
1754 : }
1755 0 : return SWIG_TypeError;
1756 : }
1757 :
1758 :
1759 : #if defined(LLONG_MAX) && !defined(SWIG_LONG_LONG_AVAILABLE)
1760 : # define SWIG_LONG_LONG_AVAILABLE
1761 : #endif
1762 :
1763 :
1764 : #ifdef SWIG_LONG_LONG_AVAILABLE
1765 : SWIGINTERN int
1766 : SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long long *val)
1767 : {
1768 : if (SvUOK(obj)) {
1769 : /* pretty sure this should be conditional on
1770 : * (UVSIZE <= sizeof(*val) || v <= ULLONG_MAX) */
1771 : if (val) *val = SvUV(obj);
1772 : return SWIG_OK;
1773 : } else if (SvIOK(obj)) {
1774 : IV v = SvIV(obj);
1775 : if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULLONG_MAX)) {
1776 : if (val) *val = v;
1777 : return SWIG_OK;
1778 : } else {
1779 : return SWIG_OverflowError;
1780 : }
1781 : } else {
1782 : int dispatch = 0;
1783 : const char *nptr = SvPV_nolen(obj);
1784 : if (nptr) {
1785 : char *endptr;
1786 : unsigned long long v;
1787 : errno = 0;
1788 : v = strtoull(nptr, &endptr,0);
1789 : if (errno == ERANGE) {
1790 : errno = 0;
1791 : return SWIG_OverflowError;
1792 : } else {
1793 : if (*endptr == '\0') {
1794 : if (val) *val = v;
1795 : return SWIG_Str2NumCast(SWIG_OK);
1796 : }
1797 : }
1798 : }
1799 : if (!dispatch) {
1800 : const double mant_max = 1LL << DBL_MANT_DIG;
1801 : double d;
1802 : int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
1803 : if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) {
1804 : if (val) *val = (unsigned long long)(d);
1805 : return res;
1806 : }
1807 : }
1808 : }
1809 : return SWIG_TypeError;
1810 : }
1811 : #endif
1812 :
1813 :
1814 : SWIGINTERNINLINE int
1815 0 : SWIG_AsVal_size_t SWIG_PERL_DECL_ARGS_2(SV * obj, size_t *val)
1816 : {
1817 : int res = SWIG_TypeError;
1818 : #ifdef SWIG_LONG_LONG_AVAILABLE
1819 : if (sizeof(size_t) <= sizeof(unsigned long)) {
1820 : #endif
1821 : unsigned long v;
1822 0 : res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
1823 0 : if (SWIG_IsOK(res) && val) *val = (size_t)(v);
1824 : #ifdef SWIG_LONG_LONG_AVAILABLE
1825 : } else if (sizeof(size_t) <= sizeof(unsigned long long)) {
1826 : unsigned long long v;
1827 : res = SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
1828 : if (SWIG_IsOK(res) && val) *val = (size_t)(v);
1829 : }
1830 : #endif
1831 0 : return res;
1832 : }
1833 :
1834 : SWIGINTERN intarray *new_intarray(size_t nelements){
1835 0 : return (int *)calloc(nelements, sizeof(int));
1836 : }
1837 : SWIGINTERN void delete_intarray(intarray *self){
1838 0 : free((char*)self);
1839 : }
1840 : SWIGINTERN int intarray_getitem(intarray *self,size_t index){
1841 0 : return self[index];
1842 : }
1843 :
1844 : SWIGINTERNINLINE SV *
1845 1 : SWIG_From_long SWIG_PERL_DECL_ARGS_1(long value)
1846 : {
1847 : SV *sv;
1848 : if (IVSIZE >= sizeof(value) || (value >= IV_MIN && value <= IV_MAX))
1849 1 : sv = newSViv(value);
1850 : else
1851 : sv = newSVpvf("%ld", value);
1852 1 : return sv_2mortal(sv);
1853 : }
1854 :
1855 :
1856 : SWIGINTERNINLINE SV *
1857 : SWIG_From_int SWIG_PERL_DECL_ARGS_1(int value)
1858 : {
1859 1 : return SWIG_From_long SWIG_PERL_CALL_ARGS_1(value);
1860 : }
1861 :
1862 :
1863 : SWIGINTERN int
1864 1 : SWIG_AsVal_long SWIG_PERL_DECL_ARGS_2(SV *obj, long* val)
1865 : {
1866 1 : if (SvUOK(obj)) {
1867 0 : UV v = SvUV(obj);
1868 0 : if (UVSIZE < sizeof(*val) || v <= LONG_MAX) {
1869 0 : if (val) *val = v;
1870 : return SWIG_OK;
1871 : }
1872 : return SWIG_OverflowError;
1873 1 : } else if (SvIOK(obj)) {
1874 1 : IV v = SvIV(obj);
1875 : if (IVSIZE <= sizeof(*val) || (v >= LONG_MIN && v <= LONG_MAX)) {
1876 1 : if(val) *val = v;
1877 : return SWIG_OK;
1878 : }
1879 : return SWIG_OverflowError;
1880 : } else {
1881 : int dispatch = 0;
1882 1 : const char *nptr = SvPV_nolen(obj);
1883 1 : if (nptr) {
1884 : char *endptr;
1885 : long v;
1886 1 : errno = 0;
1887 1 : v = strtol(nptr, &endptr,0);
1888 1 : if (errno == ERANGE) {
1889 0 : errno = 0;
1890 1 : return SWIG_OverflowError;
1891 : } else {
1892 1 : if (*endptr == '\0') {
1893 1 : if (val) *val = v;
1894 : return SWIG_Str2NumCast(SWIG_OK);
1895 : }
1896 : }
1897 : }
1898 : if (!dispatch) {
1899 : double d;
1900 0 : int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
1901 0 : if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
1902 0 : if (val) *val = (long)(d);
1903 0 : return res;
1904 : }
1905 : }
1906 : }
1907 0 : return SWIG_TypeError;
1908 : }
1909 :
1910 :
1911 : SWIGINTERN int
1912 1 : SWIG_AsVal_int SWIG_PERL_DECL_ARGS_2(SV * obj, int *val)
1913 : {
1914 : long v;
1915 1 : int res = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v);
1916 1 : if (SWIG_IsOK(res)) {
1917 1 : if ((v < INT_MIN || v > INT_MAX)) {
1918 : return SWIG_OverflowError;
1919 : } else {
1920 1 : if (val) *val = (int)(v);
1921 : }
1922 : }
1923 1 : return res;
1924 : }
1925 :
1926 : SWIGINTERN void intarray_setitem(intarray *self,size_t index,int value){
1927 0 : self[index] = value;
1928 : }
1929 : SWIGINTERN int *intarray_cast(intarray *self){
1930 : return self;
1931 : }
1932 : SWIGINTERN intarray *intarray_frompointer(int *t){
1933 : return (intarray *)(t);
1934 : }
1935 :
1936 : #ifdef __cplusplus
1937 : extern "C" {
1938 : #endif
1939 :
1940 : typedef struct {
1941 : unsigned char *data;
1942 : int size;
1943 : int owns_data;
1944 : } gdBuffer;
1945 :
1946 : #ifdef __cplusplus
1947 : }
1948 : #endif
1949 :
1950 :
1951 : SWIGINTERN swig_type_info*
1952 0 : SWIG_pchar_descriptor(void)
1953 : {
1954 : static int init = 0;
1955 : static swig_type_info* info = 0;
1956 0 : if (!init) {
1957 0 : info = SWIG_TypeQuery("_p_char");
1958 0 : init = 1;
1959 : }
1960 0 : return info;
1961 : }
1962 :
1963 :
1964 : SWIGINTERN int
1965 1 : SWIG_AsCharPtrAndSize(SV *obj, char** cptr, size_t* psize, int *alloc)
1966 : {
1967 1 : if (SvMAGICAL(obj)) {
1968 0 : SV *tmp = sv_newmortal();
1969 0 : SvSetSV(tmp, obj);
1970 : obj = tmp;
1971 : }
1972 1 : if (SvPOK(obj)) {
1973 1 : STRLEN len = 0;
1974 1 : char *cstr = SvPV(obj, len);
1975 1 : size_t size = len + 1;
1976 1 : if (cptr) {
1977 1 : if (alloc) {
1978 1 : if (*alloc == SWIG_NEWOBJ) {
1979 0 : *cptr = (char *)memcpy(malloc((size)*sizeof(char)), cstr, sizeof(char)*(size));
1980 : } else {
1981 1 : *cptr = cstr;
1982 1 : *alloc = SWIG_OLDOBJ;
1983 : }
1984 : }
1985 : }
1986 1 : if (psize) *psize = size;
1987 : return SWIG_OK;
1988 : } else {
1989 0 : swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
1990 0 : if (pchar_descriptor) {
1991 0 : char* vptr = 0;
1992 0 : if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_descriptor, 0) == SWIG_OK) {
1993 0 : if (cptr) *cptr = vptr;
1994 0 : if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
1995 0 : if (alloc) *alloc = SWIG_OLDOBJ;
1996 0 : return SWIG_OK;
1997 : }
1998 : }
1999 : }
2000 : return SWIG_TypeError;
2001 : }
2002 :
2003 :
2004 :
2005 :
2006 :
2007 : SWIGINTERNINLINE SV *
2008 1 : SWIG_FromCharPtrAndSize(const char* carray, size_t size)
2009 : {
2010 1 : SV *obj = sv_newmortal();
2011 1 : if (carray) {
2012 1 : sv_setpvn(obj, carray, size);
2013 : } else {
2014 0 : sv_setsv(obj, &PL_sv_undef);
2015 : }
2016 1 : return obj;
2017 : }
2018 :
2019 :
2020 : SWIGINTERNINLINE SV *
2021 1 : SWIG_FromCharPtr(const char *cptr)
2022 : {
2023 1 : return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
2024 : }
2025 :
2026 :
2027 : SWIGINTERNINLINE SV *
2028 1 : SWIG_From_double SWIG_PERL_DECL_ARGS_1(double value)
2029 : {
2030 1 : return sv_2mortal(newSVnv(value));
2031 : }
2032 :
2033 : SWIGINTERN int clusterObj_updateFromString(clusterObj *self,char *snippet){
2034 0 : return msUpdateClusterFromString(self, snippet);
2035 : }
2036 : SWIGINTERN char *clusterObj_convertToString(clusterObj *self){
2037 0 : return msWriteClusterToString(self);
2038 : }
2039 0 : SWIGINTERN int clusterObj_setGroup(clusterObj *self,char *group){
2040 0 : if (!group || strlen(group) == 0) {
2041 0 : msFreeExpression(&self->group);
2042 0 : return MS_SUCCESS;
2043 : }
2044 0 : else return msLoadExpressionString(&self->group, group);
2045 : }
2046 : SWIGINTERN char *clusterObj_getGroupString(clusterObj *self){
2047 0 : return msGetExpressionString(&(self->group));
2048 : }
2049 0 : SWIGINTERN int clusterObj_setFilter(clusterObj *self,char *filter){
2050 0 : if (!filter || strlen(filter) == 0) {
2051 0 : msFreeExpression(&self->filter);
2052 0 : return MS_SUCCESS;
2053 : }
2054 0 : else return msLoadExpressionString(&self->filter, filter);
2055 : }
2056 : SWIGINTERN char *clusterObj_getFilterString(clusterObj *self){
2057 0 : return msGetExpressionString(&(self->filter));
2058 : }
2059 0 : SWIGINTERN outputFormatObj *new_outputFormatObj(char const *driver,char *name){
2060 : outputFormatObj *format;
2061 :
2062 0 : format = msCreateDefaultOutputFormat(NULL, driver, name);
2063 :
2064 : /* in the case of unsupported formats, msCreateDefaultOutputFormat
2065 : should return NULL */
2066 0 : if (!format)
2067 : {
2068 0 : msSetError(12, "Unsupported format driver: %s",
2069 : "outputFormatObj()", driver);
2070 0 : return NULL;
2071 : }
2072 :
2073 0 : msInitializeRendererVTable(format);
2074 :
2075 0 : MS_REFCNT_INIT(format);
2076 0 : format->inmapfile = 1;
2077 :
2078 0 : return format;
2079 : }
2080 : SWIGINTERN void delete_outputFormatObj(outputFormatObj *self){
2081 0 : msFreeOutputFormat( self );
2082 : }
2083 : SWIGINTERN void outputFormatObj_setExtension(outputFormatObj *self,char const *extension){
2084 0 : msFree( self->extension );
2085 0 : self->extension = msStrdup(extension);
2086 : }
2087 : SWIGINTERN void outputFormatObj_setMimetype(outputFormatObj *self,char const *mimetype){
2088 0 : msFree( self->mimetype );
2089 0 : self->mimetype = msStrdup(mimetype);
2090 : }
2091 : SWIGINTERN void outputFormatObj_setOption(outputFormatObj *self,char const *key,char const *value){
2092 0 : msSetOutputFormatOption( self, key, value );
2093 : }
2094 : SWIGINTERN int outputFormatObj_validate(outputFormatObj *self){
2095 0 : return msOutputFormatValidate( self, 0 );
2096 : }
2097 : SWIGINTERN char *outputFormatObj_getOption(outputFormatObj *self,char const *key,char const *value){
2098 0 : return msStrdup(msGetOutputFormatOption(self, key, value));
2099 : }
2100 0 : SWIGINTERN char *outputFormatObj_getOptionAt(outputFormatObj *self,int i){
2101 0 : if( i >= 0 && i < self->numformatoptions ) {
2102 0 : return msStrdup(self->formatoptions[i]);
2103 : }
2104 : return NULL;
2105 : }
2106 : SWIGINTERN void outputFormatObj_attachDevice(outputFormatObj *self,void *device){
2107 0 : self->device = device;
2108 : }
2109 : SWIGINTERN int queryMapObj_updateFromString(queryMapObj *self,char *snippet){
2110 0 : return msUpdateQueryMapFromString(self, snippet, 0);
2111 : }
2112 : SWIGINTERN char *queryMapObj_convertToString(queryMapObj *self){
2113 0 : return msWriteQueryMapToString(self);
2114 : }
2115 : SWIGINTERN webObj *new_webObj(void){
2116 : webObj *web;
2117 0 : web = (webObj *) malloc(sizeof(webObj));
2118 0 : initWeb(web);
2119 : return web;
2120 : }
2121 0 : SWIGINTERN void delete_webObj(webObj *self){
2122 0 : if (!self) return;
2123 0 : freeWeb(self);
2124 0 : free(self);
2125 : }
2126 : SWIGINTERN int webObj_updateFromString(webObj *self,char *snippet){
2127 0 : return msUpdateWebFromString(self, snippet, 0);
2128 : }
2129 : SWIGINTERN char *webObj_convertToString(webObj *self){
2130 0 : return msWriteWebToString(self);
2131 : }
2132 0 : SWIGINTERN struct styleObj *new_styleObj(classObj *parent_class){
2133 :
2134 : styleObj *style = NULL;
2135 :
2136 0 : if (parent_class!=NULL) {
2137 0 : if ((style = msGrowClassStyles(parent_class)) == NULL)
2138 : return NULL;
2139 :
2140 0 : if ( initStyle(style) == MS_FAILURE ) {
2141 0 : msSetError(12, "Failed to init new styleObj instance",
2142 : "initStyle()");
2143 : }
2144 0 : parent_class->numstyles++;
2145 0 : MS_REFCNT_INCR(style);
2146 : }
2147 : else {
2148 0 : style = (styleObj *) malloc(sizeof(styleObj));
2149 0 : if (!style) {
2150 0 : msSetError(2, "Failed to allocate memory for new styleObj instance",
2151 : "styleObj()");
2152 0 : return NULL;
2153 : }
2154 0 : if ( initStyle(style) == MS_FAILURE ) {
2155 0 : msSetError(12, "Failed to init new styleObj instance",
2156 : "initStyle()");
2157 0 : msFree(style);
2158 0 : return NULL;
2159 : }
2160 : }
2161 0 : return style;
2162 : }
2163 0 : SWIGINTERN void delete_styleObj(struct styleObj *self){
2164 0 : if (self) {
2165 0 : if ( freeStyle(self) == MS_SUCCESS ) {
2166 0 : free(self);
2167 : self=NULL;
2168 : }
2169 : }
2170 0 : }
2171 : SWIGINTERN int styleObj_updateFromString(struct styleObj *self,char *snippet){
2172 0 : return msUpdateStyleFromString(self, snippet, 0);
2173 : }
2174 : SWIGINTERN char *styleObj_convertToString(struct styleObj *self){
2175 0 : return msWriteStyleToString(self);
2176 : }
2177 0 : SWIGINTERN styleObj *styleObj_clone(struct styleObj *self){
2178 : styleObj *style;
2179 :
2180 0 : style = (styleObj *) malloc(sizeof(styleObj));
2181 0 : if (!style)
2182 : {
2183 0 : msSetError(2,
2184 : "Could not allocate memory for new styleObj instance",
2185 : "clone()");
2186 0 : return NULL;
2187 : }
2188 0 : if (initStyle(style) == -1)
2189 : {
2190 0 : msSetError(2, "Failed to initialize Style",
2191 : "clone()");
2192 0 : return NULL;
2193 : }
2194 :
2195 0 : if (msCopyStyle(style, self) != MS_SUCCESS)
2196 : {
2197 0 : free(style);
2198 0 : return NULL;
2199 : }
2200 :
2201 : return style;
2202 : }
2203 0 : SWIGINTERN int styleObj_setSymbolByName(struct styleObj *self,mapObj *map,char *symbolname){
2204 0 : self->symbol = msGetSymbolIndex(&map->symbolset, symbolname, 1);
2205 0 : if (self->symbolname) free((char*)self->symbolname);
2206 0 : if (symbolname) self->symbolname = msStrdup(symbolname);
2207 0 : else self->symbolname = 0;
2208 0 : return self->symbol;
2209 : }
2210 0 : SWIGINTERN int styleObj_removeBinding(struct styleObj *self,int binding){
2211 0 : if(binding < 0 || binding >= 12) return MS_FAILURE;
2212 :
2213 0 : if(self->bindings[binding].item) {
2214 0 : free(self->bindings[binding].item);
2215 0 : self->bindings[binding].item = NULL;
2216 0 : self->bindings[binding].index = -1;
2217 0 : self->numbindings--;
2218 : }
2219 :
2220 : return MS_SUCCESS;
2221 : }
2222 0 : SWIGINTERN int styleObj_setBinding(struct styleObj *self,int binding,char *item){
2223 0 : if(!item) return MS_FAILURE;
2224 0 : if(binding < 0 || binding >= 12) return MS_FAILURE;
2225 :
2226 0 : if(self->bindings[binding].item) {
2227 0 : free(self->bindings[binding].item);
2228 0 : self->bindings[binding].item = NULL;
2229 0 : self->bindings[binding].index = -1;
2230 0 : self->numbindings--;
2231 : }
2232 :
2233 0 : self->bindings[binding].item = msStrdup(item);
2234 0 : self->numbindings++;
2235 :
2236 0 : return MS_SUCCESS;
2237 : }
2238 : SWIGINTERN char *styleObj_getBinding(struct styleObj *self,int binding){
2239 0 : if(binding < 0 || binding >= 12) return NULL;
2240 :
2241 0 : return self->bindings[binding].item;
2242 : }
2243 : SWIGINTERN char *styleObj_getGeomTransform(struct styleObj *self){
2244 : return self->_geomtransform.string;
2245 : }
2246 : SWIGINTERN void styleObj_setGeomTransform(struct styleObj *self,char *transform){
2247 0 : msStyleSetGeomTransform(self, transform);
2248 : }
2249 :
2250 : SWIGINTERN int
2251 0 : SWIG_AsCharArray(SV * obj, char *val, size_t size)
2252 : {
2253 0 : char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
2254 0 : int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
2255 0 : if (SWIG_IsOK(res)) {
2256 : /* special case of single char conversion when we don't need space for NUL */
2257 0 : if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
2258 0 : if (csize <= size) {
2259 0 : if (val) {
2260 0 : if (csize) memcpy(val, cptr, csize*sizeof(char));
2261 0 : if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
2262 : }
2263 0 : if (alloc == SWIG_NEWOBJ) {
2264 0 : free((char*)cptr);
2265 0 : res = SWIG_DelNewMask(res);
2266 : }
2267 0 : return res;
2268 : }
2269 0 : if (alloc == SWIG_NEWOBJ) free((char*)cptr);
2270 : }
2271 : return SWIG_TypeError;
2272 : }
2273 :
2274 :
2275 : SWIGINTERN int
2276 0 : SWIG_AsVal_char SWIG_PERL_DECL_ARGS_2(SV * obj, char *val)
2277 : {
2278 0 : int res = SWIG_AsCharArray(obj, val, 1);
2279 0 : if (!SWIG_IsOK(res)) {
2280 : long v;
2281 0 : res = SWIG_AddCast(SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v));
2282 0 : if (SWIG_IsOK(res)) {
2283 0 : if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
2284 0 : if (val) *val = (char)(v);
2285 : } else {
2286 : res = SWIG_OverflowError;
2287 : }
2288 : }
2289 : }
2290 0 : return res;
2291 : }
2292 :
2293 :
2294 : SWIGINTERNINLINE SV *
2295 : SWIG_From_char SWIG_PERL_DECL_ARGS_1(char c)
2296 : {
2297 0 : return SWIG_FromCharPtrAndSize(&c,1);
2298 : }
2299 :
2300 0 : SWIGINTERN struct labelObj *new_labelObj(void){
2301 : labelObj *label;
2302 :
2303 0 : label = (labelObj *)calloc(1, sizeof(labelObj));
2304 0 : if (!label)
2305 : return(NULL);
2306 :
2307 0 : initLabel(label);
2308 :
2309 0 : return(label);
2310 : }
2311 : SWIGINTERN void delete_labelObj(struct labelObj *self){
2312 0 : freeLabel(self);
2313 : }
2314 : SWIGINTERN int labelObj_updateFromString(struct labelObj *self,char *snippet){
2315 0 : return msUpdateLabelFromString(self, snippet,0);
2316 : }
2317 : SWIGINTERN char *labelObj_convertToString(struct labelObj *self){
2318 0 : return msWriteLabelToString(self);
2319 : }
2320 0 : SWIGINTERN int labelObj_removeBinding(struct labelObj *self,int binding){
2321 0 : if(binding < 0 || binding >= 9) return MS_FAILURE;
2322 :
2323 0 : if(self->bindings[binding].item) {
2324 0 : free(self->bindings[binding].item);
2325 0 : self->bindings[binding].item = NULL;
2326 0 : self->bindings[binding].index = -1;
2327 0 : self->numbindings--;
2328 : }
2329 :
2330 : return MS_SUCCESS;
2331 : }
2332 : SWIGINTERN char *labelObj_getBinding(struct labelObj *self,int binding){
2333 0 : if(binding < 0 || binding >= 9) return NULL;
2334 :
2335 0 : return self->bindings[binding].item;
2336 : }
2337 0 : SWIGINTERN int labelObj_setBinding(struct labelObj *self,int binding,char *item){
2338 0 : if(!item) return MS_FAILURE;
2339 0 : if(binding < 0 || binding >= 9) return MS_FAILURE;
2340 :
2341 0 : if(self->bindings[binding].item) {
2342 0 : free(self->bindings[binding].item);
2343 0 : self->bindings[binding].item = NULL;
2344 0 : self->bindings[binding].index = -1;
2345 0 : self->numbindings--;
2346 : }
2347 :
2348 0 : self->bindings[binding].item = msStrdup(item);
2349 0 : self->numbindings++;
2350 :
2351 0 : return MS_SUCCESS;
2352 : }
2353 0 : SWIGINTERN int labelObj_setExpression(struct labelObj *self,char *expression){
2354 0 : if (!expression || strlen(expression) == 0) {
2355 0 : msFreeExpression(&self->expression);
2356 0 : return MS_SUCCESS;
2357 : }
2358 0 : else return msLoadExpressionString(&self->expression, expression);
2359 : }
2360 : SWIGINTERN char *labelObj_getExpressionString(struct labelObj *self){
2361 0 : return msGetExpressionString(&(self->expression));
2362 : }
2363 0 : SWIGINTERN int labelObj_setText(struct labelObj *self,char *text){
2364 0 : if (!text || strlen(text) == 0) {
2365 0 : msFreeExpression(&self->text);
2366 0 : return MS_SUCCESS;
2367 : }
2368 0 : else return msLoadExpressionString(&self->text, text);
2369 : }
2370 : SWIGINTERN char *labelObj_getTextString(struct labelObj *self){
2371 0 : return msGetExpressionString(&(self->text));
2372 : }
2373 0 : SWIGINTERN styleObj *labelObj_getStyle(struct labelObj *self,int i){
2374 0 : if (i >= 0 && i < self->numstyles) {
2375 0 : MS_REFCNT_INCR(self->styles[i]);
2376 0 : return self->styles[i];
2377 : } else {
2378 0 : msSetError(31, "Invalid index: %d", "getStyle()", i);
2379 : return NULL;
2380 : }
2381 : }
2382 : SWIGINTERN int labelObj_insertStyle(struct labelObj *self,styleObj *style,int index){
2383 0 : return msInsertLabelStyle(self, style, index);
2384 : }
2385 0 : SWIGINTERN styleObj *labelObj_removeStyle(struct labelObj *self,int index){
2386 0 : styleObj* style = (styleObj *) msRemoveLabelStyle(self, index);
2387 0 : if (style)
2388 0 : MS_REFCNT_INCR(style);
2389 0 : return style;
2390 : }
2391 : SWIGINTERN int labelObj_moveStyleUp(struct labelObj *self,int index){
2392 0 : return msMoveLabelStyleUp(self, index);
2393 : }
2394 : SWIGINTERN int labelObj_moveStyleDown(struct labelObj *self,int index){
2395 0 : return msMoveLabelStyleDown(self, index);
2396 : }
2397 1 : SWIGINTERN struct classObj *new_classObj(layerObj *layer){
2398 : classObj *new_class=NULL;
2399 :
2400 1 : if (!layer)
2401 : {
2402 1 : new_class = (classObj *) malloc(sizeof(classObj));
2403 1 : if (!new_class)
2404 : {
2405 0 : msSetError(2,
2406 : "Could not allocate memory for new classObj instance",
2407 : "classObj()");
2408 0 : return NULL;
2409 : }
2410 1 : if (initClass(new_class) == -1) return NULL;
2411 1 : new_class->layer = NULL;
2412 1 : return new_class;
2413 : }
2414 : else
2415 : {
2416 1 : if(msGrowLayerClasses(layer) == NULL)
2417 : return NULL;
2418 1 : if (initClass(layer->class[layer->numclasses]) == -1)
2419 : return NULL;
2420 1 : layer->class[layer->numclasses]->layer = layer;
2421 1 : MS_REFCNT_INCR(layer->class[layer->numclasses]);
2422 1 : layer->numclasses++;
2423 1 : return (layer->class[layer->numclasses-1]);
2424 : }
2425 :
2426 : return NULL;
2427 : }
2428 1 : SWIGINTERN void delete_classObj(struct classObj *self){
2429 1 : if (self)
2430 : {
2431 1 : if (freeClass(self)==MS_SUCCESS) {
2432 0 : free(self);
2433 : self=NULL;
2434 : }
2435 : }
2436 1 : }
2437 : SWIGINTERN int classObj_updateFromString(struct classObj *self,char *snippet){
2438 0 : return msUpdateClassFromString(self, snippet, 0);
2439 : }
2440 : SWIGINTERN char *classObj_convertToString(struct classObj *self){
2441 0 : return msWriteClassToString(self);
2442 : }
2443 0 : SWIGINTERN classObj *classObj_clone(struct classObj *self){
2444 : classObj *new_class;
2445 :
2446 0 : new_class = (classObj *) malloc(sizeof(classObj));
2447 0 : if (!new_class)
2448 : {
2449 0 : msSetError(2,
2450 : "Could not allocate memory for new classObj instance",
2451 : "clone()");
2452 0 : return NULL;
2453 : }
2454 0 : if (initClass(new_class) == -1)
2455 : {
2456 0 : msSetError(2, "Failed to initialize Class",
2457 : "clone()");
2458 0 : return NULL;
2459 : }
2460 0 : new_class->layer = NULL;
2461 :
2462 0 : if (msCopyClass(new_class, self, self->layer) != MS_SUCCESS) {
2463 0 : freeClass(new_class);
2464 0 : free(new_class);
2465 : new_class = NULL;
2466 : }
2467 :
2468 0 : return new_class;
2469 : }
2470 0 : SWIGINTERN int classObj_setExpression(struct classObj *self,char *expression){
2471 0 : if (!expression || strlen(expression) == 0) {
2472 0 : msFreeExpression(&self->expression);
2473 0 : return MS_SUCCESS;
2474 : }
2475 0 : else return msLoadExpressionString(&self->expression, expression);
2476 : }
2477 : SWIGINTERN char *classObj_getExpressionString(struct classObj *self){
2478 0 : return msGetExpressionString(&(self->expression));
2479 : }
2480 0 : SWIGINTERN int classObj_setText(struct classObj *self,char *text){
2481 0 : if (!text || strlen(text) == 0) {
2482 0 : msFreeExpression(&self->text);
2483 0 : return MS_SUCCESS;
2484 : }
2485 0 : else return msLoadExpressionString(&self->text, text);
2486 : }
2487 : SWIGINTERN char *classObj_getTextString(struct classObj *self){
2488 0 : return msGetExpressionString(&(self->text));
2489 : }
2490 0 : SWIGINTERN char *classObj_getMetaData(struct classObj *self,char *name){
2491 : char *value = NULL;
2492 0 : if (!name) {
2493 0 : msSetError(16, "NULL key", "getMetaData");
2494 : }
2495 :
2496 0 : value = (char *) msLookupHashTable(&(self->metadata), name);
2497 0 : if (!value) {
2498 0 : msSetError(16, "Key %s does not exist", "getMetaData", name);
2499 0 : return NULL;
2500 : }
2501 : return value;
2502 : }
2503 : SWIGINTERN int classObj_setMetaData(struct classObj *self,char *name,char *value){
2504 0 : if (msInsertHashTable(&(self->metadata), name, value) == NULL)
2505 : return MS_FAILURE;
2506 : return MS_SUCCESS;
2507 : }
2508 : SWIGINTERN char *classObj_getFirstMetaDataKey(struct classObj *self){
2509 0 : return (char *) msFirstKeyFromHashTable(&(self->metadata));
2510 : }
2511 : SWIGINTERN char *classObj_getNextMetaDataKey(struct classObj *self,char *lastkey){
2512 0 : return (char *) msNextKeyFromHashTable(&(self->metadata), lastkey);
2513 : }
2514 0 : SWIGINTERN int classObj_drawLegendIcon(struct classObj *self,mapObj *map,layerObj *layer,int width,int height,imageObj *dstImage,int dstX,int dstY){
2515 0 : if(layer->sizeunits != MS_PIXELS) {
2516 0 : map->cellsize = msAdjustExtent(&(map->extent), map->width, map->height);
2517 0 : layer->scalefactor = (msInchesPerUnit(layer->sizeunits,0)/msInchesPerUnit(map->units,0)) / map->cellsize;
2518 : }
2519 : else
2520 0 : layer->scalefactor = map->resolution/map->defresolution;
2521 :
2522 0 : return msDrawLegendIcon(map, layer, self, width, height, dstImage, dstX, dstY, 1, NULL);
2523 : }
2524 : SWIGINTERN imageObj *classObj_createLegendIcon(struct classObj *self,mapObj *map,layerObj *layer,int width,int height){
2525 0 : return msCreateLegendIcon(map, layer, self, width, height, 1);
2526 : }
2527 0 : SWIGINTERN labelObj *classObj_getLabel(struct classObj *self,int i){
2528 0 : if (i >= 0 && i < self->numlabels) {
2529 0 : MS_REFCNT_INCR(self->labels[i]);
2530 0 : return self->labels[i];
2531 : } else {
2532 0 : msSetError(31, "Invalid index: %d.", "getLabel()", i);
2533 : return NULL;
2534 : }
2535 : }
2536 : SWIGINTERN int classObj_addLabel(struct classObj *self,labelObj *label){
2537 0 : return msAddLabelToClass(self, label);
2538 : }
2539 0 : SWIGINTERN labelObj *classObj_removeLabel(struct classObj *self,int index){
2540 0 : labelObj* label = (labelObj *) msRemoveLabelFromClass(self, index);
2541 0 : if (label) MS_REFCNT_INCR(label);
2542 0 : return label;
2543 : }
2544 0 : SWIGINTERN styleObj *classObj_getStyle(struct classObj *self,int i){
2545 0 : if (i >= 0 && i < self->numstyles) {
2546 0 : MS_REFCNT_INCR(self->styles[i]);
2547 0 : return self->styles[i];
2548 : } else {
2549 0 : msSetError(31, "Invalid index: %d", "getStyle()", i);
2550 : return NULL;
2551 : }
2552 : }
2553 : SWIGINTERN int classObj_insertStyle(struct classObj *self,styleObj *style,int index){
2554 0 : return msInsertStyle(self, style, index);
2555 : }
2556 0 : SWIGINTERN styleObj *classObj_removeStyle(struct classObj *self,int index){
2557 0 : styleObj* style = (styleObj *) msRemoveStyle(self, index);
2558 0 : if (style) MS_REFCNT_INCR(style);
2559 0 : return style;
2560 : }
2561 : SWIGINTERN int classObj_moveStyleUp(struct classObj *self,int index){
2562 0 : return msMoveStyleUp(self, index);
2563 : }
2564 : SWIGINTERN int classObj_moveStyleDown(struct classObj *self,int index){
2565 0 : return msMoveStyleDown(self, index);
2566 : }
2567 : SWIGINTERN void labelCacheObj_freeCache(labelCacheObj *self){
2568 0 : msFreeLabelCache(self);
2569 : }
2570 : SWIGINTERN resultObj *new_resultObj(long shapeindex){
2571 0 : resultObj *result = (resultObj *) msSmallMalloc(sizeof(resultObj));
2572 :
2573 0 : result->tileindex = -1;
2574 0 : result->resultindex = -1;
2575 0 : result->shapeindex = shapeindex;
2576 :
2577 : return result;
2578 : }
2579 : SWIGINTERN void delete_resultObj(resultObj *self){
2580 0 : free(self);
2581 : }
2582 : SWIGINTERN resultObj *resultCacheObj_getResult(resultCacheObj *self,int i){
2583 0 : if (i >= 0 && i < self->numresults) {
2584 0 : return &self->results[i];
2585 : }
2586 : return NULL;
2587 : }
2588 0 : SWIGINTERN symbolSetObj *new_symbolSetObj(char const *symbolfile){
2589 : symbolSetObj *symbolset;
2590 : mapObj *temp_map=NULL;
2591 0 : symbolset = (symbolSetObj *) malloc(sizeof(symbolSetObj));
2592 0 : msInitSymbolSet(symbolset);
2593 0 : if (symbolfile) {
2594 0 : symbolset->filename = msStrdup(symbolfile);
2595 0 : temp_map = msNewMapObj();
2596 0 : msLoadSymbolSet(symbolset, temp_map);
2597 0 : symbolset->map = NULL;
2598 0 : msFreeMap(temp_map);
2599 : }
2600 0 : return symbolset;
2601 : }
2602 0 : SWIGINTERN void delete_symbolSetObj(symbolSetObj *self){
2603 0 : msFreeSymbolSet(self);
2604 0 : if (self->filename) free(self->filename);
2605 0 : free(self);
2606 0 : }
2607 0 : SWIGINTERN symbolObj *symbolSetObj_getSymbol(symbolSetObj *self,int i){
2608 0 : if (i >= 0 && i < self->numsymbols) {
2609 0 : symbolObj *s=self->symbol[i];
2610 0 : MS_REFCNT_INCR(s);
2611 : return s;
2612 : } else
2613 : return NULL;
2614 : }
2615 0 : SWIGINTERN symbolObj *symbolSetObj_getSymbolByName(symbolSetObj *self,char *symbolname){
2616 : int i;
2617 :
2618 0 : if (!symbolname) return NULL;
2619 :
2620 0 : i = msGetSymbolIndex(self, symbolname, 1);
2621 0 : if (i == -1)
2622 : return NULL;
2623 : else {
2624 0 : MS_REFCNT_INCR(self->symbol[i]);
2625 0 : return self->symbol[i];
2626 : }
2627 : }
2628 : SWIGINTERN int symbolSetObj_index(symbolSetObj *self,char *symbolname){
2629 0 : return msGetSymbolIndex(self, symbolname, 1);
2630 : }
2631 : SWIGINTERN int symbolSetObj_appendSymbol(symbolSetObj *self,symbolObj *symbol){
2632 0 : return msAppendSymbol(self, symbol);
2633 : }
2634 0 : SWIGINTERN symbolObj *symbolSetObj_removeSymbol(symbolSetObj *self,int index){
2635 0 : symbolObj *s=msRemoveSymbol(self, index);
2636 0 : if (s!=NULL) {
2637 0 : MS_REFCNT_INCR(s);
2638 : }
2639 0 : return s;
2640 : }
2641 : SWIGINTERN int symbolSetObj_save(symbolSetObj *self,char const *filename){
2642 0 : return msSaveSymbolSet(self, filename);
2643 : }
2644 : SWIGINTERN int referenceMapObj_updateFromString(referenceMapObj *self,char *snippet){
2645 0 : return msUpdateReferenceMapFromString(self, snippet, 0);
2646 : }
2647 : SWIGINTERN char *referenceMapObj_convertToString(referenceMapObj *self){
2648 0 : return msWriteReferenceMapToString(self);
2649 : }
2650 : SWIGINTERN int scalebarObj_updateFromString(scalebarObj *self,char *snippet){
2651 0 : return msUpdateScalebarFromString(self, snippet, 0);
2652 : }
2653 : SWIGINTERN char *scalebarObj_convertToString(scalebarObj *self){
2654 0 : return msWriteScalebarToString(self);
2655 : }
2656 : SWIGINTERN int legendObj_updateFromString(legendObj *self,char *snippet){
2657 0 : return msUpdateLegendFromString(self, snippet, 0);
2658 : }
2659 : SWIGINTERN char *legendObj_convertToString(legendObj *self){
2660 0 : return msWriteLegendToString(self);
2661 : }
2662 0 : SWIGINTERN struct imageObj *new_imageObj(int width,int height,outputFormatObj *input_format,char const *file,double resolution,double defresolution){
2663 : imageObj *image=NULL;
2664 : outputFormatObj *format;
2665 : rendererVTableObj *renderer = NULL;
2666 : rasterBufferObj *rb = NULL;
2667 :
2668 0 : if (input_format) {
2669 : format = input_format;
2670 : }
2671 : else {
2672 0 : format = msCreateDefaultOutputFormat(NULL, "AGG/PNG", "aggpng");
2673 0 : if (format)
2674 0 : msInitializeRendererVTable(format);
2675 : }
2676 0 : if (format == NULL) {
2677 0 : msSetError(15, "Could not create output format",
2678 : "imageObj()");
2679 0 : return NULL;
2680 : }
2681 :
2682 0 : if (file) {
2683 :
2684 0 : renderer = format->vtable;
2685 0 : rb = (rasterBufferObj*) malloc(sizeof(rasterBufferObj));
2686 0 : if (!rb) {
2687 0 : msSetError(2, NULL, "imageObj()");
2688 0 : return NULL;
2689 : }
2690 0 : if ( (renderer->loadImageFromFile((char *)file, rb)) == MS_FAILURE) {
2691 0 : msFreeRasterBuffer(rb);
2692 0 : free(rb);
2693 0 : return NULL;
2694 : }
2695 0 : image = msImageCreate(rb->width, rb->height, format, NULL, NULL,
2696 : resolution, defresolution, NULL);
2697 0 : if (! image) {
2698 0 : msFreeRasterBuffer(rb);
2699 0 : free(rb);
2700 0 : return NULL;
2701 : }
2702 :
2703 0 : if(renderer->mergeRasterBuffer(image, rb, 1.0, 0, 0, 0, 0, rb->width, rb->height) != MS_SUCCESS) {
2704 0 : msFreeImage(image);
2705 : image = NULL;
2706 : }
2707 :
2708 0 : msFreeRasterBuffer(rb);
2709 0 : free(rb);
2710 :
2711 0 : return image;
2712 : }
2713 :
2714 0 : image = msImageCreate(width, height, format, NULL, NULL, resolution, defresolution, NULL);
2715 0 : return image;
2716 : }
2717 : SWIGINTERN void delete_imageObj(struct imageObj *self){
2718 0 : msFreeImage(self);
2719 : }
2720 : SWIGINTERN void imageObj_save(struct imageObj *self,char *filename,mapObj *map){
2721 0 : msSaveImage(map, self, filename );
2722 : }
2723 0 : SWIGINTERN int imageObj_write(struct imageObj *self,FILE *file){
2724 : int retval=MS_FAILURE;
2725 : rendererVTableObj *renderer = NULL;
2726 :
2727 0 : if (MS_RENDERER_PLUGIN(self->format))
2728 : {
2729 0 : if (file)
2730 : {
2731 0 : renderer = self->format->vtable;
2732 : /* FIXME? as an improvement, pass a map argument instead of the NULL (see #4216) */
2733 0 : retval = renderer->saveImage(self, NULL, file, self->format);
2734 : }
2735 : else
2736 : {
2737 0 : retval = msSaveImage(NULL, self, NULL);
2738 : }
2739 : }
2740 : else
2741 : {
2742 0 : msSetError(15, "Writing of %s format not implemented",
2743 : "imageObj::write",
2744 : self->format->name);
2745 : }
2746 :
2747 0 : return retval;
2748 : }
2749 0 : SWIGINTERN gdBuffer imageObj_getBytes(struct imageObj *self){
2750 : gdBuffer buffer;
2751 :
2752 0 : buffer.owns_data = 1;
2753 :
2754 0 : buffer.data = msSaveImageBuffer(self, &buffer.size, self->format);
2755 :
2756 0 : if( buffer.data == NULL || buffer.size == 0 )
2757 : {
2758 0 : buffer.data = NULL;
2759 0 : msSetError(12, "Failed to get image buffer", "getBytes");
2760 0 : return buffer;
2761 : }
2762 :
2763 0 : return buffer;
2764 : }
2765 0 : SWIGINTERN int imageObj_getSize(struct imageObj *self){
2766 : gdBuffer buffer;
2767 : int size=0;
2768 :
2769 0 : buffer.data = msSaveImageBuffer(self, &buffer.size, self->format);
2770 0 : size = buffer.size;
2771 :
2772 0 : if( buffer.data == NULL || buffer.size == 0 ) {
2773 0 : buffer.data = NULL;
2774 0 : msSetError(12, "Failed to get image buffer size", "getSize");
2775 : }
2776 0 : free(buffer.data);
2777 0 : return size;
2778 : }
2779 1 : SWIGINTERN struct layerObj *new_layerObj(mapObj *map){
2780 : layerObj *layer;
2781 : int result;
2782 :
2783 1 : if (!map) {
2784 1 : layer = (layerObj *) malloc(sizeof(layerObj));
2785 1 : if (!layer) {
2786 0 : msSetError(2, "Failed to initialize Layer",
2787 : "layerObj()");
2788 0 : return NULL;
2789 : }
2790 1 : result = initLayer(layer, NULL);
2791 1 : if (result == MS_SUCCESS) {
2792 1 : layer->index = -1;
2793 1 : return layer;
2794 : }
2795 : else {
2796 0 : msSetError(2, "Failed to initialize Layer",
2797 : "layerObj()");
2798 0 : return NULL;
2799 : }
2800 : }
2801 : else {
2802 1 : if(msGrowMapLayers(map) == NULL)
2803 : return(NULL);
2804 :
2805 1 : if (initLayer((map->layers[map->numlayers]), map) == -1)
2806 : return(NULL);
2807 :
2808 1 : map->layers[map->numlayers]->index = map->numlayers;
2809 1 : map->layerorder[map->numlayers] = map->numlayers;
2810 1 : map->numlayers++;
2811 1 : MS_REFCNT_INCR(map->layers[map->numlayers-1]);
2812 :
2813 1 : return (map->layers[map->numlayers-1]);
2814 : }
2815 : }
2816 : SWIGINTERN void layerObj_setOpacity(struct layerObj *self,int opacity){
2817 0 : msSetLayerOpacity(self, opacity);
2818 : }
2819 : SWIGINTERN int layerObj_getOpacity(struct layerObj *self){
2820 0 : if(self->compositer) return (self->compositer->opacity);
2821 : return (100);
2822 : }
2823 1 : SWIGINTERN void delete_layerObj(struct layerObj *self){
2824 : /*if (!self->map) {*/
2825 1 : if (self) {
2826 1 : if(freeLayer(self)==MS_SUCCESS) {
2827 1 : free(self);
2828 : }
2829 : }
2830 1 : }
2831 0 : SWIGINTERN layerObj *layerObj_clone(struct layerObj *self){
2832 : layerObj *layer;
2833 : int result;
2834 :
2835 0 : layer = (layerObj *) malloc(sizeof(layerObj));
2836 0 : if (!layer) {
2837 0 : msSetError(2, "Failed to initialize Layer",
2838 : "layerObj()");
2839 0 : return NULL;
2840 : }
2841 0 : result = initLayer(layer, NULL);
2842 0 : if (result != MS_SUCCESS) {
2843 0 : msSetError(2, "Failed to initialize Layer",
2844 : "layerObj()");
2845 0 : return NULL;
2846 : }
2847 :
2848 0 : if (msCopyLayer(layer, self) != MS_SUCCESS) {
2849 0 : freeLayer(layer);
2850 0 : free(layer);
2851 : layer = NULL;
2852 : }
2853 0 : layer->map = NULL;
2854 0 : layer->index = -1;
2855 :
2856 0 : return layer;
2857 : }
2858 : SWIGINTERN int layerObj_updateFromString(struct layerObj *self,char *snippet){
2859 0 : return msUpdateLayerFromString(self, snippet, 0);
2860 : }
2861 : SWIGINTERN char *layerObj_convertToString(struct layerObj *self){
2862 0 : return msWriteLayerToString(self);
2863 : }
2864 : SWIGINTERN int layerObj_insertClass(struct layerObj *self,classObj *classobj,int index){
2865 1 : return msInsertClass(self, classobj, index);
2866 : }
2867 0 : SWIGINTERN classObj *layerObj_removeClass(struct layerObj *self,int index){
2868 0 : classObj* c = msRemoveClass(self, index);
2869 0 : if (c != NULL) {
2870 0 : MS_REFCNT_INCR(c);
2871 : }
2872 0 : return c;
2873 : }
2874 0 : SWIGINTERN int layerObj_open(struct layerObj *self){
2875 : int status;
2876 0 : status = msLayerOpen(self);
2877 0 : if (status == MS_SUCCESS) {
2878 0 : return msLayerGetItems(self);
2879 : }
2880 : return status;
2881 : }
2882 0 : SWIGINTERN int layerObj_whichShapes(struct layerObj *self,rectObj rect){
2883 0 : int oldconnectiontype = self->connectiontype;
2884 0 : self->connectiontype = MS_INLINE;
2885 :
2886 0 : if(msLayerWhichItems(self, 1, NULL) != MS_SUCCESS) {
2887 0 : self->connectiontype = oldconnectiontype;
2888 0 : return MS_FAILURE;
2889 : }
2890 0 : self->connectiontype = oldconnectiontype;
2891 :
2892 0 : return msLayerWhichShapes(self, rect, 0);
2893 : }
2894 0 : SWIGINTERN shapeObj *layerObj_nextShape(struct layerObj *self){
2895 : int status;
2896 : shapeObj *shape;
2897 :
2898 0 : shape = (shapeObj *)malloc(sizeof(shapeObj));
2899 0 : if (!shape) return NULL;
2900 0 : msInitShape(shape);
2901 :
2902 0 : status = msLayerNextShape(self, shape);
2903 0 : if(status != MS_SUCCESS) {
2904 0 : msFreeShape(shape);
2905 0 : free(shape);
2906 0 : return NULL;
2907 : } else
2908 : return shape;
2909 : }
2910 : SWIGINTERN void layerObj_close(struct layerObj *self){
2911 0 : msLayerClose(self);
2912 : }
2913 0 : SWIGINTERN shapeObj *layerObj_getShape(struct layerObj *self,resultObj *record){
2914 : int retval;
2915 : shapeObj *shape;
2916 :
2917 0 : if (!record) return NULL;
2918 :
2919 0 : shape = (shapeObj *)malloc(sizeof(shapeObj));
2920 0 : if (!shape) return NULL;
2921 :
2922 0 : msInitShape(shape);
2923 0 : shape->type = self->type; /* is this right? */
2924 :
2925 0 : retval = msLayerGetShape(self, shape, record);
2926 0 : if(retval != MS_SUCCESS) {
2927 0 : msFreeShape(shape);
2928 0 : free(shape);
2929 0 : return NULL;
2930 : } else
2931 : return shape;
2932 : }
2933 : SWIGINTERN int layerObj_getNumResults(struct layerObj *self){
2934 0 : if (!self->resultcache) return 0;
2935 0 : return self->resultcache->numresults;
2936 : }
2937 0 : SWIGINTERN rectObj *layerObj_getResultsBounds(struct layerObj *self){
2938 : rectObj *bounds;
2939 0 : if (!self->resultcache) return NULL;
2940 0 : bounds = (rectObj *) malloc(sizeof(rectObj));
2941 0 : MS_COPYRECT(bounds, &self->resultcache->bounds);
2942 : return bounds;
2943 : }
2944 : SWIGINTERN resultObj *layerObj_getResult(struct layerObj *self,int i){
2945 0 : if (!self->resultcache) return NULL;
2946 0 : if (i >= 0 && i < self->resultcache->numresults)
2947 0 : return &self->resultcache->results[i];
2948 : else
2949 : return NULL;
2950 : }
2951 1 : SWIGINTERN classObj *layerObj_getClass(struct layerObj *self,int i){
2952 : classObj *result=NULL;
2953 1 : if (i >= 0 && i < self->numclasses) {
2954 1 : result=self->class[i];
2955 1 : MS_REFCNT_INCR(result);
2956 : }
2957 1 : return result;
2958 : }
2959 : SWIGINTERN char *layerObj_getItem(struct layerObj *self,int i){
2960 :
2961 0 : if (i >= 0 && i < self->numitems)
2962 0 : return (char *) (self->items[i]);
2963 : else
2964 : return NULL;
2965 : }
2966 : SWIGINTERN int layerObj_setItems(struct layerObj *self,char **items,int numitems){
2967 0 : return msLayerSetItems(self, items, numitems);
2968 : }
2969 : SWIGINTERN int layerObj_draw(struct layerObj *self,mapObj *map,imageObj *image){
2970 0 : return msDrawLayer(map, self, image);
2971 : }
2972 : SWIGINTERN int layerObj_drawQuery(struct layerObj *self,mapObj *map,imageObj *image){
2973 0 : return msDrawQueryLayer(map, self, image);
2974 : }
2975 0 : SWIGINTERN int layerObj_queryByFilter(struct layerObj *self,mapObj *map,char *string){
2976 : int status;
2977 : int retval;
2978 :
2979 0 : msInitQuery(&(map->query));
2980 :
2981 0 : map->query.type = MS_QUERY_BY_FILTER;
2982 0 : map->query.mode = MS_QUERY_MULTIPLE;
2983 :
2984 0 : map->query.filter.string = msStrdup(string);
2985 0 : map->query.filter.type = MS_EXPRESSION;
2986 :
2987 0 : map->query.layer = self->index;
2988 0 : map->query.rect = map->extent;
2989 :
2990 0 : status = self->status;
2991 0 : self->status = 1;
2992 0 : retval = msQueryByFilter(map);
2993 0 : self->status = status;
2994 0 : return retval;
2995 : }
2996 0 : SWIGINTERN int layerObj_queryByAttributes(struct layerObj *self,mapObj *map,char *qitem,char *qstring,int mode){
2997 : int status;
2998 : int retval;
2999 :
3000 0 : msInitQuery(&(map->query));
3001 :
3002 0 : map->query.type = MS_QUERY_BY_FILTER;
3003 0 : map->query.mode = mode;
3004 :
3005 0 : if(qitem) map->query.filteritem = msStrdup(qitem);
3006 0 : if(qstring) {
3007 0 : msInitExpression(&map->query.filter);
3008 0 : msLoadExpressionString(&map->query.filter, qstring);
3009 : }
3010 :
3011 0 : map->query.layer = self->index;
3012 0 : map->query.rect = map->extent;
3013 :
3014 0 : status = self->status;
3015 0 : self->status = 1;
3016 0 : retval = msQueryByFilter(map);
3017 0 : self->status = status;
3018 :
3019 0 : return retval;
3020 : }
3021 0 : SWIGINTERN int layerObj_queryByPoint(struct layerObj *self,mapObj *map,pointObj *point,int mode,double buffer){
3022 : int status;
3023 : int retval;
3024 :
3025 0 : msInitQuery(&(map->query));
3026 :
3027 0 : map->query.type = MS_QUERY_BY_POINT;
3028 0 : map->query.mode = mode;
3029 0 : map->query.point = *point;
3030 0 : map->query.buffer = buffer;
3031 0 : map->query.layer = self->index;
3032 :
3033 0 : status = self->status;
3034 0 : self->status = 1;
3035 0 : retval = msQueryByPoint(map);
3036 0 : self->status = status;
3037 :
3038 0 : return retval;
3039 : }
3040 0 : SWIGINTERN int layerObj_queryByRect(struct layerObj *self,mapObj *map,rectObj rect){
3041 : int status;
3042 : int retval;
3043 :
3044 0 : msInitQuery(&(map->query));
3045 :
3046 0 : map->query.type = MS_QUERY_BY_RECT;
3047 0 : map->query.mode = MS_QUERY_MULTIPLE;
3048 0 : map->query.rect = rect;
3049 0 : map->query.layer = self->index;
3050 :
3051 0 : status = self->status;
3052 0 : self->status = 1;
3053 0 : retval = msQueryByRect(map);
3054 0 : self->status = status;
3055 :
3056 0 : return retval;
3057 : }
3058 : SWIGINTERN int layerObj_queryByFeatures(struct layerObj *self,mapObj *map,int slayer){
3059 : int status;
3060 : int retval;
3061 :
3062 0 : map->query.slayer = slayer;
3063 0 : map->query.layer = self->index;
3064 :
3065 0 : status = self->status;
3066 0 : self->status = 1;
3067 0 : retval = msQueryByFeatures(map);
3068 0 : self->status = status;
3069 : return retval;
3070 : }
3071 0 : SWIGINTERN int layerObj_queryByShape(struct layerObj *self,mapObj *map,shapeObj *shape){
3072 : int status;
3073 : int retval;
3074 :
3075 0 : msInitQuery(&(map->query));
3076 :
3077 0 : map->query.type = MS_QUERY_BY_SHAPE;
3078 0 : map->query.mode = MS_QUERY_MULTIPLE;
3079 0 : map->query.shape = (shapeObj *) malloc(sizeof(shapeObj));
3080 0 : msInitShape(map->query.shape);
3081 0 : msCopyShape(shape, map->query.shape);
3082 0 : map->query.layer = self->index;
3083 :
3084 0 : status = self->status;
3085 0 : self->status = 1;
3086 0 : retval = msQueryByShape(map);
3087 0 : self->status = status;
3088 0 : return retval;
3089 : }
3090 : SWIGINTERN int layerObj_queryByIndex(struct layerObj *self,mapObj *map,int tileindex,int shapeindex,int bAddToQuery){
3091 : int status;
3092 : int retval;
3093 :
3094 0 : msInitQuery(&(map->query));
3095 :
3096 0 : map->query.type = MS_QUERY_BY_INDEX;
3097 0 : map->query.mode = MS_QUERY_SINGLE;
3098 0 : map->query.tileindex = tileindex;
3099 0 : map->query.shapeindex = shapeindex;
3100 0 : map->query.clear_resultcache = !bAddToQuery;
3101 0 : map->query.layer = self->index;
3102 :
3103 0 : status = self->status;
3104 0 : self->status = 1;
3105 0 : retval = msQueryByIndex(map);
3106 0 : self->status = status;
3107 : return retval;
3108 : }
3109 : SWIGINTERN resultCacheObj *layerObj_getResults(struct layerObj *self){
3110 : return self->resultcache;
3111 : }
3112 0 : SWIGINTERN int layerObj_setFilter(struct layerObj *self,char *filter){
3113 0 : if (!filter || strlen(filter) == 0) {
3114 0 : msFreeExpression(&self->filter);
3115 0 : return MS_SUCCESS;
3116 : }
3117 0 : else return msLoadExpressionString(&self->filter, filter);
3118 : }
3119 : SWIGINTERN char *layerObj_getFilterString(struct layerObj *self){
3120 0 : return msGetExpressionString(&(self->filter));
3121 : }
3122 : SWIGINTERN int layerObj_setWKTProjection(struct layerObj *self,char *wkt){
3123 0 : self->project = 1;
3124 0 : return msOGCWKT2ProjectionObj(wkt, &(self->projection), self->debug);
3125 : }
3126 : SWIGINTERN char *layerObj_getProjection(struct layerObj *self){
3127 0 : return (char *) msGetProjectionString(&(self->projection));
3128 : }
3129 : SWIGINTERN int layerObj_setProjection(struct layerObj *self,char *proj4){
3130 0 : self->project = 1;
3131 0 : return msLoadProjectionString(&(self->projection), proj4);
3132 : }
3133 0 : SWIGINTERN int layerObj_addFeature(struct layerObj *self,shapeObj *shape){
3134 0 : self->connectiontype = MS_INLINE;
3135 0 : if(self->features != NULL && self->features->tailifhead != NULL)
3136 0 : shape->index = self->features->tailifhead->shape.index + 1;
3137 : else
3138 0 : shape->index = 0;
3139 0 : if (insertFeatureList(&(self->features), shape) == NULL)
3140 : return MS_FAILURE;
3141 0 : return MS_SUCCESS;
3142 : }
3143 : SWIGINTERN int layerObj_getNumFeatures(struct layerObj *self){
3144 0 : return msLayerGetNumFeatures(self);
3145 : }
3146 : SWIGINTERN rectObj *layerObj_getExtent(struct layerObj *self){
3147 : rectObj *extent;
3148 0 : extent = (rectObj *) malloc(sizeof(rectObj));
3149 0 : msLayerGetExtent(self, extent);
3150 : return extent;
3151 : }
3152 0 : SWIGINTERN int layerObj_setExtent(struct layerObj *self,double minx,double miny,double maxx,double maxy){
3153 0 : if (minx > maxx || miny > maxy) {
3154 0 : msSetError(34,
3155 : "{ 'minx': %f , 'miny': %f , 'maxx': %f , 'maxy': %f }",
3156 : "layerObj::setExtent()", minx, miny, maxx, maxy);
3157 0 : return MS_FAILURE;
3158 : }
3159 :
3160 0 : return msLayerSetExtent(self, minx, miny, maxx, maxy);
3161 : }
3162 0 : SWIGINTERN char *layerObj_getMetaData(struct layerObj *self,char *name){
3163 : char *value = NULL;
3164 0 : if (!name) {
3165 0 : msSetError(16, "NULL key", "getMetaData");
3166 : }
3167 :
3168 0 : value = (char *) msLookupHashTable(&(self->metadata), name);
3169 : /*
3170 : Umberto, 05/17/2006
3171 : Exceptions should be reserved for situations when a serious error occurred
3172 : and normal program flow must be interrupted.
3173 : In this case returning null should be more that enough.
3174 : */
3175 :
3176 0 : if (!value) {
3177 0 : msSetError(16, "Key %s does not exist", "getMetaData", name);
3178 0 : return NULL;
3179 : }
3180 :
3181 : return value;
3182 : }
3183 : SWIGINTERN int layerObj_setMetaData(struct layerObj *self,char *name,char *value){
3184 0 : if (msInsertHashTable(&(self->metadata), name, value) == NULL)
3185 : return MS_FAILURE;
3186 : return MS_SUCCESS;
3187 : }
3188 : SWIGINTERN int layerObj_removeMetaData(struct layerObj *self,char *name){
3189 0 : return(msRemoveHashTable(&(self->metadata), name));
3190 : }
3191 : SWIGINTERN char *layerObj_getFirstMetaDataKey(struct layerObj *self){
3192 0 : return (char *) msFirstKeyFromHashTable(&(self->metadata));
3193 : }
3194 : SWIGINTERN char *layerObj_getNextMetaDataKey(struct layerObj *self,char *lastkey){
3195 0 : return (char *) msNextKeyFromHashTable(&(self->metadata), lastkey);
3196 : }
3197 : SWIGINTERN char *layerObj_getWMSFeatureInfoURL(struct layerObj *self,mapObj *map,int click_x,int click_y,int feature_count,char *info_format){
3198 0 : return (char *) msWMSGetFeatureInfoURL(map, self, click_x, click_y,
3199 : feature_count, info_format);
3200 : }
3201 : SWIGINTERN char *layerObj_executeWFSGetFeature(struct layerObj *self,layerObj *layer){
3202 0 : return (char *) msWFSExecuteGetFeature(layer);
3203 : }
3204 : SWIGINTERN int layerObj_applySLD(struct layerObj *self,char *sld,char *stylelayer){
3205 0 : return msSLDApplySLD(self->map, sld, self->index, stylelayer, NULL);
3206 : }
3207 : SWIGINTERN int layerObj_applySLDURL(struct layerObj *self,char *sld,char *stylelayer){
3208 0 : return msSLDApplySLDURL(self->map, sld, self->index, stylelayer, NULL);
3209 : }
3210 : SWIGINTERN char *layerObj_generateSLD(struct layerObj *self){
3211 0 : return (char *) msSLDGenerateSLD(self->map, self->index, NULL);
3212 : }
3213 0 : SWIGINTERN int layerObj_isVisible(struct layerObj *self){
3214 0 : if (!self->map)
3215 : {
3216 0 : msSetError(12,
3217 : "visibility has no meaning outside of a map context",
3218 : "isVisible()");
3219 0 : return MS_FAILURE;
3220 : }
3221 0 : return msLayerIsVisible(self->map, self);
3222 : }
3223 : SWIGINTERN int layerObj_moveClassUp(struct layerObj *self,int index){
3224 0 : return msMoveClassUp(self, index);
3225 : }
3226 : SWIGINTERN int layerObj_moveClassDown(struct layerObj *self,int index){
3227 0 : return msMoveClassDown(self, index);
3228 : }
3229 : SWIGINTERN void layerObj_setProcessingKey(struct layerObj *self,char const *key,char const *value){
3230 0 : msLayerSetProcessingKey( self, key, value );
3231 : }
3232 : SWIGINTERN void layerObj_setProcessing(struct layerObj *self,char const *directive){
3233 0 : msLayerAddProcessing( self, directive );
3234 : }
3235 : SWIGINTERN void layerObj_addProcessing(struct layerObj *self,char const *directive){
3236 0 : msLayerAddProcessing( self, directive );
3237 : }
3238 : SWIGINTERN char *layerObj_getProcessing(struct layerObj *self,int index){
3239 0 : return (char *) msLayerGetProcessing(self, index);
3240 : }
3241 : SWIGINTERN char *layerObj_getProcessingKey(struct layerObj *self,char const *key){
3242 0 : return (char *) msLayerGetProcessingKey(self, key);
3243 : }
3244 : SWIGINTERN int layerObj_clearProcessing(struct layerObj *self){
3245 0 : return msLayerClearProcessing(self);
3246 : }
3247 0 : SWIGINTERN int layerObj_setConnectionType(struct layerObj *self,int connectiontype,char const *library_str){
3248 : /* Caller is responsible to close previous layer correctly before
3249 : * calling msConnectLayer()
3250 : */
3251 0 : if (msLayerIsOpen(self))
3252 0 : msLayerClose(self);
3253 0 : return msConnectLayer(self, connectiontype, library_str);
3254 : }
3255 : SWIGINTERN int layerObj_getClassIndex(struct layerObj *self,mapObj *map,shapeObj *shape,int *classgroup,int numclasses){
3256 0 : return msShapeGetClass(self, map, shape, classgroup, numclasses);
3257 : }
3258 : SWIGINTERN char *layerObj_getGeomTransform(struct layerObj *self){
3259 : return self->_geomtransform.string;
3260 : }
3261 0 : SWIGINTERN void layerObj_setGeomTransform(struct layerObj *self,char *transform){
3262 0 : msFree(self->_geomtransform.string);
3263 0 : if (!transform || strlen(transform) > 0) {
3264 0 : self->_geomtransform.string = msStrdup(transform);
3265 0 : self->_geomtransform.type = MS_GEOMTRANSFORM_EXPRESSION;
3266 : }
3267 : else {
3268 0 : self->_geomtransform.type = MS_GEOMTRANSFORM_NONE;
3269 0 : self->_geomtransform.string = NULL;
3270 : }
3271 0 : }
3272 0 : SWIGINTERN char *layerObj_getItemType(struct layerObj *self,int i){
3273 :
3274 : char *itemType = NULL;
3275 :
3276 0 : if (i >= 0 && i < self->numitems) {
3277 : gmlItemListObj *item_list;
3278 0 : item_list = msGMLGetItems(self, "G");
3279 0 : if (item_list != NULL) {
3280 0 : gmlItemObj *item = item_list->items + i;
3281 0 : itemType = msStrdup(item->type);
3282 0 : msGMLFreeItems(item_list); // destroy the original list
3283 : }
3284 : }
3285 :
3286 0 : return itemType;
3287 :
3288 : }
3289 1 : SWIGINTERN struct mapObj *new_mapObj(char *filename){
3290 1 : if (filename && strlen(filename))
3291 1 : return msLoadMap(filename, NULL);
3292 : else { /* create an empty map, no layers etc... */
3293 0 : return msNewMapObj();
3294 : }
3295 : }
3296 : SWIGINTERN void delete_mapObj(struct mapObj *self){
3297 1 : msFreeMap(self);
3298 : }
3299 0 : SWIGINTERN mapObj *mapObj_clone(struct mapObj *self){
3300 : mapObj *dstMap;
3301 0 : dstMap = msNewMapObj();
3302 0 : if (msCopyMap(dstMap, self) != MS_SUCCESS) {
3303 0 : msFreeMap(dstMap);
3304 : dstMap = NULL;
3305 : }
3306 0 : return dstMap;
3307 : }
3308 : SWIGINTERN int mapObj_insertLayer(struct mapObj *self,layerObj *layer,int index){
3309 1 : return msInsertLayer(self, layer, index);
3310 : }
3311 : SWIGINTERN layerObj *mapObj_removeLayer(struct mapObj *self,int index){
3312 0 : layerObj *layer=msRemoveLayer(self, index);
3313 0 : MS_REFCNT_INCR(layer);
3314 : return layer;
3315 : }
3316 : SWIGINTERN int mapObj_setExtent(struct mapObj *self,double minx,double miny,double maxx,double maxy){
3317 0 : return msMapSetExtent( self, minx, miny, maxx, maxy );
3318 : }
3319 : SWIGINTERN int mapObj_offsetExtent(struct mapObj *self,double x,double y){
3320 0 : return msMapOffsetExtent( self, x, y );
3321 : }
3322 : SWIGINTERN int mapObj_scaleExtent(struct mapObj *self,double zoomfactor,double minscaledenom,double maxscaledenom){
3323 0 : return msMapScaleExtent( self, zoomfactor, minscaledenom, maxscaledenom );
3324 : }
3325 : SWIGINTERN int mapObj_setCenter(struct mapObj *self,pointObj *center){
3326 0 : return msMapSetCenter( self, center );
3327 : }
3328 : SWIGINTERN int mapObj_setSize(struct mapObj *self,int width,int height){
3329 0 : return msMapSetSize(self, width, height);
3330 : }
3331 : SWIGINTERN int mapObj_setRotation(struct mapObj *self,double rotation_angle){
3332 0 : return msMapSetRotation( self, rotation_angle );
3333 : }
3334 1 : SWIGINTERN layerObj *mapObj_getLayer(struct mapObj *self,int i){
3335 1 : if(i >= 0 && i < self->numlayers) {
3336 1 : MS_REFCNT_INCR(self->layers[i]);
3337 1 : return (self->layers[i]); /* returns an EXISTING layer */
3338 : } else {
3339 : return NULL;
3340 : }
3341 : }
3342 1 : SWIGINTERN layerObj *mapObj_getLayerByName(struct mapObj *self,char *name){
3343 : int i;
3344 :
3345 1 : i = msGetLayerIndex(self, name);
3346 :
3347 1 : if(i != -1) {
3348 1 : MS_REFCNT_INCR(self->layers[i]);
3349 1 : return (self->layers[i]); /* returns an EXISTING layer */
3350 : }
3351 : else
3352 : return NULL;
3353 : }
3354 : SWIGINTERN int mapObj_getSymbolByName(struct mapObj *self,char *name){
3355 0 : return msGetSymbolIndex(&self->symbolset, name, 1);
3356 : }
3357 0 : SWIGINTERN void mapObj_prepareQuery(struct mapObj *self){
3358 : int status;
3359 :
3360 0 : status = msCalculateScale(self->extent, self->units, self->width, self->height, self->resolution, &self->scaledenom);
3361 0 : if(status != MS_SUCCESS) self->scaledenom = -1;
3362 0 : }
3363 : SWIGINTERN imageObj *mapObj_prepareImage(struct mapObj *self){
3364 0 : return msPrepareImage(self, 0);
3365 : }
3366 0 : SWIGINTERN void mapObj_setImageType(struct mapObj *self,char *imagetype){
3367 : outputFormatObj *format;
3368 :
3369 0 : format = msSelectOutputFormat( self, imagetype );
3370 0 : if( format == NULL )
3371 0 : msSetError(12, "Unable to find IMAGETYPE '%s'.",
3372 : "setImageType()", imagetype );
3373 : else
3374 : {
3375 0 : msFree( self->imagetype );
3376 0 : self->imagetype = msStrdup(imagetype);
3377 0 : msApplyOutputFormat( &(self->outputformat), format, -1111,
3378 : -1111, -1111 );
3379 : }
3380 0 : }
3381 0 : SWIGINTERN void mapObj_selectOutputFormat(struct mapObj *self,char *imagetype){
3382 : outputFormatObj *format;
3383 :
3384 0 : format = msSelectOutputFormat( self, imagetype );
3385 0 : if ( format == NULL )
3386 0 : msSetError(12, "Unable to find IMAGETYPE '%s'.",
3387 : "setImageType()", imagetype );
3388 : else
3389 : {
3390 0 : msFree( self->imagetype );
3391 0 : self->imagetype = msStrdup(imagetype);
3392 0 : msApplyOutputFormat( &(self->outputformat), format, -1111,
3393 : -1111, -1111 );
3394 : }
3395 0 : }
3396 0 : SWIGINTERN outputFormatObj *mapObj_getOutputFormat(struct mapObj *self,int i){
3397 0 : if(i >= 0 && i < self->numoutputformats) {
3398 0 : MS_REFCNT_INCR(self->outputformatlist[i]);
3399 0 : return (self->outputformatlist[i]);
3400 : } else {
3401 : return NULL;
3402 : }
3403 : }
3404 : SWIGINTERN void mapObj_setOutputFormat(struct mapObj *self,outputFormatObj *format){
3405 0 : msApplyOutputFormat( &(self->outputformat), format, -1111,
3406 : -1111, -1111 );
3407 : }
3408 : SWIGINTERN imageObj *mapObj_draw(struct mapObj *self){
3409 :
3410 :
3411 :
3412 :
3413 :
3414 :
3415 :
3416 :
3417 0 : return msDrawMap(self, 0);
3418 :
3419 : }
3420 : SWIGINTERN imageObj *mapObj_drawQuery(struct mapObj *self){
3421 0 : return msDrawMap(self, 1);
3422 : }
3423 : SWIGINTERN imageObj *mapObj_drawLegend(struct mapObj *self){
3424 0 : return msDrawLegend(self, 0, NULL);
3425 : }
3426 : SWIGINTERN imageObj *mapObj_drawScalebar(struct mapObj *self){
3427 0 : return msDrawScalebar(self);
3428 : }
3429 : SWIGINTERN imageObj *mapObj_drawReferenceMap(struct mapObj *self){
3430 0 : return msDrawReferenceMap(self);
3431 : }
3432 : SWIGINTERN int mapObj_embedScalebar(struct mapObj *self,imageObj *image){
3433 0 : return msEmbedScalebar(self, image);
3434 : }
3435 : SWIGINTERN int mapObj_embedLegend(struct mapObj *self,imageObj *image){
3436 0 : return msEmbedLegend(self, image);
3437 : }
3438 : SWIGINTERN int mapObj_drawLabelCache(struct mapObj *self,imageObj *image){
3439 0 : return msDrawLabelCache(self,image);
3440 : }
3441 0 : SWIGINTERN int mapObj_queryByFilter(struct mapObj *self,char *string){
3442 0 : msInitQuery(&(self->query));
3443 :
3444 0 : self->query.type = MS_QUERY_BY_FILTER;
3445 0 : self->query.mode = MS_QUERY_MULTIPLE;
3446 :
3447 0 : self->query.filter.string = msStrdup(string);
3448 0 : self->query.filter.type = MS_EXPRESSION;
3449 :
3450 0 : self->query.rect = self->extent;
3451 :
3452 0 : return msQueryByFilter(self);
3453 : }
3454 0 : SWIGINTERN int mapObj_queryByPoint(struct mapObj *self,pointObj *point,int mode,double buffer){
3455 0 : msInitQuery(&(self->query));
3456 :
3457 0 : self->query.type = MS_QUERY_BY_POINT;
3458 0 : self->query.mode = mode;
3459 0 : self->query.point = *point;
3460 0 : self->query.buffer = buffer;
3461 :
3462 0 : return msQueryByPoint(self);
3463 : }
3464 : SWIGINTERN int mapObj_queryByRect(struct mapObj *self,rectObj rect){
3465 0 : msInitQuery(&(self->query));
3466 :
3467 0 : self->query.type = MS_QUERY_BY_RECT;
3468 0 : self->query.mode = MS_QUERY_MULTIPLE;
3469 0 : self->query.rect = rect;
3470 :
3471 0 : return msQueryByRect(self);
3472 : }
3473 : SWIGINTERN int mapObj_queryByFeatures(struct mapObj *self,int slayer){
3474 0 : self->query.slayer = slayer;
3475 0 : return msQueryByFeatures(self);
3476 : }
3477 0 : SWIGINTERN int mapObj_queryByShape(struct mapObj *self,shapeObj *shape){
3478 0 : msInitQuery(&(self->query));
3479 :
3480 0 : self->query.type = MS_QUERY_BY_SHAPE;
3481 0 : self->query.mode = MS_QUERY_MULTIPLE;
3482 0 : self->query.shape = (shapeObj *) malloc(sizeof(shapeObj));
3483 0 : msInitShape(self->query.shape);
3484 0 : msCopyShape(shape, self->query.shape);
3485 :
3486 0 : return msQueryByShape(self);
3487 : }
3488 : SWIGINTERN int mapObj_setWKTProjection(struct mapObj *self,char *wkt){
3489 0 : return msOGCWKT2ProjectionObj(wkt, &(self->projection), self->debug);
3490 : }
3491 : SWIGINTERN char *mapObj_getProjection(struct mapObj *self){
3492 0 : return msGetProjectionString(&(self->projection));
3493 : }
3494 : SWIGINTERN int mapObj_setProjection(struct mapObj *self,char *proj4){
3495 0 : return msLoadProjectionString(&(self->projection), proj4);
3496 : }
3497 : SWIGINTERN int mapObj_save(struct mapObj *self,char *filename){
3498 0 : return msSaveMap(self, filename);
3499 : }
3500 : SWIGINTERN int mapObj_saveQuery(struct mapObj *self,char *filename,int results){
3501 0 : return msSaveQuery(self, filename, results);
3502 : }
3503 : SWIGINTERN int mapObj_loadQuery(struct mapObj *self,char *filename){
3504 0 : return msLoadQuery(self, filename);
3505 : }
3506 : SWIGINTERN void mapObj_freeQuery(struct mapObj *self,int qlayer){
3507 0 : msQueryFree(self, qlayer);
3508 : }
3509 : SWIGINTERN int mapObj_saveQueryAsGML(struct mapObj *self,char *filename,char const *ns){
3510 0 : return msGMLWriteQuery(self, filename, ns);
3511 : }
3512 0 : SWIGINTERN char *mapObj_getMetaData(struct mapObj *self,char *name){
3513 : char *value = NULL;
3514 0 : if (!name) {
3515 0 : msSetError(16, "NULL key", "getMetaData");
3516 : }
3517 :
3518 0 : value = (char *) msLookupHashTable(&(self->web.metadata), name);
3519 0 : if (!value) {
3520 0 : msSetError(16, "Key %s does not exist", "getMetaData", name);
3521 0 : return NULL;
3522 : }
3523 : return value;
3524 : }
3525 : SWIGINTERN int mapObj_setMetaData(struct mapObj *self,char *name,char *value){
3526 0 : if (msInsertHashTable(&(self->web.metadata), name, value) == NULL)
3527 : return MS_FAILURE;
3528 : return MS_SUCCESS;
3529 : }
3530 : SWIGINTERN int mapObj_removeMetaData(struct mapObj *self,char *name){
3531 0 : return(msRemoveHashTable(&(self->web.metadata), name));
3532 : }
3533 : SWIGINTERN char *mapObj_getFirstMetaDataKey(struct mapObj *self){
3534 0 : return (char *) msFirstKeyFromHashTable(&(self->web.metadata));
3535 : }
3536 : SWIGINTERN char *mapObj_getNextMetaDataKey(struct mapObj *self,char *lastkey){
3537 0 : return (char *) msNextKeyFromHashTable(&(self->web.metadata), lastkey);
3538 : }
3539 0 : SWIGINTERN int mapObj_setSymbolSet(struct mapObj *self,char *szFileName){
3540 0 : msFreeSymbolSet(&self->symbolset);
3541 0 : msInitSymbolSet(&self->symbolset);
3542 :
3543 0 : self->symbolset.filename = msStrdup(szFileName);
3544 :
3545 : /* Symbolset shares same fontset as main mapfile */
3546 0 : self->symbolset.fontset = &(self->fontset);
3547 :
3548 0 : return msLoadSymbolSet(&self->symbolset, self);
3549 : }
3550 : SWIGINTERN int mapObj_getNumSymbols(struct mapObj *self){
3551 : return self->symbolset.numsymbols;
3552 : }
3553 0 : SWIGINTERN int mapObj_setFontSet(struct mapObj *self,char *filename){
3554 0 : msFreeFontSet(&(self->fontset));
3555 0 : msInitFontSet(&(self->fontset));
3556 :
3557 0 : self->fontset.filename = msStrdup(filename);
3558 :
3559 0 : return msLoadFontSet(&(self->fontset), self);
3560 : }
3561 : SWIGINTERN int mapObj_saveMapContext(struct mapObj *self,char *szFileName){
3562 0 : return msSaveMapContext(self, szFileName);
3563 : }
3564 : SWIGINTERN int mapObj_loadMapContext(struct mapObj *self,char *szFileName,int useUniqueNames){
3565 0 : return msLoadMapContext(self, szFileName, useUniqueNames);
3566 : }
3567 : SWIGINTERN int mapObj_moveLayerUp(struct mapObj *self,int layerindex){
3568 0 : return msMoveLayerUp(self, layerindex);
3569 : }
3570 : SWIGINTERN int mapObj_moveLayerDown(struct mapObj *self,int layerindex){
3571 0 : return msMoveLayerDown(self, layerindex);
3572 : }
3573 0 : SWIGINTERN intarray *mapObj_getLayersDrawingOrder(struct mapObj *self){
3574 : int i;
3575 : intarray *order;
3576 0 : order = new_intarray(self->numlayers);
3577 0 : for (i=0; i<self->numlayers; i++)
3578 :
3579 :
3580 :
3581 0 : intarray_setitem(order, i, self->layerorder[i]);
3582 :
3583 0 : return order;
3584 : }
3585 : SWIGINTERN int mapObj_setLayersDrawingOrder(struct mapObj *self,int *panIndexes){
3586 0 : return msSetLayersdrawingOrder(self, panIndexes);
3587 : }
3588 : SWIGINTERN void mapObj_setConfigOption(struct mapObj *self,char *key,char *value){
3589 0 : msSetConfigOption(self,key,value);
3590 : }
3591 : SWIGINTERN char *mapObj_getConfigOption(struct mapObj *self,char *key){
3592 0 : return (char *) msGetConfigOption(self,key);
3593 : }
3594 : SWIGINTERN void mapObj_applyConfigOptions(struct mapObj *self){
3595 0 : msApplyMapConfigOptions( self );
3596 : }
3597 : SWIGINTERN int mapObj_applySLD(struct mapObj *self,char *sld){
3598 0 : return msSLDApplySLD(self, sld, -1, NULL, NULL);
3599 : }
3600 : SWIGINTERN int mapObj_applySLDURL(struct mapObj *self,char *sld){
3601 0 : return msSLDApplySLDURL(self, sld, -1, NULL, NULL);
3602 : }
3603 : SWIGINTERN char *mapObj_generateSLD(struct mapObj *self){
3604 0 : return (char *) msSLDGenerateSLD(self, -1, NULL);
3605 : }
3606 : SWIGINTERN char *mapObj_processTemplate(struct mapObj *self,int bGenerateImages,char **names,char **values,int numentries){
3607 0 : return msProcessTemplate(self, bGenerateImages, names, values,
3608 : numentries);
3609 : }
3610 : SWIGINTERN char *mapObj_processLegendTemplate(struct mapObj *self,char **names,char **values,int numentries){
3611 0 : return msProcessLegendTemplate(self, names, values, numentries);
3612 : }
3613 : SWIGINTERN char *mapObj_processQueryTemplate(struct mapObj *self,char **names,char **values,int numentries){
3614 0 : return msProcessQueryTemplate(self, 1, names, values, numentries);
3615 : }
3616 : SWIGINTERN outputFormatObj *mapObj_getOutputFormatByName(struct mapObj *self,char *name){
3617 0 : return msSelectOutputFormat(self, name);
3618 : }
3619 : SWIGINTERN int mapObj_appendOutputFormat(struct mapObj *self,outputFormatObj *format){
3620 0 : return msAppendOutputFormat(self, format);
3621 : }
3622 : SWIGINTERN int mapObj_removeOutputFormat(struct mapObj *self,char *name){
3623 0 : return msRemoveOutputFormat(self, name);
3624 : }
3625 : SWIGINTERN int mapObj_loadOWSParameters(struct mapObj *self,cgiRequestObj *request,char *wmtver_string){
3626 0 : return msMapLoadOWSParameters(self, request, wmtver_string);
3627 : }
3628 : SWIGINTERN int mapObj_OWSDispatch(struct mapObj *self,cgiRequestObj *req){
3629 1 : return msOWSDispatch( self, req, 1 );
3630 : }
3631 : SWIGINTERN char *mapObj_convertToString(struct mapObj *self){
3632 0 : return msWriteMapToString(self);
3633 : }
3634 : SWIGINTERN void mapObj_applyDefaultSubstitutions(struct mapObj *self){
3635 0 : msApplyDefaultSubstitutions(self);
3636 : }
3637 : SWIGINTERN void mapObj_applySubstitutions(struct mapObj *self,char **names,char **values,int npairs){
3638 0 : msApplySubstitutions(self, names, values, npairs);
3639 : }
3640 0 : SWIGINTERN int mapObj_zoomPoint(struct mapObj *self,int zoomfactor,pointObj *poPixPos,int width,int height,rectObj *poGeorefExt,rectObj *poMaxGeorefExt){
3641 : double dfGeoPosX, dfGeoPosY;
3642 : double dfDeltaX, dfDeltaY;
3643 : rectObj oNewGeorefExt;
3644 : double dfNewScale;
3645 : int bMaxExtSet;
3646 : double dfDeltaExt;
3647 : double dX, dY;
3648 :
3649 0 : dfNewScale = 0.0;
3650 : bMaxExtSet = 0;
3651 : dfDeltaExt = -1.0;
3652 :
3653 0 : if (poMaxGeorefExt != NULL) { bMaxExtSet = 1; }
3654 :
3655 : /* ----------------------------------------------------------- */
3656 : /* check the validity of the parameters. */
3657 : /* ----------------------------------------------------------- */
3658 0 : if (zoomfactor == 0 || width <= 0 || height <= 0 || poGeorefExt == NULL || poPixPos == NULL) {
3659 0 : msSetError(12, "Incorrect arguments", "mapscript::mapObj::zoomPoint()");
3660 0 : return MS_FAILURE;
3661 : }
3662 :
3663 : /* ----------------------------------------------------------- */
3664 : /* check if the values passed are consistent min > max. */
3665 : /* ----------------------------------------------------------- */
3666 0 : if (poGeorefExt->minx >= poGeorefExt->maxx) {
3667 0 : msSetError(12, "Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomPoint()");
3668 0 : return MS_FAILURE;
3669 : }
3670 0 : if (poGeorefExt->miny >= poGeorefExt->maxy) {
3671 0 : msSetError(12, "Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomPoint()");
3672 0 : return MS_FAILURE;
3673 : }
3674 :
3675 0 : if (bMaxExtSet == 1) {
3676 0 : if (poMaxGeorefExt->minx >= poMaxGeorefExt->maxx) {
3677 0 : msSetError(12, "Max Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomPoint()");
3678 0 : return MS_FAILURE;
3679 : }
3680 0 : if (poMaxGeorefExt->miny >= poMaxGeorefExt->maxy) {
3681 0 : msSetError(12, "Max Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomPoint()");
3682 : }
3683 : }
3684 :
3685 0 : dfDeltaX = poGeorefExt->maxx - poGeorefExt->minx;
3686 0 : dfDeltaY = poGeorefExt->maxy - poGeorefExt->miny;
3687 0 : dX = dfDeltaX/((double)width);
3688 0 : dY = dfDeltaY/((double)height);
3689 0 : dfGeoPosX = poGeorefExt->minx + dX * (double)poPixPos->x;
3690 0 : dfGeoPosY = poGeorefExt->maxy - dY * (double)poPixPos->y;
3691 :
3692 : /* --- -------------------------------------------------------- */
3693 : /* zoom in */
3694 : /* ------------------------------------------------------------ */
3695 0 : if (zoomfactor > 1) {
3696 0 : oNewGeorefExt.minx = dfGeoPosX - (dfDeltaX/(2*zoomfactor));
3697 0 : oNewGeorefExt.miny = dfGeoPosY - (dfDeltaY/(2*zoomfactor));
3698 0 : oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaX/(2*zoomfactor));
3699 0 : oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaY/(2*zoomfactor));
3700 : }
3701 :
3702 0 : if (zoomfactor < 0) {
3703 0 : oNewGeorefExt.minx = dfGeoPosX - (dfDeltaX/2)*(abs(zoomfactor));
3704 0 : oNewGeorefExt.miny = dfGeoPosY - (dfDeltaY/2)*(abs(zoomfactor));
3705 0 : oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaX/2)*(abs(zoomfactor));
3706 0 : oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaY/2)*(abs(zoomfactor));
3707 : }
3708 :
3709 0 : if (zoomfactor == 1) {
3710 0 : oNewGeorefExt.minx = dfGeoPosX - (dfDeltaX/2);
3711 0 : oNewGeorefExt.miny = dfGeoPosY - (dfDeltaY/2);
3712 0 : oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaX/2);
3713 0 : oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaY/2);
3714 : }
3715 :
3716 : /* ------------------------------------------------------------ */
3717 : /* if the min and max scale are set in the map file, we will */
3718 : /* use them to test before zooming. */
3719 : /* ------------------------------------------------------------ */
3720 0 : msAdjustExtent(&oNewGeorefExt, self->width, self->height);
3721 0 : msCalculateScale(oNewGeorefExt, self->units, self->width, self->height, self->resolution, &dfNewScale);
3722 :
3723 0 : if (self->web.maxscaledenom > 0) {
3724 0 : if (zoomfactor < 0 && dfNewScale > self->web.maxscaledenom) {
3725 : return MS_FAILURE;
3726 : }
3727 : }
3728 :
3729 : /* ============================================================ */
3730 : /* we do a spcial case for zoom in : we try to zoom as much as */
3731 : /* possible using the mincale set in the .map. */
3732 : /* ============================================================ */
3733 0 : if (self->web.minscaledenom > 0 && dfNewScale < self->web.minscaledenom && zoomfactor > 1) {
3734 : /* To be consistent in swig mapscript and PHP mapscript,
3735 : use the same function to calculate the delta extents. */
3736 0 : dfDeltaExt = GetDeltaExtentsUsingScale(self->web.minscaledenom, self->units, dfGeoPosY,
3737 : self->width, self->resolution);
3738 :
3739 0 : if (dfDeltaExt > 0.0) {
3740 0 : oNewGeorefExt.minx = dfGeoPosX - (dfDeltaExt/2);
3741 0 : oNewGeorefExt.miny = dfGeoPosY - (dfDeltaExt/2);
3742 0 : oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaExt/2);
3743 0 : oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaExt/2);
3744 : } else
3745 : return MS_FAILURE;
3746 : }
3747 :
3748 : /* ------------------------------------------------------------ */
3749 : /* If the buffer is set, make sure that the extents do not go */
3750 : /* beyond the buffer. */
3751 : /* ------------------------------------------------------------ */
3752 0 : if (bMaxExtSet) {
3753 0 : dfDeltaX = oNewGeorefExt.maxx - oNewGeorefExt.minx;
3754 0 : dfDeltaY = oNewGeorefExt.maxy - oNewGeorefExt.miny;
3755 :
3756 : /* Make sure Current georef extents is not bigger than
3757 : * max extents */
3758 0 : if (dfDeltaX > (poMaxGeorefExt->maxx-poMaxGeorefExt->minx))
3759 : dfDeltaX = poMaxGeorefExt->maxx-poMaxGeorefExt->minx;
3760 0 : if (dfDeltaY > (poMaxGeorefExt->maxy-poMaxGeorefExt->miny))
3761 : dfDeltaY = poMaxGeorefExt->maxy-poMaxGeorefExt->miny;
3762 :
3763 0 : if (oNewGeorefExt.minx < poMaxGeorefExt->minx) {
3764 0 : oNewGeorefExt.minx = poMaxGeorefExt->minx;
3765 0 : oNewGeorefExt.maxx = oNewGeorefExt.minx + dfDeltaX;
3766 : }
3767 0 : if (oNewGeorefExt.maxx > poMaxGeorefExt->maxx) {
3768 0 : oNewGeorefExt.maxx = poMaxGeorefExt->maxx;
3769 0 : oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
3770 : }
3771 0 : if (oNewGeorefExt.miny < poMaxGeorefExt->miny) {
3772 0 : oNewGeorefExt.miny = poMaxGeorefExt->miny;
3773 0 : oNewGeorefExt.maxy = oNewGeorefExt.miny + dfDeltaY;
3774 : }
3775 0 : if (oNewGeorefExt.maxy > poMaxGeorefExt->maxy) {
3776 0 : oNewGeorefExt.maxy = poMaxGeorefExt->maxy;
3777 0 : oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
3778 : }
3779 : }
3780 :
3781 : /* ------------------------------------------------------------ */
3782 : /* set the map extents with new values. */
3783 : /* ------------------------------------------------------------ */
3784 0 : self->extent.minx = oNewGeorefExt.minx;
3785 0 : self->extent.miny = oNewGeorefExt.miny;
3786 0 : self->extent.maxx = oNewGeorefExt.maxx;
3787 0 : self->extent.maxy = oNewGeorefExt.maxy;
3788 :
3789 0 : self->cellsize = msAdjustExtent(&(self->extent), self->width, self->height);
3790 0 : dfDeltaX = self->extent.maxx - self->extent.minx;
3791 0 : dfDeltaY = self->extent.maxy - self->extent.miny;
3792 :
3793 0 : if (bMaxExtSet) {
3794 0 : if (self->extent.minx < poMaxGeorefExt->minx) {
3795 0 : self->extent.minx = poMaxGeorefExt->minx;
3796 0 : self->extent.maxx = self->extent.minx + dfDeltaX;
3797 : }
3798 0 : if (self->extent.maxx > poMaxGeorefExt->maxx) {
3799 0 : self->extent.maxx = poMaxGeorefExt->maxx;
3800 0 : oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
3801 : }
3802 0 : if (self->extent.miny < poMaxGeorefExt->miny) {
3803 0 : self->extent.miny = poMaxGeorefExt->miny;
3804 0 : self->extent.maxy = self->extent.miny + dfDeltaY;
3805 : }
3806 0 : if (self->extent.maxy > poMaxGeorefExt->maxy) {
3807 0 : self->extent.maxy = poMaxGeorefExt->maxy;
3808 0 : oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
3809 : }
3810 : }
3811 :
3812 0 : msCalculateScale(self->extent, self->units, self->width, self->height, self->resolution, &(self->scaledenom));
3813 :
3814 0 : return MS_SUCCESS;
3815 : }
3816 0 : SWIGINTERN int mapObj_zoomRectangle(struct mapObj *self,rectObj *poPixRect,int width,int height,rectObj *poGeorefExt,rectObj *poMaxGeorefExt){
3817 : double dfDeltaX, dfDeltaY;
3818 : rectObj oNewGeorefExt;
3819 : double dfNewScale;
3820 : double dfDeltaExt;
3821 : double dfMiddleX, dfMiddleY;
3822 : int bMaxExtSet;
3823 :
3824 : bMaxExtSet = 0;
3825 0 : dfNewScale = 0.0;
3826 : dfDeltaExt = -1.0;
3827 :
3828 0 : if (poMaxGeorefExt != NULL) bMaxExtSet = 1;
3829 :
3830 : /* ----------------------------------------------------------- */
3831 : /* check the validity of the parameters. */
3832 : /* ----------------------------------------------------------- */
3833 0 : if (poPixRect == 0 || width <= 0 || height <= 0 || poGeorefExt == NULL) {
3834 0 : msSetError(12, "Incorrect arguments", "mapscript::mapObj::zoomRectangle");
3835 0 : return MS_FAILURE;
3836 : }
3837 :
3838 : /* ----------------------------------------------------------- */
3839 : /* check if the values passed are consistent min <= max. */
3840 : /* ----------------------------------------------------------- */
3841 0 : if (poPixRect->minx >= poPixRect->maxx) {
3842 0 : msSetError(12, "image rectangle minx >= maxx", "mapscript::mapObj::zoomRectangle()");
3843 0 : return MS_FAILURE;
3844 : }
3845 : /* This is not a typo: "maxx >= minx". For historical reason, we
3846 : * keep this as it is. See documentation for more info about this check. */
3847 0 : if (poPixRect->maxy >= poPixRect->miny) {
3848 0 : msSetError(12, "image rectangle maxy >= miny", "mapscript::mapObj::zoomRectangle()");
3849 0 : return MS_FAILURE;
3850 : }
3851 :
3852 0 : if (poGeorefExt->minx >= poGeorefExt->maxx) {
3853 0 : msSetError(12, "Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomRectangle()");
3854 0 : return MS_FAILURE;
3855 : }
3856 0 : if (poGeorefExt->miny >= poGeorefExt->maxy) {
3857 0 : msSetError(12, "Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomRectangle()");
3858 0 : return MS_FAILURE;
3859 : }
3860 :
3861 0 : if (bMaxExtSet == 1) {
3862 0 : if (poMaxGeorefExt->minx >= poMaxGeorefExt->maxx) {
3863 0 : msSetError(12, "Max Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomRectangle()");
3864 0 : return MS_FAILURE;
3865 : }
3866 0 : if (poMaxGeorefExt->miny >= poMaxGeorefExt->maxy) {
3867 0 : msSetError(12, "Max Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomRectangle()");
3868 0 : return MS_FAILURE;
3869 : }
3870 : }
3871 :
3872 :
3873 : /* ----------------------------------------------------------- */
3874 : /* Convert pixel rectangle to georeferenced rectangle */
3875 : /* ----------------------------------------------------------- */
3876 :
3877 : dfDeltaX = poGeorefExt->maxx - poGeorefExt->minx;
3878 : dfDeltaY = poGeorefExt->maxy - poGeorefExt->miny;
3879 :
3880 0 : oNewGeorefExt.minx = Pix2Georef((int)poPixRect->minx, 0, width, poGeorefExt->minx, poGeorefExt->maxx, 0);
3881 0 : oNewGeorefExt.maxx = Pix2Georef((int)poPixRect->maxx, 0, width, poGeorefExt->minx, poGeorefExt->maxx, 0);
3882 0 : oNewGeorefExt.miny = Pix2Georef((int)poPixRect->miny, 0, height, poGeorefExt->miny, poGeorefExt->maxy, 1);
3883 0 : oNewGeorefExt.maxy = Pix2Georef((int)poPixRect->maxy, 0, height, poGeorefExt->miny, poGeorefExt->maxy, 1);
3884 :
3885 0 : msAdjustExtent(&oNewGeorefExt, self->width, self->height);
3886 :
3887 : /* ------------------------------------------------------------ */
3888 : /* if the min and max scale are set in the map file, we will */
3889 : /* use them to test before setting extents. */
3890 : /* ------------------------------------------------------------ */
3891 0 : msCalculateScale(oNewGeorefExt, self->units, self->width, self->height, self->resolution, &dfNewScale);
3892 :
3893 0 : if (self->web.maxscaledenom > 0 && dfNewScale > self->web.maxscaledenom)
3894 : return MS_FAILURE;
3895 :
3896 0 : if (self->web.minscaledenom > 0 && dfNewScale < self->web.minscaledenom) {
3897 0 : dfMiddleX = oNewGeorefExt.minx + ((oNewGeorefExt.maxx - oNewGeorefExt.minx)/2);
3898 0 : dfMiddleY = oNewGeorefExt.miny + ((oNewGeorefExt.maxy - oNewGeorefExt.miny)/2);
3899 :
3900 : /* To be consistent in swig mapscript and PHP mapscript,
3901 : use the same function to calculate the delta extents. */
3902 0 : dfDeltaExt = GetDeltaExtentsUsingScale(self->web.minscaledenom, self->units, dfMiddleY, self->width, self->resolution);
3903 :
3904 0 : if (dfDeltaExt > 0.0) {
3905 0 : oNewGeorefExt.minx = dfMiddleX - (dfDeltaExt/2);
3906 0 : oNewGeorefExt.miny = dfMiddleY - (dfDeltaExt/2);
3907 0 : oNewGeorefExt.maxx = dfMiddleX + (dfDeltaExt/2);
3908 0 : oNewGeorefExt.maxy = dfMiddleY + (dfDeltaExt/2);
3909 : } else
3910 : return MS_FAILURE;
3911 : }
3912 :
3913 : /* ------------------------------------------------------------ */
3914 : /* If the buffer is set, make sure that the extents do not go */
3915 : /* beyond the buffer. */
3916 : /* ------------------------------------------------------------ */
3917 0 : if (bMaxExtSet) {
3918 0 : dfDeltaX = oNewGeorefExt.maxx - oNewGeorefExt.minx;
3919 0 : dfDeltaY = oNewGeorefExt.maxy - oNewGeorefExt.miny;
3920 :
3921 : /* Make sure Current georef extents is not bigger
3922 : * than max extents */
3923 0 : if (dfDeltaX > (poMaxGeorefExt->maxx-poMaxGeorefExt->minx))
3924 : dfDeltaX = poMaxGeorefExt->maxx-poMaxGeorefExt->minx;
3925 0 : if (dfDeltaY > (poMaxGeorefExt->maxy-poMaxGeorefExt->miny))
3926 : dfDeltaY = poMaxGeorefExt->maxy-poMaxGeorefExt->miny;
3927 :
3928 0 : if (oNewGeorefExt.minx < poMaxGeorefExt->minx) {
3929 0 : oNewGeorefExt.minx = poMaxGeorefExt->minx;
3930 0 : oNewGeorefExt.maxx = oNewGeorefExt.minx + dfDeltaX;
3931 : }
3932 0 : if (oNewGeorefExt.maxx > poMaxGeorefExt->maxx) {
3933 0 : oNewGeorefExt.maxx = poMaxGeorefExt->maxx;
3934 0 : oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
3935 : }
3936 0 : if (oNewGeorefExt.miny < poMaxGeorefExt->miny) {
3937 0 : oNewGeorefExt.miny = poMaxGeorefExt->miny;
3938 0 : oNewGeorefExt.maxy = oNewGeorefExt.miny + dfDeltaY;
3939 : }
3940 0 : if (oNewGeorefExt.maxy > poMaxGeorefExt->maxy) {
3941 0 : oNewGeorefExt.maxy = poMaxGeorefExt->maxy;
3942 0 : oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
3943 : }
3944 : }
3945 :
3946 0 : self->extent.minx = oNewGeorefExt.minx;
3947 0 : self->extent.miny = oNewGeorefExt.miny;
3948 0 : self->extent.maxx = oNewGeorefExt.maxx;
3949 0 : self->extent.maxy = oNewGeorefExt.maxy;
3950 :
3951 0 : self->cellsize = msAdjustExtent(&(self->extent), self->width, self->height);
3952 0 : dfDeltaX = self->extent.maxx - self->extent.minx;
3953 0 : dfDeltaY = self->extent.maxy - self->extent.miny;
3954 :
3955 0 : if (bMaxExtSet) {
3956 0 : if (self->extent.minx < poMaxGeorefExt->minx) {
3957 0 : self->extent.minx = poMaxGeorefExt->minx;
3958 0 : self->extent.maxx = self->extent.minx + dfDeltaX;
3959 : }
3960 0 : if (self->extent.maxx > poMaxGeorefExt->maxx) {
3961 0 : self->extent.maxx = poMaxGeorefExt->maxx;
3962 0 : oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
3963 : }
3964 0 : if (self->extent.miny < poMaxGeorefExt->miny) {
3965 0 : self->extent.miny = poMaxGeorefExt->miny;
3966 0 : self->extent.maxy = self->extent.miny + dfDeltaY;
3967 : }
3968 0 : if (self->extent.maxy > poMaxGeorefExt->maxy) {
3969 0 : self->extent.maxy = poMaxGeorefExt->maxy;
3970 0 : oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
3971 : }
3972 : }
3973 :
3974 0 : msCalculateScale(self->extent, self->units, self->width, self->height, self->resolution, &(self->scaledenom));
3975 :
3976 0 : return MS_SUCCESS;
3977 : }
3978 0 : SWIGINTERN int mapObj_zoomScale(struct mapObj *self,double scale,pointObj *poPixPos,int width,int height,rectObj *poGeorefExt,rectObj *poMaxGeorefExt){
3979 : double dfGeoPosX, dfGeoPosY;
3980 : double dfDeltaX, dfDeltaY;
3981 : rectObj oNewGeorefExt;
3982 : double dfNewScale, dfCurrentScale;
3983 : int bMaxExtSet;
3984 : int nTmp;
3985 : double dfDeltaExt;
3986 : double dX, dY;
3987 :
3988 0 : dfNewScale = 0.0;
3989 0 : dfCurrentScale = 0.0;
3990 : nTmp = 0;
3991 : bMaxExtSet = 0;
3992 : dfDeltaExt = -1.0;
3993 :
3994 0 : if (poMaxGeorefExt != NULL) { bMaxExtSet = 1; }
3995 :
3996 : /* ----------------------------------------------------------- */
3997 : /* check the validity of the parameters. */
3998 : /* ----------------------------------------------------------- */
3999 0 : if (scale <= 0.0 || width <= 0 || height <= 0 || poGeorefExt == NULL || poPixPos == NULL ) {
4000 0 : msSetError(12, "Incorrect arguments", "mapscript::mapObj::zoomScale");
4001 0 : return MS_FAILURE;
4002 : }
4003 :
4004 : /* ----------------------------------------------------------- */
4005 : /* check if the values passed are consistent min > max. */
4006 : /* ----------------------------------------------------------- */
4007 0 : if (poGeorefExt->minx >= poGeorefExt->maxx) {
4008 0 : msSetError(12, "Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomScale()");
4009 0 : return MS_FAILURE;
4010 : }
4011 0 : if (poGeorefExt->miny >= poGeorefExt->maxy) {
4012 0 : msSetError(12, "Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomScale()");
4013 0 : return MS_FAILURE;
4014 : }
4015 :
4016 0 : if (bMaxExtSet == 1) {
4017 0 : if (poMaxGeorefExt->minx >= poMaxGeorefExt->maxx) {
4018 0 : msSetError(12, "Max Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomScale()");
4019 0 : return MS_FAILURE;
4020 : }
4021 0 : if (poMaxGeorefExt->miny >= poMaxGeorefExt->maxy) {
4022 0 : msSetError(12, "Max Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomScale()");
4023 : }
4024 : }
4025 :
4026 0 : dfDeltaX = poGeorefExt->maxx - poGeorefExt->minx;
4027 0 : dfDeltaY = poGeorefExt->maxy - poGeorefExt->miny;
4028 0 : dX = dfDeltaX/((double)width);
4029 0 : dY = dfDeltaY/((double)height);
4030 0 : dfGeoPosX = poGeorefExt->minx + dX * (double)poPixPos->x;
4031 0 : dfGeoPosY = poGeorefExt->maxy - dY * (double)poPixPos->y;
4032 :
4033 : /* ------------------------------------------------------------ */
4034 : /* Calculate new extents based on the scale. */
4035 : /* ------------------------------------------------------------ */
4036 :
4037 : /* ============================================================ */
4038 : /* make sure to take the smallest size because this is the one */
4039 : /* that will be used to ajust the scale. */
4040 : /* ============================================================ */
4041 :
4042 0 : if (self->width < self->height)
4043 : nTmp = self->width;
4044 : else
4045 : nTmp = self->height;
4046 :
4047 : /* To be consistent in swig mapscript and PHP mapscript,
4048 : use the same function to calculate the delta extents. */
4049 0 : dfDeltaExt = GetDeltaExtentsUsingScale(scale, self->units, dfGeoPosY, nTmp, self->resolution);
4050 :
4051 0 : if (dfDeltaExt > 0.0) {
4052 0 : oNewGeorefExt.minx = dfGeoPosX - (dfDeltaExt/2);
4053 0 : oNewGeorefExt.miny = dfGeoPosY - (dfDeltaExt/2);
4054 0 : oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaExt/2);
4055 0 : oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaExt/2);
4056 : } else
4057 : return MS_FAILURE;
4058 :
4059 : /* ------------------------------------------------------------ */
4060 : /* get current scale. */
4061 : /* ------------------------------------------------------------ */
4062 0 : msCalculateScale(*poGeorefExt, self->units, self->width, self->height, self->resolution, &dfCurrentScale);
4063 :
4064 : /* ------------------------------------------------------------ *
4065 : * if the min and max scale are set in the map file, we will *
4066 : * use them to test before zooming. *
4067 : * *
4068 : * This function has the same effect as zoomin or zoom out.
4069 : * If the current scale is > newscale we zoom in; else it is
4070 : * a zoom out.
4071 : * ------------------------------------------------------------ */
4072 0 : msAdjustExtent(&oNewGeorefExt, self->width, self->height);
4073 0 : msCalculateScale(oNewGeorefExt, self->units, self->width, self->height, self->resolution, &dfNewScale);
4074 :
4075 0 : if (self->web.maxscaledenom > 0) {
4076 0 : if (dfCurrentScale < dfNewScale && dfNewScale > self->web.maxscaledenom) {
4077 : return MS_FAILURE;
4078 : }
4079 : }
4080 :
4081 : /* ============================================================ */
4082 : /* we do a special case for zoom in : we try to zoom as much as */
4083 : /* possible using the mincale set in the .map. */
4084 : /* ============================================================ */
4085 0 : if (self->web.minscaledenom > 0 && dfNewScale < self->web.minscaledenom && dfCurrentScale > dfNewScale) {
4086 : /* To be consistent in swig mapscript and PHP mapscript,
4087 : use the same function to calculate the delta extents. */
4088 0 : dfDeltaExt = GetDeltaExtentsUsingScale(scale, self->units, dfGeoPosY, nTmp, self->resolution);
4089 0 : if (dfDeltaExt > 0.0) {
4090 0 : oNewGeorefExt.minx = dfGeoPosX - (dfDeltaExt/2);
4091 0 : oNewGeorefExt.miny = dfGeoPosY - (dfDeltaExt/2);
4092 0 : oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaExt/2);
4093 0 : oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaExt/2);
4094 : } else
4095 : return MS_FAILURE;
4096 : }
4097 :
4098 : /* ------------------------------------------------------------ */
4099 : /* If the buffer is set, make sure that the extents do not go */
4100 : /* beyond the buffer. */
4101 : /* ------------------------------------------------------------ */
4102 0 : if (bMaxExtSet) {
4103 0 : dfDeltaX = oNewGeorefExt.maxx - oNewGeorefExt.minx;
4104 0 : dfDeltaY = oNewGeorefExt.maxy - oNewGeorefExt.miny;
4105 :
4106 : /* Make sure Current georef extents is not bigger
4107 : * than max extents */
4108 0 : if (dfDeltaX > (poMaxGeorefExt->maxx-poMaxGeorefExt->minx))
4109 : dfDeltaX = poMaxGeorefExt->maxx-poMaxGeorefExt->minx;
4110 0 : if (dfDeltaY > (poMaxGeorefExt->maxy-poMaxGeorefExt->miny))
4111 : dfDeltaY = poMaxGeorefExt->maxy-poMaxGeorefExt->miny;
4112 :
4113 0 : if (oNewGeorefExt.minx < poMaxGeorefExt->minx) {
4114 0 : oNewGeorefExt.minx = poMaxGeorefExt->minx;
4115 0 : oNewGeorefExt.maxx = oNewGeorefExt.minx + dfDeltaX;
4116 : }
4117 0 : if (oNewGeorefExt.maxx > poMaxGeorefExt->maxx) {
4118 0 : oNewGeorefExt.maxx = poMaxGeorefExt->maxx;
4119 0 : oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
4120 : }
4121 0 : if (oNewGeorefExt.miny < poMaxGeorefExt->miny) {
4122 0 : oNewGeorefExt.miny = poMaxGeorefExt->miny;
4123 0 : oNewGeorefExt.maxy = oNewGeorefExt.miny + dfDeltaY;
4124 : }
4125 0 : if (oNewGeorefExt.maxy > poMaxGeorefExt->maxy) {
4126 0 : oNewGeorefExt.maxy = poMaxGeorefExt->maxy;
4127 0 : oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
4128 : }
4129 : }
4130 :
4131 0 : self->extent.minx = oNewGeorefExt.minx;
4132 0 : self->extent.miny = oNewGeorefExt.miny;
4133 0 : self->extent.maxx = oNewGeorefExt.maxx;
4134 0 : self->extent.maxy = oNewGeorefExt.maxy;
4135 :
4136 0 : self->cellsize = msAdjustExtent(&(self->extent), self->width, self->height);
4137 0 : dfDeltaX = self->extent.maxx - self->extent.minx;
4138 0 : dfDeltaY = self->extent.maxy - self->extent.miny;
4139 :
4140 0 : if (bMaxExtSet) {
4141 0 : if (self->extent.minx < poMaxGeorefExt->minx) {
4142 0 : self->extent.minx = poMaxGeorefExt->minx;
4143 0 : self->extent.maxx = self->extent.minx + dfDeltaX;
4144 : }
4145 0 : if (self->extent.maxx > poMaxGeorefExt->maxx) {
4146 0 : self->extent.maxx = poMaxGeorefExt->maxx;
4147 0 : oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
4148 : }
4149 0 : if (self->extent.miny < poMaxGeorefExt->miny) {
4150 0 : self->extent.miny = poMaxGeorefExt->miny;
4151 0 : self->extent.maxy = self->extent.miny + dfDeltaY;
4152 : }
4153 0 : if (self->extent.maxy > poMaxGeorefExt->maxy) {
4154 0 : self->extent.maxy = poMaxGeorefExt->maxy;
4155 0 : oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
4156 : }
4157 : }
4158 :
4159 0 : msCalculateScale(self->extent, self->units, self->width, self->height, self->resolution, &(self->scaledenom));
4160 :
4161 0 : return MS_SUCCESS;
4162 : }
4163 0 : SWIGINTERN rectObj *new_rectObj(double minx,double miny,double maxx,double maxy,int imageunits){
4164 : rectObj *rect;
4165 :
4166 0 : if (imageunits == 0)
4167 : {
4168 0 : if (minx > maxx || miny > maxy)
4169 : {
4170 0 : msSetError(34,
4171 : "{ 'minx': %f , 'miny': %f , 'maxx': %f , 'maxy': %f }",
4172 : "rectObj()", minx, miny, maxx, maxy);
4173 0 : return NULL;
4174 : }
4175 : }
4176 : else
4177 : {
4178 0 : if (minx > maxx || maxy > miny)
4179 : {
4180 0 : msSetError(34,
4181 : "image (pixel/line) units { 'minx': %f , 'miny': %f , 'maxx': %f , 'maxy': %f }",
4182 : "rectObj()", minx, miny, maxx, maxy);
4183 0 : return NULL;
4184 : }
4185 : }
4186 :
4187 0 : rect = (rectObj *)calloc(1, sizeof(rectObj));
4188 0 : if (!rect)
4189 : return(NULL);
4190 :
4191 0 : rect->minx = minx;
4192 0 : rect->miny = miny;
4193 0 : rect->maxx = maxx;
4194 0 : rect->maxy = maxy;
4195 :
4196 0 : return(rect);
4197 : }
4198 : SWIGINTERN void delete_rectObj(rectObj *self){
4199 0 : free(self);
4200 : }
4201 : SWIGINTERN int rectObj_project(rectObj *self,projectionObj *projin,projectionObj *projout){
4202 0 : return msProjectRect(projin, projout, self);
4203 : }
4204 : SWIGINTERN double rectObj_fit(rectObj *self,int width,int height){
4205 0 : return msAdjustExtent(self, width, height);
4206 : }
4207 0 : SWIGINTERN int rectObj_draw(rectObj *self,mapObj *map,layerObj *layer,imageObj *image,int classindex,char *text){
4208 : shapeObj shape;
4209 : int ret;
4210 :
4211 0 : msInitShape(&shape);
4212 0 : msRectToPolygon(*self, &shape);
4213 0 : shape.classindex = classindex;
4214 0 : if(text && layer->class[classindex]->numlabels > 0) {
4215 0 : shape.text = msStrdup(text);
4216 : }
4217 :
4218 0 : ret = msDrawShape(map, layer, &shape, image, -1, MS_DRAWMODE_FEATURES|MS_DRAWMODE_LABELS);
4219 :
4220 0 : msFreeShape(&shape);
4221 :
4222 0 : return ret;
4223 : }
4224 0 : SWIGINTERN pointObj *rectObj_getCenter(rectObj *self){
4225 : pointObj *center;
4226 0 : center = (pointObj *)calloc(1, sizeof(pointObj));
4227 0 : if (!center) {
4228 0 : msSetError(2, "Failed to allocate memory for point", "getCenter()");
4229 0 : return NULL;
4230 : }
4231 0 : center->x = (self->minx + self->maxx)/2;
4232 0 : center->y = (self->miny + self->maxy)/2;
4233 :
4234 0 : return center;
4235 : }
4236 0 : SWIGINTERN shapeObj *rectObj_toPolygon(rectObj *self){
4237 0 : lineObj line = {0,NULL};
4238 : shapeObj *shape;
4239 0 : shape = (shapeObj *)malloc(sizeof(shapeObj));
4240 0 : if (!shape)
4241 : return NULL;
4242 0 : msInitShape(shape);
4243 0 : shape->type = MS_SHAPE_POLYGON;
4244 :
4245 0 : line.point = (pointObj *)malloc(sizeof(pointObj)*5);
4246 0 : line.point[0].x = self->minx;
4247 0 : line.point[0].y = self->miny;
4248 0 : line.point[1].x = self->minx;
4249 0 : line.point[1].y = self->maxy;
4250 0 : line.point[2].x = self->maxx;
4251 0 : line.point[2].y = self->maxy;
4252 0 : line.point[3].x = self->maxx;
4253 0 : line.point[3].y = self->miny;
4254 0 : line.point[4].x = line.point[0].x;
4255 0 : line.point[4].y = line.point[0].y;
4256 :
4257 0 : line.numpoints = 5;
4258 :
4259 0 : msAddLine(shape, &line);
4260 0 : msComputeBounds(shape);
4261 :
4262 0 : free(line.point);
4263 :
4264 0 : return shape;
4265 : }
4266 0 : SWIGINTERN char *rectObj_toString(rectObj *self){
4267 : char buffer[256];
4268 0 : char fmt[]="{ 'minx': %.16g , 'miny': %.16g , 'maxx': %.16g , 'maxy': %.16g }";
4269 0 : msRectToFormattedString(self, (char *) &fmt, (char *) &buffer, 256);
4270 0 : return msStrdup(buffer);
4271 : }
4272 : SWIGINTERN pointObj *new_pointObj(double x,double y,double z,double m){
4273 : pointObj *p;
4274 0 : p = (pointObj *)calloc(1,sizeof(pointObj));
4275 0 : if (!p) return NULL;
4276 0 : p->x = x;
4277 0 : p->y = y;
4278 :
4279 :
4280 :
4281 :
4282 : return p;
4283 : }
4284 : SWIGINTERN void delete_pointObj(pointObj *self){
4285 0 : free(self);
4286 : }
4287 : SWIGINTERN int pointObj_project(pointObj *self,projectionObj *projin,projectionObj *projout){
4288 0 : return msProjectPoint(projin, projout, self);
4289 : }
4290 : SWIGINTERN int pointObj_draw(pointObj *self,mapObj *map,layerObj *layer,imageObj *image,int classindex,char *text){
4291 0 : return msDrawPoint(map, layer, self, image, classindex, text);
4292 : }
4293 : SWIGINTERN double pointObj_distanceToPoint(pointObj *self,pointObj *point){
4294 0 : return msDistancePointToPoint(self, point);
4295 : }
4296 : SWIGINTERN double pointObj_distanceToSegment(pointObj *self,pointObj *a,pointObj *b){
4297 1 : return msDistancePointToSegment(self, a, b);
4298 : }
4299 : SWIGINTERN double pointObj_distanceToShape(pointObj *self,shapeObj *shape){
4300 0 : return msDistancePointToShape(self, shape);
4301 : }
4302 : SWIGINTERN int pointObj_setXY(pointObj *self,double x,double y,double m){
4303 0 : self->x = x;
4304 0 : self->y = y;
4305 :
4306 :
4307 :
4308 :
4309 :
4310 : return MS_SUCCESS;
4311 : }
4312 : SWIGINTERN int pointObj_setXYZ(pointObj *self,double x,double y,double z,double m){
4313 0 : self->x = x;
4314 0 : self->y = y;
4315 :
4316 :
4317 :
4318 :
4319 : return MS_SUCCESS;
4320 : }
4321 : SWIGINTERN int pointObj_setXYZM(pointObj *self,double x,double y,double z,double m){
4322 0 : self->x = x;
4323 0 : self->y = y;
4324 :
4325 :
4326 :
4327 :
4328 : return MS_SUCCESS;
4329 : }
4330 0 : SWIGINTERN char *pointObj_toString(pointObj *self){
4331 : char buffer[256];
4332 : const char *fmt;
4333 :
4334 :
4335 :
4336 :
4337 :
4338 :
4339 :
4340 : fmt = "{ 'x': %.16g, 'y': %.16g }";
4341 :
4342 :
4343 0 : msPointToFormattedString(self, fmt, (char *) &buffer, 256);
4344 0 : return msStrdup(buffer);
4345 : }
4346 0 : SWIGINTERN shapeObj *pointObj_toShape(pointObj *self){
4347 : shapeObj *shape;
4348 :
4349 0 : shape = (shapeObj *) malloc(sizeof(shapeObj));
4350 0 : msInitShape(shape);
4351 :
4352 0 : shape->type = MS_SHAPE_POINT;
4353 0 : shape->line = (lineObj *) malloc(sizeof(lineObj));
4354 0 : shape->numlines = 1;
4355 0 : shape->line[0].point = (pointObj *) malloc(sizeof(pointObj));
4356 0 : shape->line[0].numpoints = 1;
4357 :
4358 0 : shape->line[0].point[0].x = self->x;
4359 0 : shape->line[0].point[0].y = self->y;
4360 :
4361 :
4362 :
4363 :
4364 :
4365 0 : return shape;
4366 : }
4367 : SWIGINTERN lineObj *new_lineObj(void){
4368 : lineObj *line;
4369 :
4370 1 : line = (lineObj *)malloc(sizeof(lineObj));
4371 1 : if (!line)
4372 : return(NULL);
4373 :
4374 1 : line->numpoints=0;
4375 1 : line->point=NULL;
4376 :
4377 : return line;
4378 : }
4379 : SWIGINTERN void delete_lineObj(lineObj *self){
4380 1 : free(self->point);
4381 1 : free(self);
4382 : }
4383 : SWIGINTERN int lineObj_project(lineObj *self,projectionObj *projin,projectionObj *projout){
4384 0 : return msProjectLine(projin, projout, self);
4385 : }
4386 : SWIGINTERN pointObj *lineObj_get(lineObj *self,int i){
4387 1 : if (i<0 || i>=self->numpoints)
4388 : return NULL;
4389 : else
4390 1 : return &(self->point[i]);
4391 : }
4392 1 : SWIGINTERN int lineObj_add(lineObj *self,pointObj *p){
4393 1 : if (self->numpoints == 0) { /* new */
4394 1 : self->point = (pointObj *)malloc(sizeof(pointObj));
4395 1 : if (!self->point)
4396 : return MS_FAILURE;
4397 : } else { /* extend array */
4398 1 : self->point = (pointObj *)realloc(self->point,
4399 1 : sizeof(pointObj)*(self->numpoints+1));
4400 1 : if (!self->point)
4401 : return MS_FAILURE;
4402 : }
4403 :
4404 1 : self->point[self->numpoints].x = p->x;
4405 1 : self->point[self->numpoints].y = p->y;
4406 1 : self->numpoints++;
4407 :
4408 : return MS_SUCCESS;
4409 : }
4410 : SWIGINTERN int lineObj_set(lineObj *self,int i,pointObj *p){
4411 0 : if (i<0 || i>=self->numpoints)
4412 : return MS_FAILURE;
4413 :
4414 0 : self->point[i].x = p->x;
4415 0 : self->point[i].y = p->y;
4416 : return MS_SUCCESS;
4417 : }
4418 1 : SWIGINTERN shapeObj *new_shapeObj(int type){
4419 : shapeObj *shape;
4420 :
4421 1 : shape = (shapeObj *)malloc(sizeof(shapeObj));
4422 1 : if (!shape)
4423 : return NULL;
4424 :
4425 1 : msInitShape(shape);
4426 1 : if(type >= 0) shape->type = type;
4427 :
4428 1 : return shape;
4429 : }
4430 : SWIGINTERN void delete_shapeObj(shapeObj *self){
4431 1 : msFreeShape(self);
4432 1 : free(self);
4433 : }
4434 : SWIGINTERN shapeObj *shapeObj_fromWKT(char *wkt){
4435 : shapeObj *shape;
4436 :
4437 1 : if(!wkt) return NULL;
4438 :
4439 1 : shape = msShapeFromWKT(wkt);
4440 1 : if(!shape) return NULL;
4441 :
4442 : return shape;
4443 : }
4444 : SWIGINTERN int shapeObj_project(shapeObj *self,projectionObj *projin,projectionObj *projout){
4445 0 : return msProjectShape(projin, projout, self);
4446 : }
4447 : SWIGINTERN lineObj *shapeObj_get(shapeObj *self,int i){
4448 1 : if (i<0 || i>=self->numlines)
4449 : return NULL;
4450 : else
4451 1 : return &(self->line[i]);
4452 : }
4453 : SWIGINTERN int shapeObj_add(shapeObj *self,lineObj *line){
4454 1 : return msAddLine(self, line);
4455 : }
4456 : SWIGINTERN int shapeObj_draw(shapeObj *self,mapObj *map,layerObj *layer,imageObj *image){
4457 0 : return msDrawShape(map, layer, self, image, -1, MS_DRAWMODE_FEATURES|MS_DRAWMODE_LABELS);
4458 : }
4459 : SWIGINTERN void shapeObj_setBounds(shapeObj *self){
4460 0 : msComputeBounds(self);
4461 : return;
4462 : }
4463 0 : SWIGINTERN shapeObj *shapeObj_clone(shapeObj *self){
4464 : shapeObj *shape;
4465 0 : shape = (shapeObj *)malloc(sizeof(shapeObj));
4466 0 : if (!shape)
4467 : return NULL;
4468 0 : msInitShape(shape);
4469 0 : shape->type = self->type;
4470 0 : msCopyShape(self, shape);
4471 0 : return shape;
4472 : }
4473 : SWIGINTERN int shapeObj_copy(shapeObj *self,shapeObj *dest){
4474 0 : return(msCopyShape(self, dest));
4475 : }
4476 : SWIGINTERN char *shapeObj_toWKT(shapeObj *self){
4477 1 : return msShapeToWKT(self);
4478 : }
4479 0 : SWIGINTERN shapeObj *shapeObj_buffer(shapeObj *self,double width){ return msGEOSBuffer(self, width); }
4480 0 : SWIGINTERN shapeObj *shapeObj_simplify(shapeObj *self,double tolerance){ return msGEOSSimplify(self, tolerance); }
4481 0 : SWIGINTERN shapeObj *shapeObj_topologyPreservingSimplify(shapeObj *self,double tolerance){ return msGEOSTopologyPreservingSimplify(self, tolerance); }
4482 0 : SWIGINTERN shapeObj *shapeObj_convexHull(shapeObj *self){ return msGEOSConvexHull(self); }
4483 0 : SWIGINTERN shapeObj *shapeObj_boundary(shapeObj *self){ return msGEOSBoundary(self); }
4484 0 : SWIGINTERN pointObj *shapeObj_getCentroid(shapeObj *self){ return msGEOSGetCentroid(self); }
4485 0 : SWIGINTERN shapeObj *shapeObj_Union(shapeObj *self,shapeObj *shape){ return msGEOSUnion(self, shape); }
4486 0 : SWIGINTERN shapeObj *shapeObj_intersection(shapeObj *self,shapeObj *shape){ return msGEOSIntersection(self, shape); }
4487 0 : SWIGINTERN shapeObj *shapeObj_difference(shapeObj *self,shapeObj *shape){ return msGEOSDifference(self, shape); }
4488 0 : SWIGINTERN shapeObj *shapeObj_symDifference(shapeObj *self,shapeObj *shape){ return msGEOSSymDifference(self, shape); }
4489 0 : SWIGINTERN int shapeObj_contains__SWIG_0(shapeObj *self,shapeObj *shape){ return msGEOSContains(self, shape); }
4490 0 : SWIGINTERN int shapeObj_overlaps(shapeObj *self,shapeObj *shape){ return msGEOSOverlaps(self, shape); }
4491 1 : SWIGINTERN int shapeObj_within(shapeObj *self,shapeObj *shape){ return msGEOSWithin(self, shape); }
4492 0 : SWIGINTERN int shapeObj_crosses(shapeObj *self,shapeObj *shape){ return msGEOSCrosses(self, shape); }
4493 0 : SWIGINTERN int shapeObj_intersects(shapeObj *self,shapeObj *shape){ return msGEOSIntersects(self, shape); }
4494 0 : SWIGINTERN int shapeObj_touches(shapeObj *self,shapeObj *shape){ return msGEOSTouches(self, shape); }
4495 0 : SWIGINTERN int shapeObj_equals(shapeObj *self,shapeObj *shape){ return msGEOSEquals(self, shape); }
4496 0 : SWIGINTERN int shapeObj_disjoint(shapeObj *self,shapeObj *shape){ return msGEOSDisjoint(self, shape); }
4497 0 : SWIGINTERN double shapeObj_getArea(shapeObj *self){ return msGEOSArea(self); }
4498 0 : SWIGINTERN double shapeObj_getLength(shapeObj *self){ return msGEOSLength(self); }
4499 : SWIGINTERN char *shapeObj_getValue(shapeObj *self,int i){
4500 0 : if (i >= 0 && i < self->numvalues && self->values)
4501 0 : return (self->values[i]);
4502 : else
4503 : return NULL;
4504 : }
4505 : SWIGINTERN int shapeObj_contains__SWIG_1(shapeObj *self,pointObj *point){
4506 0 : if (self->type == MS_SHAPE_POLYGON)
4507 0 : return msIntersectPointPolygon(point, self);
4508 :
4509 : return -1;
4510 : }
4511 : SWIGINTERN double shapeObj_distanceToPoint(shapeObj *self,pointObj *point){
4512 0 : return msDistancePointToShape(point, self); /* should there be a GEOS version of this? */
4513 : }
4514 : SWIGINTERN double shapeObj_distanceToShape(shapeObj *self,shapeObj *shape){
4515 0 : return msGEOSDistance(self, shape); /* note this calls msDistanceShapeToShape() if GEOS support is not present */
4516 : }
4517 0 : SWIGINTERN pointObj *shapeObj_getLabelPoint(shapeObj *self){
4518 0 : pointObj *point = (pointObj *)calloc(1, sizeof(pointObj));
4519 0 : if (point == NULL) {
4520 0 : msSetError(2, "Failed to allocate memory for point", "labelPoint()");
4521 0 : return NULL;
4522 : }
4523 :
4524 0 : if(self->type == MS_SHAPE_POLYGON && msPolygonLabelPoint(self, point, -1) == MS_SUCCESS)
4525 : return point;
4526 :
4527 0 : free(point);
4528 0 : return NULL;
4529 : }
4530 0 : SWIGINTERN int shapeObj_setValue(shapeObj *self,int i,char *value){
4531 0 : if (!self->values || !value)
4532 : {
4533 0 : msSetError(19, "Can't set value", "setValue()");
4534 : return MS_FAILURE;
4535 : }
4536 0 : if (i >= 0 && i < self->numvalues)
4537 : {
4538 0 : msFree(self->values[i]);
4539 0 : self->values[i] = msStrdup(value);
4540 0 : if (!self->values[i])
4541 : {
4542 : return MS_FAILURE;
4543 : }
4544 : else return MS_SUCCESS;
4545 : }
4546 : else
4547 : {
4548 0 : msSetError(19, "Invalid value index",
4549 : "setValue()");
4550 : return MS_FAILURE;
4551 : }
4552 : }
4553 0 : SWIGINTERN void shapeObj_initValues(shapeObj *self,int numvalues){
4554 : int i;
4555 :
4556 0 : if(self->values) msFreeCharArray(self->values, self->numvalues);
4557 0 : self->values = NULL;
4558 0 : self->numvalues = 0;
4559 :
4560 : /* Allocate memory for the values */
4561 0 : if (numvalues > 0) {
4562 0 : if ((self->values = (char **)malloc(sizeof(char *)*numvalues)) == NULL) {
4563 0 : msSetError(2, "Failed to allocate memory for values", "shapeObj()");
4564 0 : return;
4565 : } else {
4566 0 : for (i=0; i<numvalues; i++) self->values[i] = msStrdup("");
4567 : }
4568 0 : self->numvalues = numvalues;
4569 : }
4570 : }
4571 :
4572 : SWIGINTERNINLINE SV *
4573 0 : SWIG_From_unsigned_SS_long SWIG_PERL_DECL_ARGS_1(unsigned long value)
4574 : {
4575 : SV *sv;
4576 : if (UVSIZE >= sizeof(value) || value <= UV_MAX)
4577 0 : sv = newSVuv(value);
4578 : else
4579 : sv = newSVpvf("%lu", value);
4580 0 : return sv_2mortal(sv);
4581 : }
4582 :
4583 :
4584 : SWIGINTERNINLINE SV *
4585 : SWIG_From_unsigned_SS_int SWIG_PERL_DECL_ARGS_1(unsigned int value)
4586 : {
4587 0 : return SWIG_From_unsigned_SS_long SWIG_PERL_CALL_ARGS_1(value);
4588 : }
4589 :
4590 : SWIGINTERN char *DBFInfo_getFieldName(DBFInfo *self,int iField){
4591 : static char pszFieldName[1000];
4592 : int pnWidth;
4593 : int pnDecimals;
4594 0 : msDBFGetFieldInfo(self, iField, &pszFieldName[0], &pnWidth,
4595 : &pnDecimals);
4596 : return pszFieldName;
4597 : }
4598 0 : SWIGINTERN int DBFInfo_getFieldWidth(DBFInfo *self,int iField){
4599 : char pszFieldName[1000];
4600 : int pnWidth;
4601 : int pnDecimals;
4602 0 : msDBFGetFieldInfo(self, iField, &pszFieldName[0], &pnWidth,
4603 : &pnDecimals);
4604 0 : return pnWidth;
4605 : }
4606 0 : SWIGINTERN int DBFInfo_getFieldDecimals(DBFInfo *self,int iField){
4607 : char pszFieldName[1000];
4608 : int pnWidth;
4609 : int pnDecimals;
4610 0 : msDBFGetFieldInfo(self, iField, &pszFieldName[0], &pnWidth,
4611 : &pnDecimals);
4612 0 : return pnDecimals;
4613 : }
4614 : SWIGINTERN int DBFInfo_getFieldType(DBFInfo *self,int iField){
4615 0 : return msDBFGetFieldInfo(self, iField, NULL, NULL, NULL);
4616 : }
4617 1 : SWIGINTERN shapefileObj *new_shapefileObj(char *filename,int type){
4618 : shapefileObj *shapefile;
4619 : int status;
4620 :
4621 1 : shapefile = (shapefileObj *)malloc(sizeof(shapefileObj));
4622 1 : if (!shapefile)
4623 : return NULL;
4624 :
4625 1 : if (type == -1)
4626 1 : status = msShapefileOpen(shapefile, "rb", filename, 1);
4627 1 : else if (type == -2)
4628 0 : status = msShapefileOpen(shapefile, "rb+", filename, 1);
4629 : else
4630 1 : status = msShapefileCreate(shapefile, filename, type);
4631 :
4632 1 : if (status == -1) {
4633 0 : msShapefileClose(shapefile);
4634 0 : free(shapefile);
4635 0 : return NULL;
4636 : }
4637 :
4638 : return(shapefile);
4639 : }
4640 : SWIGINTERN void delete_shapefileObj(shapefileObj *self){
4641 1 : msShapefileClose(self);
4642 1 : free(self);
4643 : }
4644 1 : SWIGINTERN int shapefileObj_get(shapefileObj *self,int i,shapeObj *shape){
4645 1 : if (i<0 || i>=self->numshapes)
4646 : return MS_FAILURE;
4647 :
4648 1 : msFreeShape(shape); /* frees all lines and points before re-filling */
4649 1 : msSHPReadShape(self->hSHP, i, shape);
4650 :
4651 : return MS_SUCCESS;
4652 : }
4653 1 : SWIGINTERN shapeObj *shapefileObj_getShape(shapefileObj *self,int i){
4654 : shapeObj *shape;
4655 1 : shape = (shapeObj *)malloc(sizeof(shapeObj));
4656 1 : if (!shape)
4657 : return NULL;
4658 1 : msInitShape(shape);
4659 1 : shape->type = self->type;
4660 1 : msSHPReadShape(self->hSHP, i, shape);
4661 : return shape;
4662 :
4663 : }
4664 : SWIGINTERN int shapefileObj_getPoint(shapefileObj *self,int i,pointObj *point){
4665 0 : if (i<0 || i>=self->numshapes)
4666 : return MS_FAILURE;
4667 :
4668 0 : msSHPReadPoint(self->hSHP, i, point);
4669 : return MS_SUCCESS;
4670 : }
4671 0 : SWIGINTERN int shapefileObj_getTransformed(shapefileObj *self,mapObj *map,int i,shapeObj *shape){
4672 0 : if (i<0 || i>=self->numshapes)
4673 : return MS_FAILURE;
4674 :
4675 0 : msFreeShape(shape); /* frees all lines and points before re-filling */
4676 0 : msSHPReadShape(self->hSHP, i, shape);
4677 0 : msTransformShapeSimplify(shape, map->extent, map->cellsize);
4678 :
4679 : return MS_SUCCESS;
4680 : }
4681 : SWIGINTERN void shapefileObj_getExtent(shapefileObj *self,int i,rectObj *rect){
4682 0 : msSHPReadBounds(self->hSHP, i, rect);
4683 : }
4684 1 : SWIGINTERN int shapefileObj_add(shapefileObj *self,shapeObj *shape){
4685 : /* Trap NULL or empty shapes -- bug 1201 */
4686 1 : if (!shape)
4687 : {
4688 0 : msSetError(19, "Can't add NULL shape", "shapefileObj::add");
4689 : return MS_FAILURE;
4690 : }
4691 1 : else if (!shape->line)
4692 : {
4693 0 : msSetError(19, "Can't add empty shape", "shapefileObj::add");
4694 : return MS_FAILURE;
4695 : }
4696 :
4697 1 : return msSHPWriteShape(self->hSHP, shape);
4698 : }
4699 : SWIGINTERN int shapefileObj_addPoint(shapefileObj *self,pointObj *point){
4700 0 : return msSHPWritePoint(self->hSHP, point);
4701 : }
4702 : SWIGINTERN DBFInfo *shapefileObj_getDBF(shapefileObj *self){
4703 : return self->hDBF;
4704 : }
4705 0 : SWIGINTERN projectionObj *new_projectionObj(char *proj4){
4706 : int status;
4707 : projectionObj *proj=NULL;
4708 :
4709 0 : proj = (projectionObj *)malloc(sizeof(projectionObj));
4710 0 : if (!proj) return NULL;
4711 0 : msInitProjection(proj);
4712 :
4713 0 : status = msLoadProjectionString(proj, proj4);
4714 0 : if (status == -1) {
4715 0 : msFreeProjection(proj);
4716 0 : free(proj);
4717 0 : return NULL;
4718 : }
4719 :
4720 : return proj;
4721 : }
4722 : SWIGINTERN void delete_projectionObj(projectionObj *self){
4723 0 : msFreeProjection(self);
4724 0 : free(self);
4725 : }
4726 : SWIGINTERN int projectionObj_setWKTProjection(projectionObj *self,char *wkt){
4727 : /* no debug output here */
4728 0 : return msOGCWKT2ProjectionObj(wkt, self, 0);
4729 : }
4730 : SWIGINTERN int projectionObj_getUnits(projectionObj *self){
4731 0 : return GetMapserverUnitUsingProj(self);
4732 : }
4733 0 : SWIGINTERN colorObj *new_colorObj(int red,int green,int blue,int alpha){
4734 : colorObj *color;
4735 :
4736 : /* Check colors */
4737 0 : if (red > 255 || green > 255 || blue > 255 || alpha>255 ||
4738 0 : red<-1 || green<-1 || blue<-1 || alpha<0 ) {
4739 0 : msSetError(12, "Invalid color", "colorObj()");
4740 0 : return NULL;
4741 : }
4742 :
4743 0 : color = (colorObj *)calloc(1, sizeof(colorObj));
4744 0 : if (!color)
4745 : return(NULL);
4746 :
4747 0 : MS_INIT_COLOR(*color, red, green, blue, alpha);
4748 :
4749 0 : return(color);
4750 : }
4751 : SWIGINTERN void delete_colorObj(colorObj *self){
4752 0 : free(self);
4753 : }
4754 0 : SWIGINTERN int colorObj_setRGB(colorObj *self,int red,int green,int blue,int alpha){
4755 : /* Check colors */
4756 0 : if (red > 255 || green > 255 || blue > 255 || alpha > 255) {
4757 0 : msSetError(12, "Invalid color index.", "setRGB()");
4758 0 : return MS_FAILURE;
4759 : }
4760 :
4761 0 : MS_INIT_COLOR(*self, red, green, blue, alpha);
4762 0 : return MS_SUCCESS;
4763 : }
4764 0 : SWIGINTERN int colorObj_setHex(colorObj *self,char *psHexColor){
4765 : int red, green, blue, alpha = 255;
4766 0 : if (psHexColor && (strlen(psHexColor) == 7 || strlen(psHexColor) == 9) && psHexColor[0] == '#') {
4767 0 : red = msHexToInt(psHexColor+1);
4768 0 : green = msHexToInt(psHexColor+3);
4769 0 : blue= msHexToInt(psHexColor+5);
4770 0 : if (strlen(psHexColor) == 9) {
4771 0 : alpha = msHexToInt(psHexColor+7);
4772 : }
4773 0 : if (red > 255 || green > 255 || blue > 255 || alpha > 255) {
4774 0 : msSetError(12, "Invalid color index.", "setHex()");
4775 0 : return MS_FAILURE;
4776 : }
4777 :
4778 0 : MS_INIT_COLOR(*self, red, green, blue, alpha);
4779 0 : return MS_SUCCESS;
4780 : }
4781 : else {
4782 0 : msSetError(12, "Invalid hex color.", "setHex()");
4783 0 : return MS_FAILURE;
4784 : }
4785 : }
4786 0 : SWIGINTERN char *colorObj_toHex(colorObj *self){
4787 : char *hexcolor;
4788 :
4789 0 : if (!self)
4790 : {
4791 0 : msSetError(12, "Can't express NULL color as hex",
4792 : "toHex()");
4793 0 : return NULL;
4794 : }
4795 0 : if (self->red < 0 || self->green < 0 || self->blue < 0)
4796 : {
4797 0 : msSetError(12, "Can't express invalid color as hex",
4798 : "toHex()");
4799 0 : return NULL;
4800 : }
4801 0 : if (self->alpha == 255) {
4802 0 : hexcolor = msSmallMalloc(8);
4803 0 : snprintf(hexcolor, 8, "#%02x%02x%02x",
4804 : self->red, self->green, self->blue);
4805 0 : } else if (self->alpha >= 0) {
4806 0 : hexcolor = msSmallMalloc(10);
4807 0 : snprintf(hexcolor, 10, "#%02x%02x%02x%02x",
4808 : self->red, self->green, self->blue, self->alpha);
4809 : } else {
4810 0 : msSetError(12, "Can't express color with invalid alpha as hex",
4811 : "toHex()");
4812 0 : return NULL;
4813 : }
4814 0 : return hexcolor;
4815 : }
4816 0 : SWIGINTERN struct symbolObj *new_symbolObj(char *symbolname,char const *imagefile){
4817 : symbolObj *symbol;
4818 0 : symbol = (symbolObj *) malloc(sizeof(symbolObj));
4819 0 : initSymbol(symbol);
4820 0 : symbol->name = msStrdup(symbolname);
4821 0 : if (imagefile) {
4822 0 : msLoadImageSymbol(symbol, imagefile);
4823 : }
4824 0 : return symbol;
4825 : }
4826 0 : SWIGINTERN void delete_symbolObj(struct symbolObj *self){
4827 0 : if (self) {
4828 0 : if (msFreeSymbol(self)==MS_SUCCESS) {
4829 0 : free(self);
4830 : self=NULL;
4831 : }
4832 : }
4833 0 : }
4834 : SWIGINTERN int symbolObj_setImagepath(struct symbolObj *self,char const *imagefile){
4835 0 : return msLoadImageSymbol(self, imagefile);
4836 : }
4837 0 : SWIGINTERN int symbolObj_setPoints(struct symbolObj *self,lineObj *line){
4838 : int i;
4839 0 : self->sizex = 0;
4840 0 : self->sizey = 0;
4841 0 : for (i=0; i<line->numpoints; i++) {
4842 0 : MS_COPYPOINT(&(self->points[i]), &(line->point[i]));
4843 0 : self->sizex = MS_MAX(self->sizex, self->points[i].x);
4844 0 : self->sizey = MS_MAX(self->sizey, self->points[i].y);
4845 : }
4846 0 : self->numpoints = line->numpoints;
4847 0 : return self->numpoints;
4848 : }
4849 0 : SWIGINTERN lineObj *symbolObj_getPoints(struct symbolObj *self){
4850 : int i;
4851 : lineObj *line;
4852 0 : line = (lineObj *) malloc(sizeof(lineObj));
4853 0 : line->point = (pointObj *) malloc(sizeof(pointObj)*(self->numpoints));
4854 0 : for (i=0; i<self->numpoints; i++) {
4855 0 : line->point[i].x = self->points[i].x;
4856 0 : line->point[i].y = self->points[i].y;
4857 : }
4858 0 : line->numpoints = self->numpoints;
4859 0 : return line;
4860 : }
4861 0 : SWIGINTERN imageObj *symbolObj_getImage(struct symbolObj *self,outputFormatObj *input_format){
4862 : imageObj *image = NULL;
4863 : outputFormatObj *format = NULL;
4864 : rendererVTableObj *renderer = NULL;
4865 :
4866 0 : if (input_format)
4867 : {
4868 : format = input_format;
4869 : }
4870 : else
4871 : {
4872 0 : format = msCreateDefaultOutputFormat(NULL, "AGG/PNG", "aggpng");
4873 0 : if (format)
4874 0 : msInitializeRendererVTable(format);
4875 : }
4876 :
4877 0 : if (format == NULL)
4878 : {
4879 0 : msSetError(15, "Could not create output format",
4880 : "getImage()");
4881 0 : return NULL;
4882 : }
4883 :
4884 0 : renderer = format->vtable;
4885 0 : msPreloadImageSymbol(renderer, self);
4886 0 : if (self->pixmap_buffer)
4887 : {
4888 0 : image = msImageCreate(self->pixmap_buffer->width, self->pixmap_buffer->height, format, NULL, NULL,
4889 : MS_DEFAULT_RESOLUTION, MS_DEFAULT_RESOLUTION, NULL);
4890 0 : if(!image) {
4891 0 : msSetError(15, "Could not create image",
4892 : "getImage()");
4893 0 : return NULL;
4894 : }
4895 0 : if(MS_SUCCESS != renderer->mergeRasterBuffer(image, self->pixmap_buffer, 1.0, 0, 0, 0, 0,
4896 0 : self->pixmap_buffer->width, self->pixmap_buffer->height)) {
4897 0 : msSetError(15, "Could not merge symbol image",
4898 : "getImage()");
4899 0 : msFreeImage(image);
4900 0 : return NULL;
4901 : }
4902 : }
4903 :
4904 0 : return image;
4905 : }
4906 0 : SWIGINTERN int symbolObj_setImage(struct symbolObj *self,imageObj *image){
4907 : rendererVTableObj *renderer = NULL;
4908 :
4909 0 : renderer = image->format->vtable;
4910 :
4911 0 : if (self->pixmap_buffer) {
4912 0 : msFreeRasterBuffer(self->pixmap_buffer);
4913 0 : free(self->pixmap_buffer);
4914 : }
4915 :
4916 0 : self->pixmap_buffer = (rasterBufferObj*)malloc(sizeof(rasterBufferObj));
4917 0 : if (!self->pixmap_buffer) {
4918 0 : msSetError(2, NULL, "setImage()");
4919 : return MS_FAILURE;
4920 : }
4921 0 : self->type = MS_SYMBOL_PIXMAP;
4922 0 : return renderer->getRasterBufferCopy(image, self->pixmap_buffer);
4923 : }
4924 : SWIGINTERN struct errorObj *new_errorObj(void){
4925 0 : return msGetErrorObj();
4926 : }
4927 : SWIGINTERN void delete_errorObj(struct errorObj *self){}
4928 0 : SWIGINTERN errorObj *errorObj_next(struct errorObj *self){
4929 : errorObj *ep;
4930 :
4931 0 : if (self == NULL || self->next == NULL) return NULL;
4932 :
4933 0 : ep = msGetErrorObj();
4934 0 : while (ep != self) {
4935 : /* We reached end of list of active errorObj and
4936 : didn't find the errorObj... this is bad! */
4937 0 : if (ep->next == NULL) return NULL;
4938 : ep = ep->next;
4939 : }
4940 :
4941 0 : return ep->next;
4942 : }
4943 :
4944 : #include "../../mapserver.h"
4945 :
4946 :
4947 : #include "../../maphash.h"
4948 :
4949 : SWIGINTERN hashTableObj *new_hashTableObj(void){
4950 :
4951 0 : return msCreateHashTable();
4952 : }
4953 : SWIGINTERN void delete_hashTableObj(hashTableObj *self){
4954 1 : msFreeHashTable(self);
4955 : }
4956 : SWIGINTERN int hashTableObj_set(hashTableObj *self,char *key,char *value){
4957 0 : if (msInsertHashTable(self, key, value) == NULL) {
4958 : return MS_FAILURE;
4959 : }
4960 : return MS_SUCCESS;
4961 : }
4962 1 : SWIGINTERN char *hashTableObj_get(hashTableObj *self,char *key,char *default_value){
4963 : char *value = NULL;
4964 1 : if (!key) {
4965 0 : msSetError(16, "NULL key", "get");
4966 : }
4967 :
4968 1 : value = (char *) msLookupHashTable(self, key);
4969 1 : if (!value) {
4970 : return default_value;
4971 : }
4972 1 : return value;
4973 : }
4974 : SWIGINTERN int hashTableObj_remove(hashTableObj *self,char *key){
4975 0 : return msRemoveHashTable(self, key);
4976 : }
4977 : SWIGINTERN void hashTableObj_clear(hashTableObj *self){
4978 0 : msFreeHashItems(self);
4979 0 : initHashTable(self);
4980 : }
4981 : SWIGINTERN char const *hashTableObj_nextKey(hashTableObj *self,char *prevkey){
4982 0 : return msNextKeyFromHashTable(self, (const char *) prevkey);
4983 : }
4984 :
4985 1 : static char *msGetEnvURL( const char *key, void *thread_context )
4986 : {
4987 1 : if( strcmp(key,"REQUEST_METHOD") == 0 )
4988 : return "GET";
4989 :
4990 1 : if( strcmp(key,"QUERY_STRING") == 0 )
4991 1 : return (char *) thread_context;
4992 :
4993 : return NULL;
4994 : }
4995 :
4996 1 : SWIGINTERN cgiRequestObj *new_cgiRequestObj(void){
4997 : cgiRequestObj *request;
4998 :
4999 1 : request = msAllocCgiObj();
5000 1 : if (!request) {
5001 0 : msSetError(13, "Failed to initialize object","OWSRequest()");
5002 0 : return NULL;
5003 : }
5004 :
5005 : return request;
5006 : }
5007 : SWIGINTERN void delete_cgiRequestObj(cgiRequestObj *self){
5008 1 : msFreeCgiObj(self);
5009 : }
5010 : SWIGINTERN int cgiRequestObj_loadParams(cgiRequestObj *self){
5011 0 : self->NumParams = loadParams( self, NULL, NULL, 0, NULL);
5012 : return self->NumParams;
5013 : }
5014 : SWIGINTERN int cgiRequestObj_loadParamsFromURL(cgiRequestObj *self,char const *url){
5015 1 : self->NumParams = loadParams( self, msGetEnvURL, NULL, 0, (void*)url );
5016 : return self->NumParams;
5017 : }
5018 0 : SWIGINTERN void cgiRequestObj_setParameter(cgiRequestObj *self,char *name,char *value){
5019 : int i;
5020 :
5021 0 : if (self->NumParams == 100) {
5022 0 : msSetError(31, "Maximum number of items, %d, has been reached", "setItem()", 100);
5023 : }
5024 :
5025 0 : for (i=0; i<self->NumParams; i++) {
5026 0 : if (strcasecmp(self->ParamNames[i], name) == 0) {
5027 0 : free(self->ParamValues[i]);
5028 0 : self->ParamValues[i] = msStrdup(value);
5029 0 : break;
5030 : }
5031 : }
5032 0 : if (i == self->NumParams) {
5033 0 : self->ParamNames[self->NumParams] = msStrdup(name);
5034 0 : self->ParamValues[self->NumParams] = msStrdup(value);
5035 0 : self->NumParams++;
5036 : }
5037 0 : }
5038 0 : SWIGINTERN void cgiRequestObj_addParameter(cgiRequestObj *self,char *name,char *value){
5039 0 : if (self->NumParams == 100) {
5040 0 : msSetError(31, "Maximum number of items, %d, has been reached", "addParameter()", 100);
5041 : }
5042 0 : self->ParamNames[self->NumParams] = msStrdup(name);
5043 0 : self->ParamValues[self->NumParams] = msStrdup(value);
5044 0 : self->NumParams++;
5045 0 : }
5046 1 : SWIGINTERN char *cgiRequestObj_getName(cgiRequestObj *self,int index){
5047 1 : if (index < 0 || index >= self->NumParams) {
5048 0 : msSetError(31, "Invalid index, valid range is [0, %d]", "getName()", self->NumParams-1);
5049 : return NULL;
5050 : }
5051 1 : return self->ParamNames[index];
5052 : }
5053 1 : SWIGINTERN char *cgiRequestObj_getValue(cgiRequestObj *self,int index){
5054 1 : if (index < 0 || index >= self->NumParams) {
5055 0 : msSetError(31, "Invalid index, valid range is [0, %d]", "getValue()", self->NumParams-1);
5056 : return NULL;
5057 : }
5058 1 : return self->ParamValues[index];
5059 : }
5060 1 : SWIGINTERN char *cgiRequestObj_getValueByName(cgiRequestObj *self,char const *name){
5061 : int i;
5062 1 : for (i=0; i<self->NumParams; i++) {
5063 1 : if (strcasecmp(self->ParamNames[i], name) == 0) {
5064 1 : return self->ParamValues[i];
5065 : }
5066 : }
5067 : return NULL;
5068 : }
5069 :
5070 :
5071 0 : const char *msIO_getStdoutBufferString() {
5072 0 : msIOContext *ctx = msIO_getHandler( (FILE *) "stdout" );
5073 : msIOBuffer *buf;
5074 :
5075 0 : if( ctx == NULL || ctx->write_channel == MS_FALSE
5076 0 : || strcmp(ctx->label,"buffer") != 0 )
5077 : {
5078 0 : msSetError( MS_MISCERR, "Can't identify msIO buffer.",
5079 : "msIO_getStdoutBufferString" );
5080 0 : return "";
5081 : }
5082 :
5083 0 : buf = (msIOBuffer *) ctx->cbData;
5084 :
5085 : /* write one zero byte and backtrack if it isn't already there */
5086 0 : if( buf->data_len == 0 || buf->data[buf->data_offset] != '\0' ) {
5087 0 : msIO_bufferWrite( buf, "", 1 );
5088 0 : buf->data_offset--;
5089 : }
5090 :
5091 0 : return (const char *) (buf->data);
5092 : }
5093 :
5094 1 : gdBuffer msIO_getStdoutBufferBytes() {
5095 1 : msIOContext *ctx = msIO_getHandler( (FILE *) "stdout" );
5096 : msIOBuffer *buf;
5097 : gdBuffer gdBuf;
5098 :
5099 1 : if( ctx == NULL || ctx->write_channel == MS_FALSE
5100 1 : || strcmp(ctx->label,"buffer") != 0 )
5101 : {
5102 0 : msSetError( MS_MISCERR, "Can't identify msIO buffer.",
5103 : "msIO_getStdoutBufferString" );
5104 : gdBuf.data = (unsigned char*)"";
5105 : gdBuf.size = 0;
5106 : gdBuf.owns_data = MS_FALSE;
5107 0 : return gdBuf;
5108 : }
5109 :
5110 1 : buf = (msIOBuffer *) ctx->cbData;
5111 :
5112 1 : gdBuf.data = buf->data;
5113 1 : gdBuf.size = buf->data_offset;
5114 : gdBuf.owns_data = MS_TRUE;
5115 :
5116 : /* we are seizing ownership of the buffer contents */
5117 1 : buf->data_offset = 0;
5118 1 : buf->data_len = 0;
5119 1 : buf->data = NULL;
5120 :
5121 1 : return gdBuf;
5122 : }
5123 :
5124 :
5125 : #ifdef __cplusplus
5126 : extern "C" {
5127 : #endif
5128 :
5129 : #ifdef PERL_OBJECT
5130 : #define MAGIC_CLASS _wrap_mapscript_var::
5131 : class _wrap_mapscript_var : public CPerlObj {
5132 : public:
5133 : #else
5134 : #define MAGIC_CLASS
5135 : #endif
5136 : SWIGCLASS_STATIC int swig_magic_readonly(pTHX_ SV *SWIGUNUSEDPARM(sv), MAGIC *SWIGUNUSEDPARM(mg)) {
5137 : MAGIC_PPERL
5138 : croak("Value is read-only.");
5139 : return 0;
5140 : }
5141 :
5142 :
5143 : #ifdef PERL_OBJECT
5144 : };
5145 : #endif
5146 :
5147 : #ifdef __cplusplus
5148 : }
5149 : #endif
5150 :
5151 : #ifdef __cplusplus
5152 : extern "C" {
5153 : #endif
5154 0 : XS(_wrap_new_intarray) {
5155 : {
5156 : size_t arg1 ;
5157 : size_t val1 ;
5158 : int ecode1 = 0 ;
5159 : int argvi = 0;
5160 : intarray *result = 0 ;
5161 0 : dXSARGS;
5162 :
5163 0 : if ((items < 1) || (items > 1)) {
5164 0 : SWIG_croak("Usage: new_intarray(nelements);");
5165 : }
5166 0 : ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
5167 0 : if (!SWIG_IsOK(ecode1)) {
5168 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_intarray" "', argument " "1"" of type '" "size_t""'");
5169 : }
5170 0 : arg1 = (size_t)(val1);
5171 : result = (intarray *)new_intarray(arg1);
5172 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intarray, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5173 :
5174 0 : XSRETURN(argvi);
5175 : fail:
5176 :
5177 0 : SWIG_croak_null();
5178 : }
5179 : }
5180 :
5181 :
5182 0 : XS(_wrap_delete_intarray) {
5183 : {
5184 : intarray *arg1 = (intarray *) 0 ;
5185 0 : void *argp1 = 0 ;
5186 : int res1 = 0 ;
5187 : int argvi = 0;
5188 0 : dXSARGS;
5189 :
5190 0 : if ((items < 1) || (items > 1)) {
5191 0 : SWIG_croak("Usage: delete_intarray(self);");
5192 : }
5193 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, SWIG_POINTER_DISOWN | 0 );
5194 0 : if (!SWIG_IsOK(res1)) {
5195 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_intarray" "', argument " "1"" of type '" "intarray *""'");
5196 : }
5197 0 : arg1 = (intarray *)(argp1);
5198 : delete_intarray(arg1);
5199 0 : ST(argvi) = sv_newmortal();
5200 :
5201 0 : XSRETURN(argvi);
5202 : fail:
5203 :
5204 0 : SWIG_croak_null();
5205 : }
5206 : }
5207 :
5208 :
5209 0 : XS(_wrap_intarray_getitem) {
5210 : {
5211 : intarray *arg1 = (intarray *) 0 ;
5212 : size_t arg2 ;
5213 0 : void *argp1 = 0 ;
5214 : int res1 = 0 ;
5215 : size_t val2 ;
5216 : int ecode2 = 0 ;
5217 : int argvi = 0;
5218 : int result;
5219 0 : dXSARGS;
5220 :
5221 0 : if ((items < 2) || (items > 2)) {
5222 0 : SWIG_croak("Usage: intarray_getitem(self,index);");
5223 : }
5224 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, 0 | 0 );
5225 0 : if (!SWIG_IsOK(res1)) {
5226 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_getitem" "', argument " "1"" of type '" "intarray *""'");
5227 : }
5228 0 : arg1 = (intarray *)(argp1);
5229 0 : ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5230 0 : if (!SWIG_IsOK(ecode2)) {
5231 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "intarray_getitem" "', argument " "2"" of type '" "size_t""'");
5232 : }
5233 0 : arg2 = (size_t)(val2);
5234 : result = (int)intarray_getitem(arg1,arg2);
5235 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5236 :
5237 :
5238 0 : XSRETURN(argvi);
5239 : fail:
5240 :
5241 :
5242 0 : SWIG_croak_null();
5243 : }
5244 : }
5245 :
5246 :
5247 0 : XS(_wrap_intarray_setitem) {
5248 : {
5249 : intarray *arg1 = (intarray *) 0 ;
5250 : size_t arg2 ;
5251 : int arg3 ;
5252 0 : void *argp1 = 0 ;
5253 : int res1 = 0 ;
5254 : size_t val2 ;
5255 : int ecode2 = 0 ;
5256 : int val3 ;
5257 : int ecode3 = 0 ;
5258 : int argvi = 0;
5259 0 : dXSARGS;
5260 :
5261 0 : if ((items < 3) || (items > 3)) {
5262 0 : SWIG_croak("Usage: intarray_setitem(self,index,value);");
5263 : }
5264 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, 0 | 0 );
5265 0 : if (!SWIG_IsOK(res1)) {
5266 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_setitem" "', argument " "1"" of type '" "intarray *""'");
5267 : }
5268 0 : arg1 = (intarray *)(argp1);
5269 0 : ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5270 0 : if (!SWIG_IsOK(ecode2)) {
5271 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "intarray_setitem" "', argument " "2"" of type '" "size_t""'");
5272 : }
5273 0 : arg2 = (size_t)(val2);
5274 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
5275 0 : if (!SWIG_IsOK(ecode3)) {
5276 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "intarray_setitem" "', argument " "3"" of type '" "int""'");
5277 : }
5278 0 : arg3 = (int)(val3);
5279 : intarray_setitem(arg1,arg2,arg3);
5280 0 : ST(argvi) = sv_newmortal();
5281 :
5282 :
5283 :
5284 0 : XSRETURN(argvi);
5285 : fail:
5286 :
5287 :
5288 :
5289 0 : SWIG_croak_null();
5290 : }
5291 : }
5292 :
5293 :
5294 0 : XS(_wrap_intarray_cast) {
5295 : {
5296 : intarray *arg1 = (intarray *) 0 ;
5297 0 : void *argp1 = 0 ;
5298 : int res1 = 0 ;
5299 : int argvi = 0;
5300 : int *result = 0 ;
5301 0 : dXSARGS;
5302 :
5303 0 : if ((items < 1) || (items > 1)) {
5304 0 : SWIG_croak("Usage: intarray_cast(self);");
5305 : }
5306 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, 0 | 0 );
5307 0 : if (!SWIG_IsOK(res1)) {
5308 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_cast" "', argument " "1"" of type '" "intarray *""'");
5309 : }
5310 0 : arg1 = (intarray *)(argp1);
5311 : result = (int *)intarray_cast(arg1);
5312 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
5313 :
5314 0 : XSRETURN(argvi);
5315 : fail:
5316 :
5317 0 : SWIG_croak_null();
5318 : }
5319 : }
5320 :
5321 :
5322 0 : XS(_wrap_intarray_frompointer) {
5323 : {
5324 : int *arg1 = (int *) 0 ;
5325 0 : void *argp1 = 0 ;
5326 : int res1 = 0 ;
5327 : int argvi = 0;
5328 : intarray *result = 0 ;
5329 0 : dXSARGS;
5330 :
5331 0 : if ((items < 1) || (items > 1)) {
5332 0 : SWIG_croak("Usage: intarray_frompointer(t);");
5333 : }
5334 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_int, 0 | 0 );
5335 0 : if (!SWIG_IsOK(res1)) {
5336 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_frompointer" "', argument " "1"" of type '" "int *""'");
5337 : }
5338 0 : arg1 = (int *)(argp1);
5339 : result = (intarray *)intarray_frompointer(arg1);
5340 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intarray, 0 | SWIG_SHADOW); argvi++ ;
5341 :
5342 0 : XSRETURN(argvi);
5343 : fail:
5344 :
5345 0 : SWIG_croak_null();
5346 : }
5347 : }
5348 :
5349 :
5350 0 : XS(_wrap_CompositingFilter_filter_set) {
5351 : {
5352 : struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
5353 : char *arg2 = (char *) 0 ;
5354 0 : void *argp1 = 0 ;
5355 : int res1 = 0 ;
5356 : int res2 ;
5357 0 : char *buf2 = 0 ;
5358 0 : int alloc2 = 0 ;
5359 : int argvi = 0;
5360 0 : dXSARGS;
5361 :
5362 0 : if ((items < 2) || (items > 2)) {
5363 0 : SWIG_croak("Usage: CompositingFilter_filter_set(self,filter);");
5364 : }
5365 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 | 0 );
5366 0 : if (!SWIG_IsOK(res1)) {
5367 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_filter_set" "', argument " "1"" of type '" "struct _CompositingFilter *""'");
5368 : }
5369 0 : arg1 = (struct _CompositingFilter *)(argp1);
5370 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
5371 0 : if (!SWIG_IsOK(res2)) {
5372 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CompositingFilter_filter_set" "', argument " "2"" of type '" "char *""'");
5373 : }
5374 0 : arg2 = (char *)(buf2);
5375 : {
5376 0 : if (arg1->filter) free((char*)arg1->filter);
5377 0 : if (arg2) {
5378 0 : arg1->filter = (char *) malloc(strlen(arg2)+1);
5379 : strcpy((char*)arg1->filter,arg2);
5380 : } else {
5381 0 : arg1->filter = 0;
5382 : }
5383 : }
5384 0 : ST(argvi) = sv_newmortal();
5385 :
5386 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5387 0 : XSRETURN(argvi);
5388 : fail:
5389 :
5390 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
5391 0 : SWIG_croak_null();
5392 : }
5393 : }
5394 :
5395 :
5396 0 : XS(_wrap_CompositingFilter_filter_get) {
5397 : {
5398 : struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
5399 0 : void *argp1 = 0 ;
5400 : int res1 = 0 ;
5401 : int argvi = 0;
5402 : char *result = 0 ;
5403 0 : dXSARGS;
5404 :
5405 0 : if ((items < 1) || (items > 1)) {
5406 0 : SWIG_croak("Usage: CompositingFilter_filter_get(self);");
5407 : }
5408 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 | 0 );
5409 0 : if (!SWIG_IsOK(res1)) {
5410 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_filter_get" "', argument " "1"" of type '" "struct _CompositingFilter *""'");
5411 : }
5412 0 : arg1 = (struct _CompositingFilter *)(argp1);
5413 0 : result = (char *) ((arg1)->filter);
5414 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
5415 :
5416 0 : XSRETURN(argvi);
5417 : fail:
5418 :
5419 0 : SWIG_croak_null();
5420 : }
5421 : }
5422 :
5423 :
5424 0 : XS(_wrap_CompositingFilter_next_set) {
5425 : {
5426 : struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
5427 : struct _CompositingFilter *arg2 = (struct _CompositingFilter *) 0 ;
5428 0 : void *argp1 = 0 ;
5429 : int res1 = 0 ;
5430 0 : void *argp2 = 0 ;
5431 : int res2 = 0 ;
5432 : int argvi = 0;
5433 0 : dXSARGS;
5434 :
5435 0 : if ((items < 2) || (items > 2)) {
5436 0 : SWIG_croak("Usage: CompositingFilter_next_set(self,next);");
5437 : }
5438 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 | 0 );
5439 0 : if (!SWIG_IsOK(res1)) {
5440 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_next_set" "', argument " "1"" of type '" "struct _CompositingFilter *""'");
5441 : }
5442 0 : arg1 = (struct _CompositingFilter *)(argp1);
5443 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__CompositingFilter, SWIG_POINTER_DISOWN | 0 );
5444 0 : if (!SWIG_IsOK(res2)) {
5445 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CompositingFilter_next_set" "', argument " "2"" of type '" "struct _CompositingFilter *""'");
5446 : }
5447 0 : arg2 = (struct _CompositingFilter *)(argp2);
5448 0 : if (arg1) (arg1)->next = arg2;
5449 0 : ST(argvi) = sv_newmortal();
5450 :
5451 :
5452 0 : XSRETURN(argvi);
5453 : fail:
5454 :
5455 :
5456 0 : SWIG_croak_null();
5457 : }
5458 : }
5459 :
5460 :
5461 0 : XS(_wrap_CompositingFilter_next_get) {
5462 : {
5463 : struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
5464 0 : void *argp1 = 0 ;
5465 : int res1 = 0 ;
5466 : int argvi = 0;
5467 : struct _CompositingFilter *result = 0 ;
5468 0 : dXSARGS;
5469 :
5470 0 : if ((items < 1) || (items > 1)) {
5471 0 : SWIG_croak("Usage: CompositingFilter_next_get(self);");
5472 : }
5473 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 | 0 );
5474 0 : if (!SWIG_IsOK(res1)) {
5475 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_next_get" "', argument " "1"" of type '" "struct _CompositingFilter *""'");
5476 : }
5477 0 : arg1 = (struct _CompositingFilter *)(argp1);
5478 0 : result = (struct _CompositingFilter *) ((arg1)->next);
5479 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__CompositingFilter, 0 | SWIG_SHADOW); argvi++ ;
5480 :
5481 0 : XSRETURN(argvi);
5482 : fail:
5483 :
5484 0 : SWIG_croak_null();
5485 : }
5486 : }
5487 :
5488 :
5489 0 : XS(_wrap_new_CompositingFilter) {
5490 : {
5491 : int argvi = 0;
5492 : struct _CompositingFilter *result = 0 ;
5493 0 : dXSARGS;
5494 :
5495 0 : if ((items < 0) || (items > 0)) {
5496 0 : SWIG_croak("Usage: new_CompositingFilter();");
5497 : }
5498 0 : result = (struct _CompositingFilter *)calloc(1, sizeof(struct _CompositingFilter));
5499 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__CompositingFilter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5500 0 : XSRETURN(argvi);
5501 : fail:
5502 0 : SWIG_croak_null();
5503 : }
5504 : }
5505 :
5506 :
5507 0 : XS(_wrap_delete_CompositingFilter) {
5508 : {
5509 : struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
5510 0 : void *argp1 = 0 ;
5511 : int res1 = 0 ;
5512 : int argvi = 0;
5513 0 : dXSARGS;
5514 :
5515 0 : if ((items < 1) || (items > 1)) {
5516 0 : SWIG_croak("Usage: delete_CompositingFilter(self);");
5517 : }
5518 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, SWIG_POINTER_DISOWN | 0 );
5519 0 : if (!SWIG_IsOK(res1)) {
5520 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CompositingFilter" "', argument " "1"" of type '" "struct _CompositingFilter *""'");
5521 : }
5522 0 : arg1 = (struct _CompositingFilter *)(argp1);
5523 0 : free((char *) arg1);
5524 0 : ST(argvi) = sv_newmortal();
5525 :
5526 0 : XSRETURN(argvi);
5527 : fail:
5528 :
5529 0 : SWIG_croak_null();
5530 : }
5531 : }
5532 :
5533 :
5534 0 : XS(_wrap_LayerCompositer_comp_op_set) {
5535 : {
5536 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5537 : CompositingOperation arg2 ;
5538 0 : void *argp1 = 0 ;
5539 : int res1 = 0 ;
5540 : int val2 ;
5541 : int ecode2 = 0 ;
5542 : int argvi = 0;
5543 0 : dXSARGS;
5544 :
5545 0 : if ((items < 2) || (items > 2)) {
5546 0 : SWIG_croak("Usage: LayerCompositer_comp_op_set(self,comp_op);");
5547 : }
5548 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5549 0 : if (!SWIG_IsOK(res1)) {
5550 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_comp_op_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5551 : }
5552 0 : arg1 = (struct _LayerCompositer *)(argp1);
5553 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5554 0 : if (!SWIG_IsOK(ecode2)) {
5555 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LayerCompositer_comp_op_set" "', argument " "2"" of type '" "CompositingOperation""'");
5556 : }
5557 0 : arg2 = (CompositingOperation)(val2);
5558 0 : if (arg1) (arg1)->comp_op = arg2;
5559 0 : ST(argvi) = sv_newmortal();
5560 :
5561 :
5562 0 : XSRETURN(argvi);
5563 : fail:
5564 :
5565 :
5566 0 : SWIG_croak_null();
5567 : }
5568 : }
5569 :
5570 :
5571 0 : XS(_wrap_LayerCompositer_comp_op_get) {
5572 : {
5573 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5574 0 : void *argp1 = 0 ;
5575 : int res1 = 0 ;
5576 : int argvi = 0;
5577 : CompositingOperation result;
5578 0 : dXSARGS;
5579 :
5580 0 : if ((items < 1) || (items > 1)) {
5581 0 : SWIG_croak("Usage: LayerCompositer_comp_op_get(self);");
5582 : }
5583 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5584 0 : if (!SWIG_IsOK(res1)) {
5585 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_comp_op_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5586 : }
5587 0 : arg1 = (struct _LayerCompositer *)(argp1);
5588 0 : result = (CompositingOperation) ((arg1)->comp_op);
5589 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5590 :
5591 0 : XSRETURN(argvi);
5592 : fail:
5593 :
5594 0 : SWIG_croak_null();
5595 : }
5596 : }
5597 :
5598 :
5599 0 : XS(_wrap_LayerCompositer_opacity_set) {
5600 : {
5601 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5602 : int arg2 ;
5603 0 : void *argp1 = 0 ;
5604 : int res1 = 0 ;
5605 : int val2 ;
5606 : int ecode2 = 0 ;
5607 : int argvi = 0;
5608 0 : dXSARGS;
5609 :
5610 0 : if ((items < 2) || (items > 2)) {
5611 0 : SWIG_croak("Usage: LayerCompositer_opacity_set(self,opacity);");
5612 : }
5613 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5614 0 : if (!SWIG_IsOK(res1)) {
5615 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_opacity_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5616 : }
5617 0 : arg1 = (struct _LayerCompositer *)(argp1);
5618 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5619 0 : if (!SWIG_IsOK(ecode2)) {
5620 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LayerCompositer_opacity_set" "', argument " "2"" of type '" "int""'");
5621 : }
5622 0 : arg2 = (int)(val2);
5623 0 : if (arg1) (arg1)->opacity = arg2;
5624 0 : ST(argvi) = sv_newmortal();
5625 :
5626 :
5627 0 : XSRETURN(argvi);
5628 : fail:
5629 :
5630 :
5631 0 : SWIG_croak_null();
5632 : }
5633 : }
5634 :
5635 :
5636 0 : XS(_wrap_LayerCompositer_opacity_get) {
5637 : {
5638 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5639 0 : void *argp1 = 0 ;
5640 : int res1 = 0 ;
5641 : int argvi = 0;
5642 : int result;
5643 0 : dXSARGS;
5644 :
5645 0 : if ((items < 1) || (items > 1)) {
5646 0 : SWIG_croak("Usage: LayerCompositer_opacity_get(self);");
5647 : }
5648 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5649 0 : if (!SWIG_IsOK(res1)) {
5650 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_opacity_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5651 : }
5652 0 : arg1 = (struct _LayerCompositer *)(argp1);
5653 0 : result = (int) ((arg1)->opacity);
5654 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5655 :
5656 0 : XSRETURN(argvi);
5657 : fail:
5658 :
5659 0 : SWIG_croak_null();
5660 : }
5661 : }
5662 :
5663 :
5664 0 : XS(_wrap_LayerCompositer_filter_set) {
5665 : {
5666 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5667 : CompositingFilter *arg2 = (CompositingFilter *) 0 ;
5668 0 : void *argp1 = 0 ;
5669 : int res1 = 0 ;
5670 0 : void *argp2 = 0 ;
5671 : int res2 = 0 ;
5672 : int argvi = 0;
5673 0 : dXSARGS;
5674 :
5675 0 : if ((items < 2) || (items > 2)) {
5676 0 : SWIG_croak("Usage: LayerCompositer_filter_set(self,filter);");
5677 : }
5678 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5679 0 : if (!SWIG_IsOK(res1)) {
5680 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_filter_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5681 : }
5682 0 : arg1 = (struct _LayerCompositer *)(argp1);
5683 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__CompositingFilter, SWIG_POINTER_DISOWN | 0 );
5684 0 : if (!SWIG_IsOK(res2)) {
5685 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayerCompositer_filter_set" "', argument " "2"" of type '" "CompositingFilter *""'");
5686 : }
5687 0 : arg2 = (CompositingFilter *)(argp2);
5688 0 : if (arg1) (arg1)->filter = arg2;
5689 0 : ST(argvi) = sv_newmortal();
5690 :
5691 :
5692 0 : XSRETURN(argvi);
5693 : fail:
5694 :
5695 :
5696 0 : SWIG_croak_null();
5697 : }
5698 : }
5699 :
5700 :
5701 0 : XS(_wrap_LayerCompositer_filter_get) {
5702 : {
5703 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5704 0 : void *argp1 = 0 ;
5705 : int res1 = 0 ;
5706 : int argvi = 0;
5707 : CompositingFilter *result = 0 ;
5708 0 : dXSARGS;
5709 :
5710 0 : if ((items < 1) || (items > 1)) {
5711 0 : SWIG_croak("Usage: LayerCompositer_filter_get(self);");
5712 : }
5713 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5714 0 : if (!SWIG_IsOK(res1)) {
5715 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_filter_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5716 : }
5717 0 : arg1 = (struct _LayerCompositer *)(argp1);
5718 0 : result = (CompositingFilter *) ((arg1)->filter);
5719 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__CompositingFilter, 0 | SWIG_SHADOW); argvi++ ;
5720 :
5721 0 : XSRETURN(argvi);
5722 : fail:
5723 :
5724 0 : SWIG_croak_null();
5725 : }
5726 : }
5727 :
5728 :
5729 0 : XS(_wrap_LayerCompositer_next_set) {
5730 : {
5731 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5732 : struct _LayerCompositer *arg2 = (struct _LayerCompositer *) 0 ;
5733 0 : void *argp1 = 0 ;
5734 : int res1 = 0 ;
5735 0 : void *argp2 = 0 ;
5736 : int res2 = 0 ;
5737 : int argvi = 0;
5738 0 : dXSARGS;
5739 :
5740 0 : if ((items < 2) || (items > 2)) {
5741 0 : SWIG_croak("Usage: LayerCompositer_next_set(self,next);");
5742 : }
5743 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5744 0 : if (!SWIG_IsOK(res1)) {
5745 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_next_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5746 : }
5747 0 : arg1 = (struct _LayerCompositer *)(argp1);
5748 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__LayerCompositer, SWIG_POINTER_DISOWN | 0 );
5749 0 : if (!SWIG_IsOK(res2)) {
5750 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayerCompositer_next_set" "', argument " "2"" of type '" "struct _LayerCompositer *""'");
5751 : }
5752 0 : arg2 = (struct _LayerCompositer *)(argp2);
5753 0 : if (arg1) (arg1)->next = arg2;
5754 0 : ST(argvi) = sv_newmortal();
5755 :
5756 :
5757 0 : XSRETURN(argvi);
5758 : fail:
5759 :
5760 :
5761 0 : SWIG_croak_null();
5762 : }
5763 : }
5764 :
5765 :
5766 0 : XS(_wrap_LayerCompositer_next_get) {
5767 : {
5768 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5769 0 : void *argp1 = 0 ;
5770 : int res1 = 0 ;
5771 : int argvi = 0;
5772 : struct _LayerCompositer *result = 0 ;
5773 0 : dXSARGS;
5774 :
5775 0 : if ((items < 1) || (items > 1)) {
5776 0 : SWIG_croak("Usage: LayerCompositer_next_get(self);");
5777 : }
5778 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 | 0 );
5779 0 : if (!SWIG_IsOK(res1)) {
5780 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_next_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5781 : }
5782 0 : arg1 = (struct _LayerCompositer *)(argp1);
5783 0 : result = (struct _LayerCompositer *) ((arg1)->next);
5784 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__LayerCompositer, 0 | SWIG_SHADOW); argvi++ ;
5785 :
5786 0 : XSRETURN(argvi);
5787 : fail:
5788 :
5789 0 : SWIG_croak_null();
5790 : }
5791 : }
5792 :
5793 :
5794 0 : XS(_wrap_new_LayerCompositer) {
5795 : {
5796 : int argvi = 0;
5797 : struct _LayerCompositer *result = 0 ;
5798 0 : dXSARGS;
5799 :
5800 0 : if ((items < 0) || (items > 0)) {
5801 0 : SWIG_croak("Usage: new_LayerCompositer();");
5802 : }
5803 0 : result = (struct _LayerCompositer *)calloc(1, sizeof(struct _LayerCompositer));
5804 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__LayerCompositer, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5805 0 : XSRETURN(argvi);
5806 : fail:
5807 0 : SWIG_croak_null();
5808 : }
5809 : }
5810 :
5811 :
5812 0 : XS(_wrap_delete_LayerCompositer) {
5813 : {
5814 : struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
5815 0 : void *argp1 = 0 ;
5816 : int res1 = 0 ;
5817 : int argvi = 0;
5818 0 : dXSARGS;
5819 :
5820 0 : if ((items < 1) || (items > 1)) {
5821 0 : SWIG_croak("Usage: delete_LayerCompositer(self);");
5822 : }
5823 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, SWIG_POINTER_DISOWN | 0 );
5824 0 : if (!SWIG_IsOK(res1)) {
5825 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayerCompositer" "', argument " "1"" of type '" "struct _LayerCompositer *""'");
5826 : }
5827 0 : arg1 = (struct _LayerCompositer *)(argp1);
5828 0 : free((char *) arg1);
5829 0 : ST(argvi) = sv_newmortal();
5830 :
5831 0 : XSRETURN(argvi);
5832 : fail:
5833 :
5834 0 : SWIG_croak_null();
5835 : }
5836 : }
5837 :
5838 :
5839 0 : XS(_wrap_fontSetObj_filename_get) {
5840 : {
5841 : fontSetObj *arg1 = (fontSetObj *) 0 ;
5842 0 : void *argp1 = 0 ;
5843 : int res1 = 0 ;
5844 : int argvi = 0;
5845 : char *result = 0 ;
5846 0 : dXSARGS;
5847 :
5848 0 : if ((items < 1) || (items > 1)) {
5849 0 : SWIG_croak("Usage: fontSetObj_filename_get(self);");
5850 : }
5851 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, 0 | 0 );
5852 0 : if (!SWIG_IsOK(res1)) {
5853 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fontSetObj_filename_get" "', argument " "1"" of type '" "fontSetObj *""'");
5854 : }
5855 0 : arg1 = (fontSetObj *)(argp1);
5856 0 : result = (char *) ((arg1)->filename);
5857 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
5858 :
5859 0 : XSRETURN(argvi);
5860 : fail:
5861 :
5862 0 : SWIG_croak_null();
5863 : }
5864 : }
5865 :
5866 :
5867 0 : XS(_wrap_fontSetObj_numfonts_get) {
5868 : {
5869 : fontSetObj *arg1 = (fontSetObj *) 0 ;
5870 0 : void *argp1 = 0 ;
5871 : int res1 = 0 ;
5872 : int argvi = 0;
5873 : int result;
5874 0 : dXSARGS;
5875 :
5876 0 : if ((items < 1) || (items > 1)) {
5877 0 : SWIG_croak("Usage: fontSetObj_numfonts_get(self);");
5878 : }
5879 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, 0 | 0 );
5880 0 : if (!SWIG_IsOK(res1)) {
5881 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fontSetObj_numfonts_get" "', argument " "1"" of type '" "fontSetObj *""'");
5882 : }
5883 0 : arg1 = (fontSetObj *)(argp1);
5884 0 : result = (int) ((arg1)->numfonts);
5885 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
5886 :
5887 0 : XSRETURN(argvi);
5888 : fail:
5889 :
5890 0 : SWIG_croak_null();
5891 : }
5892 : }
5893 :
5894 :
5895 0 : XS(_wrap_fontSetObj_fonts_get) {
5896 : {
5897 : fontSetObj *arg1 = (fontSetObj *) 0 ;
5898 0 : void *argp1 = 0 ;
5899 : int res1 = 0 ;
5900 : int argvi = 0;
5901 : hashTableObj *result = 0 ;
5902 0 : dXSARGS;
5903 :
5904 0 : if ((items < 1) || (items > 1)) {
5905 0 : SWIG_croak("Usage: fontSetObj_fonts_get(self);");
5906 : }
5907 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, 0 | 0 );
5908 0 : if (!SWIG_IsOK(res1)) {
5909 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fontSetObj_fonts_get" "', argument " "1"" of type '" "fontSetObj *""'");
5910 : }
5911 0 : arg1 = (fontSetObj *)(argp1);
5912 0 : result = (hashTableObj *)& ((arg1)->fonts);
5913 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
5914 :
5915 0 : XSRETURN(argvi);
5916 : fail:
5917 :
5918 0 : SWIG_croak_null();
5919 : }
5920 : }
5921 :
5922 :
5923 0 : XS(_wrap_new_fontSetObj) {
5924 : {
5925 : int argvi = 0;
5926 : fontSetObj *result = 0 ;
5927 0 : dXSARGS;
5928 :
5929 0 : if ((items < 0) || (items > 0)) {
5930 0 : SWIG_croak("Usage: new_fontSetObj();");
5931 : }
5932 0 : result = (fontSetObj *)calloc(1, sizeof(fontSetObj));
5933 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fontSetObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
5934 0 : XSRETURN(argvi);
5935 : fail:
5936 0 : SWIG_croak_null();
5937 : }
5938 : }
5939 :
5940 :
5941 0 : XS(_wrap_delete_fontSetObj) {
5942 : {
5943 : fontSetObj *arg1 = (fontSetObj *) 0 ;
5944 0 : void *argp1 = 0 ;
5945 : int res1 = 0 ;
5946 : int argvi = 0;
5947 0 : dXSARGS;
5948 :
5949 0 : if ((items < 1) || (items > 1)) {
5950 0 : SWIG_croak("Usage: delete_fontSetObj(self);");
5951 : }
5952 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, SWIG_POINTER_DISOWN | 0 );
5953 0 : if (!SWIG_IsOK(res1)) {
5954 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_fontSetObj" "', argument " "1"" of type '" "fontSetObj *""'");
5955 : }
5956 0 : arg1 = (fontSetObj *)(argp1);
5957 0 : free((char *) arg1);
5958 0 : ST(argvi) = sv_newmortal();
5959 :
5960 0 : XSRETURN(argvi);
5961 : fail:
5962 :
5963 0 : SWIG_croak_null();
5964 : }
5965 : }
5966 :
5967 :
5968 0 : XS(_wrap_clusterObj_maxdistance_set) {
5969 : {
5970 : clusterObj *arg1 = (clusterObj *) 0 ;
5971 : double arg2 ;
5972 0 : void *argp1 = 0 ;
5973 : int res1 = 0 ;
5974 : double val2 ;
5975 : int ecode2 = 0 ;
5976 : int argvi = 0;
5977 0 : dXSARGS;
5978 :
5979 0 : if ((items < 2) || (items > 2)) {
5980 0 : SWIG_croak("Usage: clusterObj_maxdistance_set(self,maxdistance);");
5981 : }
5982 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
5983 0 : if (!SWIG_IsOK(res1)) {
5984 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_maxdistance_set" "', argument " "1"" of type '" "clusterObj *""'");
5985 : }
5986 0 : arg1 = (clusterObj *)(argp1);
5987 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
5988 0 : if (!SWIG_IsOK(ecode2)) {
5989 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "clusterObj_maxdistance_set" "', argument " "2"" of type '" "double""'");
5990 : }
5991 0 : arg2 = (double)(val2);
5992 0 : if (arg1) (arg1)->maxdistance = arg2;
5993 0 : ST(argvi) = sv_newmortal();
5994 :
5995 :
5996 0 : XSRETURN(argvi);
5997 : fail:
5998 :
5999 :
6000 0 : SWIG_croak_null();
6001 : }
6002 : }
6003 :
6004 :
6005 0 : XS(_wrap_clusterObj_maxdistance_get) {
6006 : {
6007 : clusterObj *arg1 = (clusterObj *) 0 ;
6008 0 : void *argp1 = 0 ;
6009 : int res1 = 0 ;
6010 : int argvi = 0;
6011 : double result;
6012 0 : dXSARGS;
6013 :
6014 0 : if ((items < 1) || (items > 1)) {
6015 0 : SWIG_croak("Usage: clusterObj_maxdistance_get(self);");
6016 : }
6017 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6018 0 : if (!SWIG_IsOK(res1)) {
6019 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_maxdistance_get" "', argument " "1"" of type '" "clusterObj *""'");
6020 : }
6021 0 : arg1 = (clusterObj *)(argp1);
6022 0 : result = (double) ((arg1)->maxdistance);
6023 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
6024 :
6025 0 : XSRETURN(argvi);
6026 : fail:
6027 :
6028 0 : SWIG_croak_null();
6029 : }
6030 : }
6031 :
6032 :
6033 0 : XS(_wrap_clusterObj_buffer_set) {
6034 : {
6035 : clusterObj *arg1 = (clusterObj *) 0 ;
6036 : double arg2 ;
6037 0 : void *argp1 = 0 ;
6038 : int res1 = 0 ;
6039 : double val2 ;
6040 : int ecode2 = 0 ;
6041 : int argvi = 0;
6042 0 : dXSARGS;
6043 :
6044 0 : if ((items < 2) || (items > 2)) {
6045 0 : SWIG_croak("Usage: clusterObj_buffer_set(self,buffer);");
6046 : }
6047 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6048 0 : if (!SWIG_IsOK(res1)) {
6049 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_buffer_set" "', argument " "1"" of type '" "clusterObj *""'");
6050 : }
6051 0 : arg1 = (clusterObj *)(argp1);
6052 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6053 0 : if (!SWIG_IsOK(ecode2)) {
6054 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "clusterObj_buffer_set" "', argument " "2"" of type '" "double""'");
6055 : }
6056 0 : arg2 = (double)(val2);
6057 0 : if (arg1) (arg1)->buffer = arg2;
6058 0 : ST(argvi) = sv_newmortal();
6059 :
6060 :
6061 0 : XSRETURN(argvi);
6062 : fail:
6063 :
6064 :
6065 0 : SWIG_croak_null();
6066 : }
6067 : }
6068 :
6069 :
6070 0 : XS(_wrap_clusterObj_buffer_get) {
6071 : {
6072 : clusterObj *arg1 = (clusterObj *) 0 ;
6073 0 : void *argp1 = 0 ;
6074 : int res1 = 0 ;
6075 : int argvi = 0;
6076 : double result;
6077 0 : dXSARGS;
6078 :
6079 0 : if ((items < 1) || (items > 1)) {
6080 0 : SWIG_croak("Usage: clusterObj_buffer_get(self);");
6081 : }
6082 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6083 0 : if (!SWIG_IsOK(res1)) {
6084 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_buffer_get" "', argument " "1"" of type '" "clusterObj *""'");
6085 : }
6086 0 : arg1 = (clusterObj *)(argp1);
6087 0 : result = (double) ((arg1)->buffer);
6088 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
6089 :
6090 0 : XSRETURN(argvi);
6091 : fail:
6092 :
6093 0 : SWIG_croak_null();
6094 : }
6095 : }
6096 :
6097 :
6098 0 : XS(_wrap_clusterObj_region_set) {
6099 : {
6100 : clusterObj *arg1 = (clusterObj *) 0 ;
6101 : char *arg2 = (char *) 0 ;
6102 0 : void *argp1 = 0 ;
6103 : int res1 = 0 ;
6104 : int res2 ;
6105 0 : char *buf2 = 0 ;
6106 0 : int alloc2 = 0 ;
6107 : int argvi = 0;
6108 0 : dXSARGS;
6109 :
6110 0 : if ((items < 2) || (items > 2)) {
6111 0 : SWIG_croak("Usage: clusterObj_region_set(self,region);");
6112 : }
6113 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6114 0 : if (!SWIG_IsOK(res1)) {
6115 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_region_set" "', argument " "1"" of type '" "clusterObj *""'");
6116 : }
6117 0 : arg1 = (clusterObj *)(argp1);
6118 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6119 0 : if (!SWIG_IsOK(res2)) {
6120 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_region_set" "', argument " "2"" of type '" "char *""'");
6121 : }
6122 0 : arg2 = (char *)(buf2);
6123 : {
6124 0 : if (arg1->region) free((char*)arg1->region);
6125 0 : if (arg2) {
6126 0 : arg1->region = (char *) malloc(strlen(arg2)+1);
6127 : strcpy((char*)arg1->region,arg2);
6128 : } else {
6129 0 : arg1->region = 0;
6130 : }
6131 : }
6132 0 : ST(argvi) = sv_newmortal();
6133 :
6134 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6135 0 : XSRETURN(argvi);
6136 : fail:
6137 :
6138 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6139 0 : SWIG_croak_null();
6140 : }
6141 : }
6142 :
6143 :
6144 0 : XS(_wrap_clusterObj_region_get) {
6145 : {
6146 : clusterObj *arg1 = (clusterObj *) 0 ;
6147 0 : void *argp1 = 0 ;
6148 : int res1 = 0 ;
6149 : int argvi = 0;
6150 : char *result = 0 ;
6151 0 : dXSARGS;
6152 :
6153 0 : if ((items < 1) || (items > 1)) {
6154 0 : SWIG_croak("Usage: clusterObj_region_get(self);");
6155 : }
6156 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6157 0 : if (!SWIG_IsOK(res1)) {
6158 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_region_get" "', argument " "1"" of type '" "clusterObj *""'");
6159 : }
6160 0 : arg1 = (clusterObj *)(argp1);
6161 0 : result = (char *) ((arg1)->region);
6162 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6163 :
6164 0 : XSRETURN(argvi);
6165 : fail:
6166 :
6167 0 : SWIG_croak_null();
6168 : }
6169 : }
6170 :
6171 :
6172 0 : XS(_wrap_clusterObj_updateFromString) {
6173 : {
6174 : clusterObj *arg1 = (clusterObj *) 0 ;
6175 : char *arg2 = (char *) 0 ;
6176 0 : void *argp1 = 0 ;
6177 : int res1 = 0 ;
6178 : int res2 ;
6179 0 : char *buf2 = 0 ;
6180 0 : int alloc2 = 0 ;
6181 : int argvi = 0;
6182 : int result;
6183 0 : dXSARGS;
6184 :
6185 0 : if ((items < 2) || (items > 2)) {
6186 0 : SWIG_croak("Usage: clusterObj_updateFromString(self,snippet);");
6187 : }
6188 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6189 0 : if (!SWIG_IsOK(res1)) {
6190 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_updateFromString" "', argument " "1"" of type '" "clusterObj *""'");
6191 : }
6192 0 : arg1 = (clusterObj *)(argp1);
6193 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6194 0 : if (!SWIG_IsOK(res2)) {
6195 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_updateFromString" "', argument " "2"" of type '" "char *""'");
6196 : }
6197 0 : arg2 = (char *)(buf2);
6198 : result = (int)clusterObj_updateFromString(arg1,arg2);
6199 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6200 :
6201 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6202 0 : XSRETURN(argvi);
6203 : fail:
6204 :
6205 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6206 0 : SWIG_croak_null();
6207 : }
6208 : }
6209 :
6210 :
6211 0 : XS(_wrap_clusterObj_convertToString) {
6212 : {
6213 : clusterObj *arg1 = (clusterObj *) 0 ;
6214 0 : void *argp1 = 0 ;
6215 : int res1 = 0 ;
6216 : int argvi = 0;
6217 : char *result = 0 ;
6218 0 : dXSARGS;
6219 :
6220 0 : if ((items < 1) || (items > 1)) {
6221 0 : SWIG_croak("Usage: clusterObj_convertToString(self);");
6222 : }
6223 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6224 0 : if (!SWIG_IsOK(res1)) {
6225 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_convertToString" "', argument " "1"" of type '" "clusterObj *""'");
6226 : }
6227 0 : arg1 = (clusterObj *)(argp1);
6228 : result = (char *)clusterObj_convertToString(arg1);
6229 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6230 :
6231 0 : free((char*)result);
6232 0 : XSRETURN(argvi);
6233 : fail:
6234 :
6235 0 : SWIG_croak_null();
6236 : }
6237 : }
6238 :
6239 :
6240 0 : XS(_wrap_clusterObj_setGroup) {
6241 : {
6242 : clusterObj *arg1 = (clusterObj *) 0 ;
6243 : char *arg2 = (char *) 0 ;
6244 0 : void *argp1 = 0 ;
6245 : int res1 = 0 ;
6246 : int res2 ;
6247 0 : char *buf2 = 0 ;
6248 0 : int alloc2 = 0 ;
6249 : int argvi = 0;
6250 : int result;
6251 0 : dXSARGS;
6252 :
6253 0 : if ((items < 2) || (items > 2)) {
6254 0 : SWIG_croak("Usage: clusterObj_setGroup(self,group);");
6255 : }
6256 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6257 0 : if (!SWIG_IsOK(res1)) {
6258 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_setGroup" "', argument " "1"" of type '" "clusterObj *""'");
6259 : }
6260 0 : arg1 = (clusterObj *)(argp1);
6261 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6262 0 : if (!SWIG_IsOK(res2)) {
6263 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_setGroup" "', argument " "2"" of type '" "char *""'");
6264 : }
6265 0 : arg2 = (char *)(buf2);
6266 0 : result = (int)clusterObj_setGroup(arg1,arg2);
6267 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6268 :
6269 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6270 0 : XSRETURN(argvi);
6271 : fail:
6272 :
6273 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6274 0 : SWIG_croak_null();
6275 : }
6276 : }
6277 :
6278 :
6279 0 : XS(_wrap_clusterObj_getGroupString) {
6280 : {
6281 : clusterObj *arg1 = (clusterObj *) 0 ;
6282 0 : void *argp1 = 0 ;
6283 : int res1 = 0 ;
6284 : int argvi = 0;
6285 : char *result = 0 ;
6286 0 : dXSARGS;
6287 :
6288 0 : if ((items < 1) || (items > 1)) {
6289 0 : SWIG_croak("Usage: clusterObj_getGroupString(self);");
6290 : }
6291 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6292 0 : if (!SWIG_IsOK(res1)) {
6293 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_getGroupString" "', argument " "1"" of type '" "clusterObj *""'");
6294 : }
6295 0 : arg1 = (clusterObj *)(argp1);
6296 : result = (char *)clusterObj_getGroupString(arg1);
6297 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6298 :
6299 0 : free((char*)result);
6300 0 : XSRETURN(argvi);
6301 : fail:
6302 :
6303 0 : SWIG_croak_null();
6304 : }
6305 : }
6306 :
6307 :
6308 0 : XS(_wrap_clusterObj_setFilter) {
6309 : {
6310 : clusterObj *arg1 = (clusterObj *) 0 ;
6311 : char *arg2 = (char *) 0 ;
6312 0 : void *argp1 = 0 ;
6313 : int res1 = 0 ;
6314 : int res2 ;
6315 0 : char *buf2 = 0 ;
6316 0 : int alloc2 = 0 ;
6317 : int argvi = 0;
6318 : int result;
6319 0 : dXSARGS;
6320 :
6321 0 : if ((items < 2) || (items > 2)) {
6322 0 : SWIG_croak("Usage: clusterObj_setFilter(self,filter);");
6323 : }
6324 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6325 0 : if (!SWIG_IsOK(res1)) {
6326 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_setFilter" "', argument " "1"" of type '" "clusterObj *""'");
6327 : }
6328 0 : arg1 = (clusterObj *)(argp1);
6329 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6330 0 : if (!SWIG_IsOK(res2)) {
6331 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_setFilter" "', argument " "2"" of type '" "char *""'");
6332 : }
6333 0 : arg2 = (char *)(buf2);
6334 0 : result = (int)clusterObj_setFilter(arg1,arg2);
6335 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6336 :
6337 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6338 0 : XSRETURN(argvi);
6339 : fail:
6340 :
6341 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6342 0 : SWIG_croak_null();
6343 : }
6344 : }
6345 :
6346 :
6347 0 : XS(_wrap_clusterObj_getFilterString) {
6348 : {
6349 : clusterObj *arg1 = (clusterObj *) 0 ;
6350 0 : void *argp1 = 0 ;
6351 : int res1 = 0 ;
6352 : int argvi = 0;
6353 : char *result = 0 ;
6354 0 : dXSARGS;
6355 :
6356 0 : if ((items < 1) || (items > 1)) {
6357 0 : SWIG_croak("Usage: clusterObj_getFilterString(self);");
6358 : }
6359 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 | 0 );
6360 0 : if (!SWIG_IsOK(res1)) {
6361 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_getFilterString" "', argument " "1"" of type '" "clusterObj *""'");
6362 : }
6363 0 : arg1 = (clusterObj *)(argp1);
6364 : result = (char *)clusterObj_getFilterString(arg1);
6365 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6366 :
6367 0 : free((char*)result);
6368 0 : XSRETURN(argvi);
6369 : fail:
6370 :
6371 0 : SWIG_croak_null();
6372 : }
6373 : }
6374 :
6375 :
6376 0 : XS(_wrap_new_clusterObj) {
6377 : {
6378 : int argvi = 0;
6379 : clusterObj *result = 0 ;
6380 0 : dXSARGS;
6381 :
6382 0 : if ((items < 0) || (items > 0)) {
6383 0 : SWIG_croak("Usage: new_clusterObj();");
6384 : }
6385 0 : result = (clusterObj *)calloc(1, sizeof(clusterObj));
6386 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_clusterObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
6387 0 : XSRETURN(argvi);
6388 : fail:
6389 0 : SWIG_croak_null();
6390 : }
6391 : }
6392 :
6393 :
6394 0 : XS(_wrap_delete_clusterObj) {
6395 : {
6396 : clusterObj *arg1 = (clusterObj *) 0 ;
6397 0 : void *argp1 = 0 ;
6398 : int res1 = 0 ;
6399 : int argvi = 0;
6400 0 : dXSARGS;
6401 :
6402 0 : if ((items < 1) || (items > 1)) {
6403 0 : SWIG_croak("Usage: delete_clusterObj(self);");
6404 : }
6405 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, SWIG_POINTER_DISOWN | 0 );
6406 0 : if (!SWIG_IsOK(res1)) {
6407 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_clusterObj" "', argument " "1"" of type '" "clusterObj *""'");
6408 : }
6409 0 : arg1 = (clusterObj *)(argp1);
6410 0 : free((char *) arg1);
6411 0 : ST(argvi) = sv_newmortal();
6412 :
6413 0 : XSRETURN(argvi);
6414 : fail:
6415 :
6416 0 : SWIG_croak_null();
6417 : }
6418 : }
6419 :
6420 :
6421 0 : XS(_wrap_outputFormatObj_numformatoptions_get) {
6422 : {
6423 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6424 0 : void *argp1 = 0 ;
6425 : int res1 = 0 ;
6426 : int argvi = 0;
6427 : int result;
6428 0 : dXSARGS;
6429 :
6430 0 : if ((items < 1) || (items > 1)) {
6431 0 : SWIG_croak("Usage: outputFormatObj_numformatoptions_get(self);");
6432 : }
6433 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6434 0 : if (!SWIG_IsOK(res1)) {
6435 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_numformatoptions_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6436 : }
6437 0 : arg1 = (outputFormatObj *)(argp1);
6438 0 : result = (int) ((arg1)->numformatoptions);
6439 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6440 :
6441 0 : XSRETURN(argvi);
6442 : fail:
6443 :
6444 0 : SWIG_croak_null();
6445 : }
6446 : }
6447 :
6448 :
6449 0 : XS(_wrap_outputFormatObj_name_set) {
6450 : {
6451 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6452 : char *arg2 = (char *) 0 ;
6453 0 : void *argp1 = 0 ;
6454 : int res1 = 0 ;
6455 : int res2 ;
6456 0 : char *buf2 = 0 ;
6457 0 : int alloc2 = 0 ;
6458 : int argvi = 0;
6459 0 : dXSARGS;
6460 :
6461 0 : if ((items < 2) || (items > 2)) {
6462 0 : SWIG_croak("Usage: outputFormatObj_name_set(self,name);");
6463 : }
6464 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6465 0 : if (!SWIG_IsOK(res1)) {
6466 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_name_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6467 : }
6468 0 : arg1 = (outputFormatObj *)(argp1);
6469 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6470 0 : if (!SWIG_IsOK(res2)) {
6471 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_name_set" "', argument " "2"" of type '" "char *""'");
6472 : }
6473 0 : arg2 = (char *)(buf2);
6474 : {
6475 0 : if (arg1->name) free((char*)arg1->name);
6476 0 : if (arg2) {
6477 0 : arg1->name = (char *) malloc(strlen(arg2)+1);
6478 : strcpy((char*)arg1->name,arg2);
6479 : } else {
6480 0 : arg1->name = 0;
6481 : }
6482 : }
6483 0 : ST(argvi) = sv_newmortal();
6484 :
6485 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6486 0 : XSRETURN(argvi);
6487 : fail:
6488 :
6489 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6490 0 : SWIG_croak_null();
6491 : }
6492 : }
6493 :
6494 :
6495 0 : XS(_wrap_outputFormatObj_name_get) {
6496 : {
6497 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6498 0 : void *argp1 = 0 ;
6499 : int res1 = 0 ;
6500 : int argvi = 0;
6501 : char *result = 0 ;
6502 0 : dXSARGS;
6503 :
6504 0 : if ((items < 1) || (items > 1)) {
6505 0 : SWIG_croak("Usage: outputFormatObj_name_get(self);");
6506 : }
6507 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6508 0 : if (!SWIG_IsOK(res1)) {
6509 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_name_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6510 : }
6511 0 : arg1 = (outputFormatObj *)(argp1);
6512 0 : result = (char *) ((arg1)->name);
6513 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6514 :
6515 0 : XSRETURN(argvi);
6516 : fail:
6517 :
6518 0 : SWIG_croak_null();
6519 : }
6520 : }
6521 :
6522 :
6523 0 : XS(_wrap_outputFormatObj_mimetype_set) {
6524 : {
6525 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6526 : char *arg2 = (char *) 0 ;
6527 0 : void *argp1 = 0 ;
6528 : int res1 = 0 ;
6529 : int res2 ;
6530 0 : char *buf2 = 0 ;
6531 0 : int alloc2 = 0 ;
6532 : int argvi = 0;
6533 0 : dXSARGS;
6534 :
6535 0 : if ((items < 2) || (items > 2)) {
6536 0 : SWIG_croak("Usage: outputFormatObj_mimetype_set(self,mimetype);");
6537 : }
6538 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6539 0 : if (!SWIG_IsOK(res1)) {
6540 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_mimetype_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6541 : }
6542 0 : arg1 = (outputFormatObj *)(argp1);
6543 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6544 0 : if (!SWIG_IsOK(res2)) {
6545 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_mimetype_set" "', argument " "2"" of type '" "char *""'");
6546 : }
6547 0 : arg2 = (char *)(buf2);
6548 : {
6549 0 : if (arg1->mimetype) free((char*)arg1->mimetype);
6550 0 : if (arg2) {
6551 0 : arg1->mimetype = (char *) malloc(strlen(arg2)+1);
6552 : strcpy((char*)arg1->mimetype,arg2);
6553 : } else {
6554 0 : arg1->mimetype = 0;
6555 : }
6556 : }
6557 0 : ST(argvi) = sv_newmortal();
6558 :
6559 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6560 0 : XSRETURN(argvi);
6561 : fail:
6562 :
6563 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6564 0 : SWIG_croak_null();
6565 : }
6566 : }
6567 :
6568 :
6569 0 : XS(_wrap_outputFormatObj_mimetype_get) {
6570 : {
6571 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6572 0 : void *argp1 = 0 ;
6573 : int res1 = 0 ;
6574 : int argvi = 0;
6575 : char *result = 0 ;
6576 0 : dXSARGS;
6577 :
6578 0 : if ((items < 1) || (items > 1)) {
6579 0 : SWIG_croak("Usage: outputFormatObj_mimetype_get(self);");
6580 : }
6581 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6582 0 : if (!SWIG_IsOK(res1)) {
6583 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_mimetype_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6584 : }
6585 0 : arg1 = (outputFormatObj *)(argp1);
6586 0 : result = (char *) ((arg1)->mimetype);
6587 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6588 :
6589 0 : XSRETURN(argvi);
6590 : fail:
6591 :
6592 0 : SWIG_croak_null();
6593 : }
6594 : }
6595 :
6596 :
6597 0 : XS(_wrap_outputFormatObj_driver_set) {
6598 : {
6599 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6600 : char *arg2 = (char *) 0 ;
6601 0 : void *argp1 = 0 ;
6602 : int res1 = 0 ;
6603 : int res2 ;
6604 0 : char *buf2 = 0 ;
6605 0 : int alloc2 = 0 ;
6606 : int argvi = 0;
6607 0 : dXSARGS;
6608 :
6609 0 : if ((items < 2) || (items > 2)) {
6610 0 : SWIG_croak("Usage: outputFormatObj_driver_set(self,driver);");
6611 : }
6612 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6613 0 : if (!SWIG_IsOK(res1)) {
6614 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_driver_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6615 : }
6616 0 : arg1 = (outputFormatObj *)(argp1);
6617 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6618 0 : if (!SWIG_IsOK(res2)) {
6619 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_driver_set" "', argument " "2"" of type '" "char *""'");
6620 : }
6621 0 : arg2 = (char *)(buf2);
6622 : {
6623 0 : if (arg1->driver) free((char*)arg1->driver);
6624 0 : if (arg2) {
6625 0 : arg1->driver = (char *) malloc(strlen(arg2)+1);
6626 : strcpy((char*)arg1->driver,arg2);
6627 : } else {
6628 0 : arg1->driver = 0;
6629 : }
6630 : }
6631 0 : ST(argvi) = sv_newmortal();
6632 :
6633 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6634 0 : XSRETURN(argvi);
6635 : fail:
6636 :
6637 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6638 0 : SWIG_croak_null();
6639 : }
6640 : }
6641 :
6642 :
6643 0 : XS(_wrap_outputFormatObj_driver_get) {
6644 : {
6645 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6646 0 : void *argp1 = 0 ;
6647 : int res1 = 0 ;
6648 : int argvi = 0;
6649 : char *result = 0 ;
6650 0 : dXSARGS;
6651 :
6652 0 : if ((items < 1) || (items > 1)) {
6653 0 : SWIG_croak("Usage: outputFormatObj_driver_get(self);");
6654 : }
6655 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6656 0 : if (!SWIG_IsOK(res1)) {
6657 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_driver_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6658 : }
6659 0 : arg1 = (outputFormatObj *)(argp1);
6660 0 : result = (char *) ((arg1)->driver);
6661 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6662 :
6663 0 : XSRETURN(argvi);
6664 : fail:
6665 :
6666 0 : SWIG_croak_null();
6667 : }
6668 : }
6669 :
6670 :
6671 0 : XS(_wrap_outputFormatObj_extension_set) {
6672 : {
6673 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6674 : char *arg2 = (char *) 0 ;
6675 0 : void *argp1 = 0 ;
6676 : int res1 = 0 ;
6677 : int res2 ;
6678 0 : char *buf2 = 0 ;
6679 0 : int alloc2 = 0 ;
6680 : int argvi = 0;
6681 0 : dXSARGS;
6682 :
6683 0 : if ((items < 2) || (items > 2)) {
6684 0 : SWIG_croak("Usage: outputFormatObj_extension_set(self,extension);");
6685 : }
6686 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6687 0 : if (!SWIG_IsOK(res1)) {
6688 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_extension_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6689 : }
6690 0 : arg1 = (outputFormatObj *)(argp1);
6691 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
6692 0 : if (!SWIG_IsOK(res2)) {
6693 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_extension_set" "', argument " "2"" of type '" "char *""'");
6694 : }
6695 0 : arg2 = (char *)(buf2);
6696 : {
6697 0 : if (arg1->extension) free((char*)arg1->extension);
6698 0 : if (arg2) {
6699 0 : arg1->extension = (char *) malloc(strlen(arg2)+1);
6700 : strcpy((char*)arg1->extension,arg2);
6701 : } else {
6702 0 : arg1->extension = 0;
6703 : }
6704 : }
6705 0 : ST(argvi) = sv_newmortal();
6706 :
6707 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6708 0 : XSRETURN(argvi);
6709 : fail:
6710 :
6711 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
6712 0 : SWIG_croak_null();
6713 : }
6714 : }
6715 :
6716 :
6717 0 : XS(_wrap_outputFormatObj_extension_get) {
6718 : {
6719 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6720 0 : void *argp1 = 0 ;
6721 : int res1 = 0 ;
6722 : int argvi = 0;
6723 : char *result = 0 ;
6724 0 : dXSARGS;
6725 :
6726 0 : if ((items < 1) || (items > 1)) {
6727 0 : SWIG_croak("Usage: outputFormatObj_extension_get(self);");
6728 : }
6729 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6730 0 : if (!SWIG_IsOK(res1)) {
6731 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_extension_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6732 : }
6733 0 : arg1 = (outputFormatObj *)(argp1);
6734 0 : result = (char *) ((arg1)->extension);
6735 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
6736 :
6737 0 : XSRETURN(argvi);
6738 : fail:
6739 :
6740 0 : SWIG_croak_null();
6741 : }
6742 : }
6743 :
6744 :
6745 0 : XS(_wrap_outputFormatObj_renderer_set) {
6746 : {
6747 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6748 : int arg2 ;
6749 0 : void *argp1 = 0 ;
6750 : int res1 = 0 ;
6751 : int val2 ;
6752 : int ecode2 = 0 ;
6753 : int argvi = 0;
6754 0 : dXSARGS;
6755 :
6756 0 : if ((items < 2) || (items > 2)) {
6757 0 : SWIG_croak("Usage: outputFormatObj_renderer_set(self,renderer);");
6758 : }
6759 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6760 0 : if (!SWIG_IsOK(res1)) {
6761 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_renderer_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6762 : }
6763 0 : arg1 = (outputFormatObj *)(argp1);
6764 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6765 0 : if (!SWIG_IsOK(ecode2)) {
6766 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_renderer_set" "', argument " "2"" of type '" "int""'");
6767 : }
6768 0 : arg2 = (int)(val2);
6769 0 : if (arg1) (arg1)->renderer = arg2;
6770 0 : ST(argvi) = sv_newmortal();
6771 :
6772 :
6773 0 : XSRETURN(argvi);
6774 : fail:
6775 :
6776 :
6777 0 : SWIG_croak_null();
6778 : }
6779 : }
6780 :
6781 :
6782 0 : XS(_wrap_outputFormatObj_renderer_get) {
6783 : {
6784 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6785 0 : void *argp1 = 0 ;
6786 : int res1 = 0 ;
6787 : int argvi = 0;
6788 : int result;
6789 0 : dXSARGS;
6790 :
6791 0 : if ((items < 1) || (items > 1)) {
6792 0 : SWIG_croak("Usage: outputFormatObj_renderer_get(self);");
6793 : }
6794 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6795 0 : if (!SWIG_IsOK(res1)) {
6796 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_renderer_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6797 : }
6798 0 : arg1 = (outputFormatObj *)(argp1);
6799 0 : result = (int) ((arg1)->renderer);
6800 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6801 :
6802 0 : XSRETURN(argvi);
6803 : fail:
6804 :
6805 0 : SWIG_croak_null();
6806 : }
6807 : }
6808 :
6809 :
6810 0 : XS(_wrap_outputFormatObj_imagemode_set) {
6811 : {
6812 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6813 : int arg2 ;
6814 0 : void *argp1 = 0 ;
6815 : int res1 = 0 ;
6816 : int val2 ;
6817 : int ecode2 = 0 ;
6818 : int argvi = 0;
6819 0 : dXSARGS;
6820 :
6821 0 : if ((items < 2) || (items > 2)) {
6822 0 : SWIG_croak("Usage: outputFormatObj_imagemode_set(self,imagemode);");
6823 : }
6824 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6825 0 : if (!SWIG_IsOK(res1)) {
6826 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_imagemode_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6827 : }
6828 0 : arg1 = (outputFormatObj *)(argp1);
6829 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6830 0 : if (!SWIG_IsOK(ecode2)) {
6831 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_imagemode_set" "', argument " "2"" of type '" "int""'");
6832 : }
6833 0 : arg2 = (int)(val2);
6834 0 : if (arg1) (arg1)->imagemode = arg2;
6835 0 : ST(argvi) = sv_newmortal();
6836 :
6837 :
6838 0 : XSRETURN(argvi);
6839 : fail:
6840 :
6841 :
6842 0 : SWIG_croak_null();
6843 : }
6844 : }
6845 :
6846 :
6847 0 : XS(_wrap_outputFormatObj_imagemode_get) {
6848 : {
6849 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6850 0 : void *argp1 = 0 ;
6851 : int res1 = 0 ;
6852 : int argvi = 0;
6853 : int result;
6854 0 : dXSARGS;
6855 :
6856 0 : if ((items < 1) || (items > 1)) {
6857 0 : SWIG_croak("Usage: outputFormatObj_imagemode_get(self);");
6858 : }
6859 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6860 0 : if (!SWIG_IsOK(res1)) {
6861 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_imagemode_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6862 : }
6863 0 : arg1 = (outputFormatObj *)(argp1);
6864 0 : result = (int) ((arg1)->imagemode);
6865 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6866 :
6867 0 : XSRETURN(argvi);
6868 : fail:
6869 :
6870 0 : SWIG_croak_null();
6871 : }
6872 : }
6873 :
6874 :
6875 0 : XS(_wrap_outputFormatObj_transparent_set) {
6876 : {
6877 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6878 : int arg2 ;
6879 0 : void *argp1 = 0 ;
6880 : int res1 = 0 ;
6881 : int val2 ;
6882 : int ecode2 = 0 ;
6883 : int argvi = 0;
6884 0 : dXSARGS;
6885 :
6886 0 : if ((items < 2) || (items > 2)) {
6887 0 : SWIG_croak("Usage: outputFormatObj_transparent_set(self,transparent);");
6888 : }
6889 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6890 0 : if (!SWIG_IsOK(res1)) {
6891 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_transparent_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6892 : }
6893 0 : arg1 = (outputFormatObj *)(argp1);
6894 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6895 0 : if (!SWIG_IsOK(ecode2)) {
6896 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_transparent_set" "', argument " "2"" of type '" "int""'");
6897 : }
6898 0 : arg2 = (int)(val2);
6899 0 : if (arg1) (arg1)->transparent = arg2;
6900 0 : ST(argvi) = sv_newmortal();
6901 :
6902 :
6903 0 : XSRETURN(argvi);
6904 : fail:
6905 :
6906 :
6907 0 : SWIG_croak_null();
6908 : }
6909 : }
6910 :
6911 :
6912 0 : XS(_wrap_outputFormatObj_transparent_get) {
6913 : {
6914 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6915 0 : void *argp1 = 0 ;
6916 : int res1 = 0 ;
6917 : int argvi = 0;
6918 : int result;
6919 0 : dXSARGS;
6920 :
6921 0 : if ((items < 1) || (items > 1)) {
6922 0 : SWIG_croak("Usage: outputFormatObj_transparent_get(self);");
6923 : }
6924 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6925 0 : if (!SWIG_IsOK(res1)) {
6926 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_transparent_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6927 : }
6928 0 : arg1 = (outputFormatObj *)(argp1);
6929 0 : result = (int) ((arg1)->transparent);
6930 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6931 :
6932 0 : XSRETURN(argvi);
6933 : fail:
6934 :
6935 0 : SWIG_croak_null();
6936 : }
6937 : }
6938 :
6939 :
6940 0 : XS(_wrap_outputFormatObj_bands_set) {
6941 : {
6942 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6943 : int arg2 ;
6944 0 : void *argp1 = 0 ;
6945 : int res1 = 0 ;
6946 : int val2 ;
6947 : int ecode2 = 0 ;
6948 : int argvi = 0;
6949 0 : dXSARGS;
6950 :
6951 0 : if ((items < 2) || (items > 2)) {
6952 0 : SWIG_croak("Usage: outputFormatObj_bands_set(self,bands);");
6953 : }
6954 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6955 0 : if (!SWIG_IsOK(res1)) {
6956 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_bands_set" "', argument " "1"" of type '" "outputFormatObj *""'");
6957 : }
6958 0 : arg1 = (outputFormatObj *)(argp1);
6959 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
6960 0 : if (!SWIG_IsOK(ecode2)) {
6961 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_bands_set" "', argument " "2"" of type '" "int""'");
6962 : }
6963 0 : arg2 = (int)(val2);
6964 0 : if (arg1) (arg1)->bands = arg2;
6965 0 : ST(argvi) = sv_newmortal();
6966 :
6967 :
6968 0 : XSRETURN(argvi);
6969 : fail:
6970 :
6971 :
6972 0 : SWIG_croak_null();
6973 : }
6974 : }
6975 :
6976 :
6977 0 : XS(_wrap_outputFormatObj_bands_get) {
6978 : {
6979 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
6980 0 : void *argp1 = 0 ;
6981 : int res1 = 0 ;
6982 : int argvi = 0;
6983 : int result;
6984 0 : dXSARGS;
6985 :
6986 0 : if ((items < 1) || (items > 1)) {
6987 0 : SWIG_croak("Usage: outputFormatObj_bands_get(self);");
6988 : }
6989 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
6990 0 : if (!SWIG_IsOK(res1)) {
6991 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_bands_get" "', argument " "1"" of type '" "outputFormatObj *""'");
6992 : }
6993 0 : arg1 = (outputFormatObj *)(argp1);
6994 0 : result = (int) ((arg1)->bands);
6995 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
6996 :
6997 0 : XSRETURN(argvi);
6998 : fail:
6999 :
7000 0 : SWIG_croak_null();
7001 : }
7002 : }
7003 :
7004 :
7005 0 : XS(_wrap_outputFormatObj_inmapfile_set) {
7006 : {
7007 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7008 : int arg2 ;
7009 0 : void *argp1 = 0 ;
7010 : int res1 = 0 ;
7011 : int val2 ;
7012 : int ecode2 = 0 ;
7013 : int argvi = 0;
7014 0 : dXSARGS;
7015 :
7016 0 : if ((items < 2) || (items > 2)) {
7017 0 : SWIG_croak("Usage: outputFormatObj_inmapfile_set(self,inmapfile);");
7018 : }
7019 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7020 0 : if (!SWIG_IsOK(res1)) {
7021 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_inmapfile_set" "', argument " "1"" of type '" "outputFormatObj *""'");
7022 : }
7023 0 : arg1 = (outputFormatObj *)(argp1);
7024 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7025 0 : if (!SWIG_IsOK(ecode2)) {
7026 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_inmapfile_set" "', argument " "2"" of type '" "int""'");
7027 : }
7028 0 : arg2 = (int)(val2);
7029 0 : if (arg1) (arg1)->inmapfile = arg2;
7030 0 : ST(argvi) = sv_newmortal();
7031 :
7032 :
7033 0 : XSRETURN(argvi);
7034 : fail:
7035 :
7036 :
7037 0 : SWIG_croak_null();
7038 : }
7039 : }
7040 :
7041 :
7042 0 : XS(_wrap_outputFormatObj_inmapfile_get) {
7043 : {
7044 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7045 0 : void *argp1 = 0 ;
7046 : int res1 = 0 ;
7047 : int argvi = 0;
7048 : int result;
7049 0 : dXSARGS;
7050 :
7051 0 : if ((items < 1) || (items > 1)) {
7052 0 : SWIG_croak("Usage: outputFormatObj_inmapfile_get(self);");
7053 : }
7054 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7055 0 : if (!SWIG_IsOK(res1)) {
7056 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_inmapfile_get" "', argument " "1"" of type '" "outputFormatObj *""'");
7057 : }
7058 0 : arg1 = (outputFormatObj *)(argp1);
7059 0 : result = (int) ((arg1)->inmapfile);
7060 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7061 :
7062 0 : XSRETURN(argvi);
7063 : fail:
7064 :
7065 0 : SWIG_croak_null();
7066 : }
7067 : }
7068 :
7069 :
7070 0 : XS(_wrap_new_outputFormatObj) {
7071 : {
7072 : char *arg1 = (char *) 0 ;
7073 : char *arg2 = (char *) NULL ;
7074 : int res1 ;
7075 0 : char *buf1 = 0 ;
7076 0 : int alloc1 = 0 ;
7077 : int res2 ;
7078 0 : char *buf2 = 0 ;
7079 0 : int alloc2 = 0 ;
7080 : int argvi = 0;
7081 : outputFormatObj *result = 0 ;
7082 0 : dXSARGS;
7083 :
7084 0 : if ((items < 1) || (items > 2)) {
7085 0 : SWIG_croak("Usage: new_outputFormatObj(driver,name);");
7086 : }
7087 0 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
7088 0 : if (!SWIG_IsOK(res1)) {
7089 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_outputFormatObj" "', argument " "1"" of type '" "char const *""'");
7090 : }
7091 0 : arg1 = (char *)(buf1);
7092 0 : if (items > 1) {
7093 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7094 0 : if (!SWIG_IsOK(res2)) {
7095 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_outputFormatObj" "', argument " "2"" of type '" "char *""'");
7096 : }
7097 0 : arg2 = (char *)(buf2);
7098 : }
7099 0 : result = (outputFormatObj *)new_outputFormatObj((char const *)arg1,arg2);
7100 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
7101 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
7102 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7103 0 : XSRETURN(argvi);
7104 : fail:
7105 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
7106 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7107 0 : SWIG_croak_null();
7108 : }
7109 : }
7110 :
7111 :
7112 0 : XS(_wrap_delete_outputFormatObj) {
7113 : {
7114 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7115 0 : void *argp1 = 0 ;
7116 : int res1 = 0 ;
7117 : int argvi = 0;
7118 0 : dXSARGS;
7119 :
7120 0 : if ((items < 1) || (items > 1)) {
7121 0 : SWIG_croak("Usage: delete_outputFormatObj(self);");
7122 : }
7123 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, SWIG_POINTER_DISOWN | 0 );
7124 0 : if (!SWIG_IsOK(res1)) {
7125 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_outputFormatObj" "', argument " "1"" of type '" "outputFormatObj *""'");
7126 : }
7127 0 : arg1 = (outputFormatObj *)(argp1);
7128 : delete_outputFormatObj(arg1);
7129 0 : ST(argvi) = sv_newmortal();
7130 :
7131 0 : XSRETURN(argvi);
7132 : fail:
7133 :
7134 0 : SWIG_croak_null();
7135 : }
7136 : }
7137 :
7138 :
7139 0 : XS(_wrap_outputFormatObj_setExtension) {
7140 : {
7141 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7142 : char *arg2 = (char *) 0 ;
7143 0 : void *argp1 = 0 ;
7144 : int res1 = 0 ;
7145 : int res2 ;
7146 0 : char *buf2 = 0 ;
7147 0 : int alloc2 = 0 ;
7148 : int argvi = 0;
7149 0 : dXSARGS;
7150 :
7151 0 : if ((items < 2) || (items > 2)) {
7152 0 : SWIG_croak("Usage: outputFormatObj_setExtension(self,extension);");
7153 : }
7154 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7155 0 : if (!SWIG_IsOK(res1)) {
7156 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_setExtension" "', argument " "1"" of type '" "outputFormatObj *""'");
7157 : }
7158 0 : arg1 = (outputFormatObj *)(argp1);
7159 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7160 0 : if (!SWIG_IsOK(res2)) {
7161 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_setExtension" "', argument " "2"" of type '" "char const *""'");
7162 : }
7163 0 : arg2 = (char *)(buf2);
7164 : outputFormatObj_setExtension(arg1,(char const *)arg2);
7165 0 : ST(argvi) = sv_newmortal();
7166 :
7167 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7168 0 : XSRETURN(argvi);
7169 : fail:
7170 :
7171 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7172 0 : SWIG_croak_null();
7173 : }
7174 : }
7175 :
7176 :
7177 0 : XS(_wrap_outputFormatObj_setMimetype) {
7178 : {
7179 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7180 : char *arg2 = (char *) 0 ;
7181 0 : void *argp1 = 0 ;
7182 : int res1 = 0 ;
7183 : int res2 ;
7184 0 : char *buf2 = 0 ;
7185 0 : int alloc2 = 0 ;
7186 : int argvi = 0;
7187 0 : dXSARGS;
7188 :
7189 0 : if ((items < 2) || (items > 2)) {
7190 0 : SWIG_croak("Usage: outputFormatObj_setMimetype(self,mimetype);");
7191 : }
7192 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7193 0 : if (!SWIG_IsOK(res1)) {
7194 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_setMimetype" "', argument " "1"" of type '" "outputFormatObj *""'");
7195 : }
7196 0 : arg1 = (outputFormatObj *)(argp1);
7197 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7198 0 : if (!SWIG_IsOK(res2)) {
7199 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_setMimetype" "', argument " "2"" of type '" "char const *""'");
7200 : }
7201 0 : arg2 = (char *)(buf2);
7202 : outputFormatObj_setMimetype(arg1,(char const *)arg2);
7203 0 : ST(argvi) = sv_newmortal();
7204 :
7205 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7206 0 : XSRETURN(argvi);
7207 : fail:
7208 :
7209 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7210 0 : SWIG_croak_null();
7211 : }
7212 : }
7213 :
7214 :
7215 0 : XS(_wrap_outputFormatObj_setOption) {
7216 : {
7217 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7218 : char *arg2 = (char *) 0 ;
7219 : char *arg3 = (char *) 0 ;
7220 0 : void *argp1 = 0 ;
7221 : int res1 = 0 ;
7222 : int res2 ;
7223 0 : char *buf2 = 0 ;
7224 0 : int alloc2 = 0 ;
7225 : int res3 ;
7226 0 : char *buf3 = 0 ;
7227 0 : int alloc3 = 0 ;
7228 : int argvi = 0;
7229 0 : dXSARGS;
7230 :
7231 0 : if ((items < 3) || (items > 3)) {
7232 0 : SWIG_croak("Usage: outputFormatObj_setOption(self,key,value);");
7233 : }
7234 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7235 0 : if (!SWIG_IsOK(res1)) {
7236 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_setOption" "', argument " "1"" of type '" "outputFormatObj *""'");
7237 : }
7238 0 : arg1 = (outputFormatObj *)(argp1);
7239 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7240 0 : if (!SWIG_IsOK(res2)) {
7241 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_setOption" "', argument " "2"" of type '" "char const *""'");
7242 : }
7243 0 : arg2 = (char *)(buf2);
7244 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
7245 0 : if (!SWIG_IsOK(res3)) {
7246 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "outputFormatObj_setOption" "', argument " "3"" of type '" "char const *""'");
7247 : }
7248 0 : arg3 = (char *)(buf3);
7249 : outputFormatObj_setOption(arg1,(char const *)arg2,(char const *)arg3);
7250 0 : ST(argvi) = sv_newmortal();
7251 :
7252 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7253 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7254 0 : XSRETURN(argvi);
7255 : fail:
7256 :
7257 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7258 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7259 0 : SWIG_croak_null();
7260 : }
7261 : }
7262 :
7263 :
7264 0 : XS(_wrap_outputFormatObj_validate) {
7265 : {
7266 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7267 0 : void *argp1 = 0 ;
7268 : int res1 = 0 ;
7269 : int argvi = 0;
7270 : int result;
7271 0 : dXSARGS;
7272 :
7273 0 : if ((items < 1) || (items > 1)) {
7274 0 : SWIG_croak("Usage: outputFormatObj_validate(self);");
7275 : }
7276 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7277 0 : if (!SWIG_IsOK(res1)) {
7278 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_validate" "', argument " "1"" of type '" "outputFormatObj *""'");
7279 : }
7280 0 : arg1 = (outputFormatObj *)(argp1);
7281 : result = (int)outputFormatObj_validate(arg1);
7282 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7283 :
7284 0 : XSRETURN(argvi);
7285 : fail:
7286 :
7287 0 : SWIG_croak_null();
7288 : }
7289 : }
7290 :
7291 :
7292 0 : XS(_wrap_outputFormatObj_getOption) {
7293 : {
7294 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7295 : char *arg2 = (char *) 0 ;
7296 : char *arg3 = (char *) "" ;
7297 0 : void *argp1 = 0 ;
7298 : int res1 = 0 ;
7299 : int res2 ;
7300 0 : char *buf2 = 0 ;
7301 0 : int alloc2 = 0 ;
7302 : int res3 ;
7303 0 : char *buf3 = 0 ;
7304 0 : int alloc3 = 0 ;
7305 : int argvi = 0;
7306 : char *result = 0 ;
7307 0 : dXSARGS;
7308 :
7309 0 : if ((items < 2) || (items > 3)) {
7310 0 : SWIG_croak("Usage: outputFormatObj_getOption(self,key,value);");
7311 : }
7312 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7313 0 : if (!SWIG_IsOK(res1)) {
7314 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_getOption" "', argument " "1"" of type '" "outputFormatObj *""'");
7315 : }
7316 0 : arg1 = (outputFormatObj *)(argp1);
7317 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7318 0 : if (!SWIG_IsOK(res2)) {
7319 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_getOption" "', argument " "2"" of type '" "char const *""'");
7320 : }
7321 0 : arg2 = (char *)(buf2);
7322 0 : if (items > 2) {
7323 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
7324 0 : if (!SWIG_IsOK(res3)) {
7325 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "outputFormatObj_getOption" "', argument " "3"" of type '" "char const *""'");
7326 : }
7327 0 : arg3 = (char *)(buf3);
7328 : }
7329 : result = (char *)outputFormatObj_getOption(arg1,(char const *)arg2,(char const *)arg3);
7330 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
7331 :
7332 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7333 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7334 0 : free((char*)result);
7335 0 : XSRETURN(argvi);
7336 : fail:
7337 :
7338 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7339 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
7340 0 : SWIG_croak_null();
7341 : }
7342 : }
7343 :
7344 :
7345 0 : XS(_wrap_outputFormatObj_getOptionAt) {
7346 : {
7347 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7348 : int arg2 ;
7349 0 : void *argp1 = 0 ;
7350 : int res1 = 0 ;
7351 : int val2 ;
7352 : int ecode2 = 0 ;
7353 : int argvi = 0;
7354 : char *result = 0 ;
7355 0 : dXSARGS;
7356 :
7357 0 : if ((items < 2) || (items > 2)) {
7358 0 : SWIG_croak("Usage: outputFormatObj_getOptionAt(self,i);");
7359 : }
7360 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7361 0 : if (!SWIG_IsOK(res1)) {
7362 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_getOptionAt" "', argument " "1"" of type '" "outputFormatObj *""'");
7363 : }
7364 0 : arg1 = (outputFormatObj *)(argp1);
7365 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7366 0 : if (!SWIG_IsOK(ecode2)) {
7367 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_getOptionAt" "', argument " "2"" of type '" "int""'");
7368 : }
7369 0 : arg2 = (int)(val2);
7370 0 : result = (char *)outputFormatObj_getOptionAt(arg1,arg2);
7371 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
7372 :
7373 :
7374 0 : free((char*)result);
7375 0 : XSRETURN(argvi);
7376 : fail:
7377 :
7378 :
7379 0 : SWIG_croak_null();
7380 : }
7381 : }
7382 :
7383 :
7384 0 : XS(_wrap_outputFormatObj_attachDevice) {
7385 : {
7386 : outputFormatObj *arg1 = (outputFormatObj *) 0 ;
7387 0 : void *arg2 = (void *) 0 ;
7388 0 : void *argp1 = 0 ;
7389 : int res1 = 0 ;
7390 : int res2 ;
7391 : int argvi = 0;
7392 0 : dXSARGS;
7393 :
7394 0 : if ((items < 2) || (items > 2)) {
7395 0 : SWIG_croak("Usage: outputFormatObj_attachDevice(self,device);");
7396 : }
7397 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 | 0 );
7398 0 : if (!SWIG_IsOK(res1)) {
7399 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_attachDevice" "', argument " "1"" of type '" "outputFormatObj *""'");
7400 : }
7401 0 : arg1 = (outputFormatObj *)(argp1);
7402 0 : res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
7403 0 : if (!SWIG_IsOK(res2)) {
7404 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_attachDevice" "', argument " "2"" of type '" "void *""'");
7405 : }
7406 0 : outputFormatObj_attachDevice(arg1,arg2);
7407 0 : ST(argvi) = sv_newmortal();
7408 :
7409 :
7410 0 : XSRETURN(argvi);
7411 : fail:
7412 :
7413 :
7414 0 : SWIG_croak_null();
7415 : }
7416 : }
7417 :
7418 :
7419 0 : XS(_wrap_queryMapObj_height_set) {
7420 : {
7421 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7422 : int arg2 ;
7423 0 : void *argp1 = 0 ;
7424 : int res1 = 0 ;
7425 : int val2 ;
7426 : int ecode2 = 0 ;
7427 : int argvi = 0;
7428 0 : dXSARGS;
7429 :
7430 0 : if ((items < 2) || (items > 2)) {
7431 0 : SWIG_croak("Usage: queryMapObj_height_set(self,height);");
7432 : }
7433 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7434 0 : if (!SWIG_IsOK(res1)) {
7435 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_height_set" "', argument " "1"" of type '" "queryMapObj *""'");
7436 : }
7437 0 : arg1 = (queryMapObj *)(argp1);
7438 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7439 0 : if (!SWIG_IsOK(ecode2)) {
7440 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_height_set" "', argument " "2"" of type '" "int""'");
7441 : }
7442 0 : arg2 = (int)(val2);
7443 0 : if (arg1) (arg1)->height = arg2;
7444 0 : ST(argvi) = sv_newmortal();
7445 :
7446 :
7447 0 : XSRETURN(argvi);
7448 : fail:
7449 :
7450 :
7451 0 : SWIG_croak_null();
7452 : }
7453 : }
7454 :
7455 :
7456 0 : XS(_wrap_queryMapObj_height_get) {
7457 : {
7458 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7459 0 : void *argp1 = 0 ;
7460 : int res1 = 0 ;
7461 : int argvi = 0;
7462 : int result;
7463 0 : dXSARGS;
7464 :
7465 0 : if ((items < 1) || (items > 1)) {
7466 0 : SWIG_croak("Usage: queryMapObj_height_get(self);");
7467 : }
7468 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7469 0 : if (!SWIG_IsOK(res1)) {
7470 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_height_get" "', argument " "1"" of type '" "queryMapObj *""'");
7471 : }
7472 0 : arg1 = (queryMapObj *)(argp1);
7473 0 : result = (int) ((arg1)->height);
7474 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7475 :
7476 0 : XSRETURN(argvi);
7477 : fail:
7478 :
7479 0 : SWIG_croak_null();
7480 : }
7481 : }
7482 :
7483 :
7484 0 : XS(_wrap_queryMapObj_width_set) {
7485 : {
7486 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7487 : int arg2 ;
7488 0 : void *argp1 = 0 ;
7489 : int res1 = 0 ;
7490 : int val2 ;
7491 : int ecode2 = 0 ;
7492 : int argvi = 0;
7493 0 : dXSARGS;
7494 :
7495 0 : if ((items < 2) || (items > 2)) {
7496 0 : SWIG_croak("Usage: queryMapObj_width_set(self,width);");
7497 : }
7498 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7499 0 : if (!SWIG_IsOK(res1)) {
7500 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_width_set" "', argument " "1"" of type '" "queryMapObj *""'");
7501 : }
7502 0 : arg1 = (queryMapObj *)(argp1);
7503 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7504 0 : if (!SWIG_IsOK(ecode2)) {
7505 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_width_set" "', argument " "2"" of type '" "int""'");
7506 : }
7507 0 : arg2 = (int)(val2);
7508 0 : if (arg1) (arg1)->width = arg2;
7509 0 : ST(argvi) = sv_newmortal();
7510 :
7511 :
7512 0 : XSRETURN(argvi);
7513 : fail:
7514 :
7515 :
7516 0 : SWIG_croak_null();
7517 : }
7518 : }
7519 :
7520 :
7521 0 : XS(_wrap_queryMapObj_width_get) {
7522 : {
7523 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7524 0 : void *argp1 = 0 ;
7525 : int res1 = 0 ;
7526 : int argvi = 0;
7527 : int result;
7528 0 : dXSARGS;
7529 :
7530 0 : if ((items < 1) || (items > 1)) {
7531 0 : SWIG_croak("Usage: queryMapObj_width_get(self);");
7532 : }
7533 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7534 0 : if (!SWIG_IsOK(res1)) {
7535 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_width_get" "', argument " "1"" of type '" "queryMapObj *""'");
7536 : }
7537 0 : arg1 = (queryMapObj *)(argp1);
7538 0 : result = (int) ((arg1)->width);
7539 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7540 :
7541 0 : XSRETURN(argvi);
7542 : fail:
7543 :
7544 0 : SWIG_croak_null();
7545 : }
7546 : }
7547 :
7548 :
7549 0 : XS(_wrap_queryMapObj_status_set) {
7550 : {
7551 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7552 : int arg2 ;
7553 0 : void *argp1 = 0 ;
7554 : int res1 = 0 ;
7555 : int val2 ;
7556 : int ecode2 = 0 ;
7557 : int argvi = 0;
7558 0 : dXSARGS;
7559 :
7560 0 : if ((items < 2) || (items > 2)) {
7561 0 : SWIG_croak("Usage: queryMapObj_status_set(self,status);");
7562 : }
7563 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7564 0 : if (!SWIG_IsOK(res1)) {
7565 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_status_set" "', argument " "1"" of type '" "queryMapObj *""'");
7566 : }
7567 0 : arg1 = (queryMapObj *)(argp1);
7568 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7569 0 : if (!SWIG_IsOK(ecode2)) {
7570 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_status_set" "', argument " "2"" of type '" "int""'");
7571 : }
7572 0 : arg2 = (int)(val2);
7573 0 : if (arg1) (arg1)->status = arg2;
7574 0 : ST(argvi) = sv_newmortal();
7575 :
7576 :
7577 0 : XSRETURN(argvi);
7578 : fail:
7579 :
7580 :
7581 0 : SWIG_croak_null();
7582 : }
7583 : }
7584 :
7585 :
7586 0 : XS(_wrap_queryMapObj_status_get) {
7587 : {
7588 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7589 0 : void *argp1 = 0 ;
7590 : int res1 = 0 ;
7591 : int argvi = 0;
7592 : int result;
7593 0 : dXSARGS;
7594 :
7595 0 : if ((items < 1) || (items > 1)) {
7596 0 : SWIG_croak("Usage: queryMapObj_status_get(self);");
7597 : }
7598 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7599 0 : if (!SWIG_IsOK(res1)) {
7600 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_status_get" "', argument " "1"" of type '" "queryMapObj *""'");
7601 : }
7602 0 : arg1 = (queryMapObj *)(argp1);
7603 0 : result = (int) ((arg1)->status);
7604 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7605 :
7606 0 : XSRETURN(argvi);
7607 : fail:
7608 :
7609 0 : SWIG_croak_null();
7610 : }
7611 : }
7612 :
7613 :
7614 0 : XS(_wrap_queryMapObj_style_set) {
7615 : {
7616 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7617 : int arg2 ;
7618 0 : void *argp1 = 0 ;
7619 : int res1 = 0 ;
7620 : int val2 ;
7621 : int ecode2 = 0 ;
7622 : int argvi = 0;
7623 0 : dXSARGS;
7624 :
7625 0 : if ((items < 2) || (items > 2)) {
7626 0 : SWIG_croak("Usage: queryMapObj_style_set(self,style);");
7627 : }
7628 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7629 0 : if (!SWIG_IsOK(res1)) {
7630 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_style_set" "', argument " "1"" of type '" "queryMapObj *""'");
7631 : }
7632 0 : arg1 = (queryMapObj *)(argp1);
7633 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
7634 0 : if (!SWIG_IsOK(ecode2)) {
7635 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_style_set" "', argument " "2"" of type '" "int""'");
7636 : }
7637 0 : arg2 = (int)(val2);
7638 0 : if (arg1) (arg1)->style = arg2;
7639 0 : ST(argvi) = sv_newmortal();
7640 :
7641 :
7642 0 : XSRETURN(argvi);
7643 : fail:
7644 :
7645 :
7646 0 : SWIG_croak_null();
7647 : }
7648 : }
7649 :
7650 :
7651 0 : XS(_wrap_queryMapObj_style_get) {
7652 : {
7653 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7654 0 : void *argp1 = 0 ;
7655 : int res1 = 0 ;
7656 : int argvi = 0;
7657 : int result;
7658 0 : dXSARGS;
7659 :
7660 0 : if ((items < 1) || (items > 1)) {
7661 0 : SWIG_croak("Usage: queryMapObj_style_get(self);");
7662 : }
7663 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7664 0 : if (!SWIG_IsOK(res1)) {
7665 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_style_get" "', argument " "1"" of type '" "queryMapObj *""'");
7666 : }
7667 0 : arg1 = (queryMapObj *)(argp1);
7668 0 : result = (int) ((arg1)->style);
7669 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7670 :
7671 0 : XSRETURN(argvi);
7672 : fail:
7673 :
7674 0 : SWIG_croak_null();
7675 : }
7676 : }
7677 :
7678 :
7679 0 : XS(_wrap_queryMapObj_color_set) {
7680 : {
7681 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7682 : colorObj *arg2 = (colorObj *) 0 ;
7683 0 : void *argp1 = 0 ;
7684 : int res1 = 0 ;
7685 0 : void *argp2 = 0 ;
7686 : int res2 = 0 ;
7687 : int argvi = 0;
7688 0 : dXSARGS;
7689 :
7690 0 : if ((items < 2) || (items > 2)) {
7691 0 : SWIG_croak("Usage: queryMapObj_color_set(self,color);");
7692 : }
7693 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7694 0 : if (!SWIG_IsOK(res1)) {
7695 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_color_set" "', argument " "1"" of type '" "queryMapObj *""'");
7696 : }
7697 0 : arg1 = (queryMapObj *)(argp1);
7698 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
7699 0 : if (!SWIG_IsOK(res2)) {
7700 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "queryMapObj_color_set" "', argument " "2"" of type '" "colorObj *""'");
7701 : }
7702 0 : arg2 = (colorObj *)(argp2);
7703 0 : if (arg1) (arg1)->color = *arg2;
7704 0 : ST(argvi) = sv_newmortal();
7705 :
7706 :
7707 0 : XSRETURN(argvi);
7708 : fail:
7709 :
7710 :
7711 0 : SWIG_croak_null();
7712 : }
7713 : }
7714 :
7715 :
7716 0 : XS(_wrap_queryMapObj_color_get) {
7717 : {
7718 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7719 0 : void *argp1 = 0 ;
7720 : int res1 = 0 ;
7721 : int argvi = 0;
7722 : colorObj *result = 0 ;
7723 0 : dXSARGS;
7724 :
7725 0 : if ((items < 1) || (items > 1)) {
7726 0 : SWIG_croak("Usage: queryMapObj_color_get(self);");
7727 : }
7728 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7729 0 : if (!SWIG_IsOK(res1)) {
7730 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_color_get" "', argument " "1"" of type '" "queryMapObj *""'");
7731 : }
7732 0 : arg1 = (queryMapObj *)(argp1);
7733 0 : result = (colorObj *)& ((arg1)->color);
7734 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
7735 :
7736 0 : XSRETURN(argvi);
7737 : fail:
7738 :
7739 0 : SWIG_croak_null();
7740 : }
7741 : }
7742 :
7743 :
7744 0 : XS(_wrap_queryMapObj_updateFromString) {
7745 : {
7746 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7747 : char *arg2 = (char *) 0 ;
7748 0 : void *argp1 = 0 ;
7749 : int res1 = 0 ;
7750 : int res2 ;
7751 0 : char *buf2 = 0 ;
7752 0 : int alloc2 = 0 ;
7753 : int argvi = 0;
7754 : int result;
7755 0 : dXSARGS;
7756 :
7757 0 : if ((items < 2) || (items > 2)) {
7758 0 : SWIG_croak("Usage: queryMapObj_updateFromString(self,snippet);");
7759 : }
7760 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7761 0 : if (!SWIG_IsOK(res1)) {
7762 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_updateFromString" "', argument " "1"" of type '" "queryMapObj *""'");
7763 : }
7764 0 : arg1 = (queryMapObj *)(argp1);
7765 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7766 0 : if (!SWIG_IsOK(res2)) {
7767 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "queryMapObj_updateFromString" "', argument " "2"" of type '" "char *""'");
7768 : }
7769 0 : arg2 = (char *)(buf2);
7770 : result = (int)queryMapObj_updateFromString(arg1,arg2);
7771 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
7772 :
7773 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7774 0 : XSRETURN(argvi);
7775 : fail:
7776 :
7777 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7778 0 : SWIG_croak_null();
7779 : }
7780 : }
7781 :
7782 :
7783 0 : XS(_wrap_queryMapObj_convertToString) {
7784 : {
7785 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7786 0 : void *argp1 = 0 ;
7787 : int res1 = 0 ;
7788 : int argvi = 0;
7789 : char *result = 0 ;
7790 0 : dXSARGS;
7791 :
7792 0 : if ((items < 1) || (items > 1)) {
7793 0 : SWIG_croak("Usage: queryMapObj_convertToString(self);");
7794 : }
7795 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 | 0 );
7796 0 : if (!SWIG_IsOK(res1)) {
7797 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_convertToString" "', argument " "1"" of type '" "queryMapObj *""'");
7798 : }
7799 0 : arg1 = (queryMapObj *)(argp1);
7800 : result = (char *)queryMapObj_convertToString(arg1);
7801 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
7802 :
7803 0 : free((char*)result);
7804 0 : XSRETURN(argvi);
7805 : fail:
7806 :
7807 0 : SWIG_croak_null();
7808 : }
7809 : }
7810 :
7811 :
7812 0 : XS(_wrap_new_queryMapObj) {
7813 : {
7814 : int argvi = 0;
7815 : queryMapObj *result = 0 ;
7816 0 : dXSARGS;
7817 :
7818 0 : if ((items < 0) || (items > 0)) {
7819 0 : SWIG_croak("Usage: new_queryMapObj();");
7820 : }
7821 0 : result = (queryMapObj *)calloc(1, sizeof(queryMapObj));
7822 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_queryMapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
7823 0 : XSRETURN(argvi);
7824 : fail:
7825 0 : SWIG_croak_null();
7826 : }
7827 : }
7828 :
7829 :
7830 0 : XS(_wrap_delete_queryMapObj) {
7831 : {
7832 : queryMapObj *arg1 = (queryMapObj *) 0 ;
7833 0 : void *argp1 = 0 ;
7834 : int res1 = 0 ;
7835 : int argvi = 0;
7836 0 : dXSARGS;
7837 :
7838 0 : if ((items < 1) || (items > 1)) {
7839 0 : SWIG_croak("Usage: delete_queryMapObj(self);");
7840 : }
7841 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, SWIG_POINTER_DISOWN | 0 );
7842 0 : if (!SWIG_IsOK(res1)) {
7843 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_queryMapObj" "', argument " "1"" of type '" "queryMapObj *""'");
7844 : }
7845 0 : arg1 = (queryMapObj *)(argp1);
7846 0 : free((char *) arg1);
7847 0 : ST(argvi) = sv_newmortal();
7848 :
7849 0 : XSRETURN(argvi);
7850 : fail:
7851 :
7852 0 : SWIG_croak_null();
7853 : }
7854 : }
7855 :
7856 :
7857 0 : XS(_wrap_webObj_log_set) {
7858 : {
7859 : webObj *arg1 = (webObj *) 0 ;
7860 : char *arg2 = (char *) 0 ;
7861 0 : void *argp1 = 0 ;
7862 : int res1 = 0 ;
7863 : int res2 ;
7864 0 : char *buf2 = 0 ;
7865 0 : int alloc2 = 0 ;
7866 : int argvi = 0;
7867 0 : dXSARGS;
7868 :
7869 0 : if ((items < 2) || (items > 2)) {
7870 0 : SWIG_croak("Usage: webObj_log_set(self,log);");
7871 : }
7872 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
7873 0 : if (!SWIG_IsOK(res1)) {
7874 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_log_set" "', argument " "1"" of type '" "webObj *""'");
7875 : }
7876 0 : arg1 = (webObj *)(argp1);
7877 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7878 0 : if (!SWIG_IsOK(res2)) {
7879 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_log_set" "', argument " "2"" of type '" "char *""'");
7880 : }
7881 0 : arg2 = (char *)(buf2);
7882 : {
7883 0 : if (arg1->log) free((char*)arg1->log);
7884 0 : if (arg2) {
7885 0 : arg1->log = (char *) malloc(strlen(arg2)+1);
7886 : strcpy((char*)arg1->log,arg2);
7887 : } else {
7888 0 : arg1->log = 0;
7889 : }
7890 : }
7891 0 : ST(argvi) = sv_newmortal();
7892 :
7893 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7894 0 : XSRETURN(argvi);
7895 : fail:
7896 :
7897 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7898 0 : SWIG_croak_null();
7899 : }
7900 : }
7901 :
7902 :
7903 0 : XS(_wrap_webObj_log_get) {
7904 : {
7905 : webObj *arg1 = (webObj *) 0 ;
7906 0 : void *argp1 = 0 ;
7907 : int res1 = 0 ;
7908 : int argvi = 0;
7909 : char *result = 0 ;
7910 0 : dXSARGS;
7911 :
7912 0 : if ((items < 1) || (items > 1)) {
7913 0 : SWIG_croak("Usage: webObj_log_get(self);");
7914 : }
7915 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
7916 0 : if (!SWIG_IsOK(res1)) {
7917 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_log_get" "', argument " "1"" of type '" "webObj *""'");
7918 : }
7919 0 : arg1 = (webObj *)(argp1);
7920 0 : result = (char *) ((arg1)->log);
7921 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
7922 :
7923 0 : XSRETURN(argvi);
7924 : fail:
7925 :
7926 0 : SWIG_croak_null();
7927 : }
7928 : }
7929 :
7930 :
7931 0 : XS(_wrap_webObj_imagepath_set) {
7932 : {
7933 : webObj *arg1 = (webObj *) 0 ;
7934 : char *arg2 = (char *) 0 ;
7935 0 : void *argp1 = 0 ;
7936 : int res1 = 0 ;
7937 : int res2 ;
7938 0 : char *buf2 = 0 ;
7939 0 : int alloc2 = 0 ;
7940 : int argvi = 0;
7941 0 : dXSARGS;
7942 :
7943 0 : if ((items < 2) || (items > 2)) {
7944 0 : SWIG_croak("Usage: webObj_imagepath_set(self,imagepath);");
7945 : }
7946 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
7947 0 : if (!SWIG_IsOK(res1)) {
7948 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imagepath_set" "', argument " "1"" of type '" "webObj *""'");
7949 : }
7950 0 : arg1 = (webObj *)(argp1);
7951 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
7952 0 : if (!SWIG_IsOK(res2)) {
7953 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_imagepath_set" "', argument " "2"" of type '" "char *""'");
7954 : }
7955 0 : arg2 = (char *)(buf2);
7956 : {
7957 0 : if (arg1->imagepath) free((char*)arg1->imagepath);
7958 0 : if (arg2) {
7959 0 : arg1->imagepath = (char *) malloc(strlen(arg2)+1);
7960 : strcpy((char*)arg1->imagepath,arg2);
7961 : } else {
7962 0 : arg1->imagepath = 0;
7963 : }
7964 : }
7965 0 : ST(argvi) = sv_newmortal();
7966 :
7967 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7968 0 : XSRETURN(argvi);
7969 : fail:
7970 :
7971 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
7972 0 : SWIG_croak_null();
7973 : }
7974 : }
7975 :
7976 :
7977 0 : XS(_wrap_webObj_imagepath_get) {
7978 : {
7979 : webObj *arg1 = (webObj *) 0 ;
7980 0 : void *argp1 = 0 ;
7981 : int res1 = 0 ;
7982 : int argvi = 0;
7983 : char *result = 0 ;
7984 0 : dXSARGS;
7985 :
7986 0 : if ((items < 1) || (items > 1)) {
7987 0 : SWIG_croak("Usage: webObj_imagepath_get(self);");
7988 : }
7989 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
7990 0 : if (!SWIG_IsOK(res1)) {
7991 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imagepath_get" "', argument " "1"" of type '" "webObj *""'");
7992 : }
7993 0 : arg1 = (webObj *)(argp1);
7994 0 : result = (char *) ((arg1)->imagepath);
7995 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
7996 :
7997 0 : XSRETURN(argvi);
7998 : fail:
7999 :
8000 0 : SWIG_croak_null();
8001 : }
8002 : }
8003 :
8004 :
8005 0 : XS(_wrap_webObj_imageurl_set) {
8006 : {
8007 : webObj *arg1 = (webObj *) 0 ;
8008 : char *arg2 = (char *) 0 ;
8009 0 : void *argp1 = 0 ;
8010 : int res1 = 0 ;
8011 : int res2 ;
8012 0 : char *buf2 = 0 ;
8013 0 : int alloc2 = 0 ;
8014 : int argvi = 0;
8015 0 : dXSARGS;
8016 :
8017 0 : if ((items < 2) || (items > 2)) {
8018 0 : SWIG_croak("Usage: webObj_imageurl_set(self,imageurl);");
8019 : }
8020 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8021 0 : if (!SWIG_IsOK(res1)) {
8022 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imageurl_set" "', argument " "1"" of type '" "webObj *""'");
8023 : }
8024 0 : arg1 = (webObj *)(argp1);
8025 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8026 0 : if (!SWIG_IsOK(res2)) {
8027 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_imageurl_set" "', argument " "2"" of type '" "char *""'");
8028 : }
8029 0 : arg2 = (char *)(buf2);
8030 : {
8031 0 : if (arg1->imageurl) free((char*)arg1->imageurl);
8032 0 : if (arg2) {
8033 0 : arg1->imageurl = (char *) malloc(strlen(arg2)+1);
8034 : strcpy((char*)arg1->imageurl,arg2);
8035 : } else {
8036 0 : arg1->imageurl = 0;
8037 : }
8038 : }
8039 0 : ST(argvi) = sv_newmortal();
8040 :
8041 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8042 0 : XSRETURN(argvi);
8043 : fail:
8044 :
8045 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8046 0 : SWIG_croak_null();
8047 : }
8048 : }
8049 :
8050 :
8051 0 : XS(_wrap_webObj_imageurl_get) {
8052 : {
8053 : webObj *arg1 = (webObj *) 0 ;
8054 0 : void *argp1 = 0 ;
8055 : int res1 = 0 ;
8056 : int argvi = 0;
8057 : char *result = 0 ;
8058 0 : dXSARGS;
8059 :
8060 0 : if ((items < 1) || (items > 1)) {
8061 0 : SWIG_croak("Usage: webObj_imageurl_get(self);");
8062 : }
8063 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8064 0 : if (!SWIG_IsOK(res1)) {
8065 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imageurl_get" "', argument " "1"" of type '" "webObj *""'");
8066 : }
8067 0 : arg1 = (webObj *)(argp1);
8068 0 : result = (char *) ((arg1)->imageurl);
8069 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8070 :
8071 0 : XSRETURN(argvi);
8072 : fail:
8073 :
8074 0 : SWIG_croak_null();
8075 : }
8076 : }
8077 :
8078 :
8079 0 : XS(_wrap_webObj_temppath_set) {
8080 : {
8081 : webObj *arg1 = (webObj *) 0 ;
8082 : char *arg2 = (char *) 0 ;
8083 0 : void *argp1 = 0 ;
8084 : int res1 = 0 ;
8085 : int res2 ;
8086 0 : char *buf2 = 0 ;
8087 0 : int alloc2 = 0 ;
8088 : int argvi = 0;
8089 0 : dXSARGS;
8090 :
8091 0 : if ((items < 2) || (items > 2)) {
8092 0 : SWIG_croak("Usage: webObj_temppath_set(self,temppath);");
8093 : }
8094 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8095 0 : if (!SWIG_IsOK(res1)) {
8096 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_temppath_set" "', argument " "1"" of type '" "webObj *""'");
8097 : }
8098 0 : arg1 = (webObj *)(argp1);
8099 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8100 0 : if (!SWIG_IsOK(res2)) {
8101 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_temppath_set" "', argument " "2"" of type '" "char *""'");
8102 : }
8103 0 : arg2 = (char *)(buf2);
8104 : {
8105 0 : if (arg1->temppath) free((char*)arg1->temppath);
8106 0 : if (arg2) {
8107 0 : arg1->temppath = (char *) malloc(strlen(arg2)+1);
8108 : strcpy((char*)arg1->temppath,arg2);
8109 : } else {
8110 0 : arg1->temppath = 0;
8111 : }
8112 : }
8113 0 : ST(argvi) = sv_newmortal();
8114 :
8115 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8116 0 : XSRETURN(argvi);
8117 : fail:
8118 :
8119 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8120 0 : SWIG_croak_null();
8121 : }
8122 : }
8123 :
8124 :
8125 0 : XS(_wrap_webObj_temppath_get) {
8126 : {
8127 : webObj *arg1 = (webObj *) 0 ;
8128 0 : void *argp1 = 0 ;
8129 : int res1 = 0 ;
8130 : int argvi = 0;
8131 : char *result = 0 ;
8132 0 : dXSARGS;
8133 :
8134 0 : if ((items < 1) || (items > 1)) {
8135 0 : SWIG_croak("Usage: webObj_temppath_get(self);");
8136 : }
8137 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8138 0 : if (!SWIG_IsOK(res1)) {
8139 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_temppath_get" "', argument " "1"" of type '" "webObj *""'");
8140 : }
8141 0 : arg1 = (webObj *)(argp1);
8142 0 : result = (char *) ((arg1)->temppath);
8143 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8144 :
8145 0 : XSRETURN(argvi);
8146 : fail:
8147 :
8148 0 : SWIG_croak_null();
8149 : }
8150 : }
8151 :
8152 :
8153 0 : XS(_wrap_webObj_map_get) {
8154 : {
8155 : webObj *arg1 = (webObj *) 0 ;
8156 0 : void *argp1 = 0 ;
8157 : int res1 = 0 ;
8158 : int argvi = 0;
8159 : struct mapObj *result = 0 ;
8160 0 : dXSARGS;
8161 :
8162 0 : if ((items < 1) || (items > 1)) {
8163 0 : SWIG_croak("Usage: webObj_map_get(self);");
8164 : }
8165 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8166 0 : if (!SWIG_IsOK(res1)) {
8167 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_map_get" "', argument " "1"" of type '" "webObj *""'");
8168 : }
8169 0 : arg1 = (webObj *)(argp1);
8170 : {
8171 : /* Accessing map */
8172 0 : result = (struct mapObj *) ((arg1)->map);;
8173 0 : MS_REFCNT_INCR(result);
8174 : }
8175 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
8176 :
8177 0 : XSRETURN(argvi);
8178 : fail:
8179 :
8180 0 : SWIG_croak_null();
8181 : }
8182 : }
8183 :
8184 :
8185 0 : XS(_wrap_webObj_template_set) {
8186 : {
8187 : webObj *arg1 = (webObj *) 0 ;
8188 : char *arg2 = (char *) 0 ;
8189 0 : void *argp1 = 0 ;
8190 : int res1 = 0 ;
8191 : int res2 ;
8192 0 : char *buf2 = 0 ;
8193 0 : int alloc2 = 0 ;
8194 : int argvi = 0;
8195 0 : dXSARGS;
8196 :
8197 0 : if ((items < 2) || (items > 2)) {
8198 0 : SWIG_croak("Usage: webObj_template_set(self,template);");
8199 : }
8200 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8201 0 : if (!SWIG_IsOK(res1)) {
8202 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_template_set" "', argument " "1"" of type '" "webObj *""'");
8203 : }
8204 0 : arg1 = (webObj *)(argp1);
8205 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8206 0 : if (!SWIG_IsOK(res2)) {
8207 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_template_set" "', argument " "2"" of type '" "char *""'");
8208 : }
8209 0 : arg2 = (char *)(buf2);
8210 : {
8211 0 : if (arg1->template) free((char*)arg1->template);
8212 0 : if (arg2) {
8213 0 : arg1->template = (char *) malloc(strlen(arg2)+1);
8214 : strcpy((char*)arg1->template,arg2);
8215 : } else {
8216 0 : arg1->template = 0;
8217 : }
8218 : }
8219 0 : ST(argvi) = sv_newmortal();
8220 :
8221 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8222 0 : XSRETURN(argvi);
8223 : fail:
8224 :
8225 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8226 0 : SWIG_croak_null();
8227 : }
8228 : }
8229 :
8230 :
8231 0 : XS(_wrap_webObj_template_get) {
8232 : {
8233 : webObj *arg1 = (webObj *) 0 ;
8234 0 : void *argp1 = 0 ;
8235 : int res1 = 0 ;
8236 : int argvi = 0;
8237 : char *result = 0 ;
8238 0 : dXSARGS;
8239 :
8240 0 : if ((items < 1) || (items > 1)) {
8241 0 : SWIG_croak("Usage: webObj_template_get(self);");
8242 : }
8243 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8244 0 : if (!SWIG_IsOK(res1)) {
8245 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_template_get" "', argument " "1"" of type '" "webObj *""'");
8246 : }
8247 0 : arg1 = (webObj *)(argp1);
8248 0 : result = (char *) ((arg1)->template);
8249 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8250 :
8251 0 : XSRETURN(argvi);
8252 : fail:
8253 :
8254 0 : SWIG_croak_null();
8255 : }
8256 : }
8257 :
8258 :
8259 0 : XS(_wrap_webObj_header_set) {
8260 : {
8261 : webObj *arg1 = (webObj *) 0 ;
8262 : char *arg2 = (char *) 0 ;
8263 0 : void *argp1 = 0 ;
8264 : int res1 = 0 ;
8265 : int res2 ;
8266 0 : char *buf2 = 0 ;
8267 0 : int alloc2 = 0 ;
8268 : int argvi = 0;
8269 0 : dXSARGS;
8270 :
8271 0 : if ((items < 2) || (items > 2)) {
8272 0 : SWIG_croak("Usage: webObj_header_set(self,header);");
8273 : }
8274 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8275 0 : if (!SWIG_IsOK(res1)) {
8276 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_header_set" "', argument " "1"" of type '" "webObj *""'");
8277 : }
8278 0 : arg1 = (webObj *)(argp1);
8279 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8280 0 : if (!SWIG_IsOK(res2)) {
8281 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_header_set" "', argument " "2"" of type '" "char *""'");
8282 : }
8283 0 : arg2 = (char *)(buf2);
8284 : {
8285 0 : if (arg1->header) free((char*)arg1->header);
8286 0 : if (arg2) {
8287 0 : arg1->header = (char *) malloc(strlen(arg2)+1);
8288 : strcpy((char*)arg1->header,arg2);
8289 : } else {
8290 0 : arg1->header = 0;
8291 : }
8292 : }
8293 0 : ST(argvi) = sv_newmortal();
8294 :
8295 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8296 0 : XSRETURN(argvi);
8297 : fail:
8298 :
8299 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8300 0 : SWIG_croak_null();
8301 : }
8302 : }
8303 :
8304 :
8305 0 : XS(_wrap_webObj_header_get) {
8306 : {
8307 : webObj *arg1 = (webObj *) 0 ;
8308 0 : void *argp1 = 0 ;
8309 : int res1 = 0 ;
8310 : int argvi = 0;
8311 : char *result = 0 ;
8312 0 : dXSARGS;
8313 :
8314 0 : if ((items < 1) || (items > 1)) {
8315 0 : SWIG_croak("Usage: webObj_header_get(self);");
8316 : }
8317 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8318 0 : if (!SWIG_IsOK(res1)) {
8319 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_header_get" "', argument " "1"" of type '" "webObj *""'");
8320 : }
8321 0 : arg1 = (webObj *)(argp1);
8322 0 : result = (char *) ((arg1)->header);
8323 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8324 :
8325 0 : XSRETURN(argvi);
8326 : fail:
8327 :
8328 0 : SWIG_croak_null();
8329 : }
8330 : }
8331 :
8332 :
8333 0 : XS(_wrap_webObj_footer_set) {
8334 : {
8335 : webObj *arg1 = (webObj *) 0 ;
8336 : char *arg2 = (char *) 0 ;
8337 0 : void *argp1 = 0 ;
8338 : int res1 = 0 ;
8339 : int res2 ;
8340 0 : char *buf2 = 0 ;
8341 0 : int alloc2 = 0 ;
8342 : int argvi = 0;
8343 0 : dXSARGS;
8344 :
8345 0 : if ((items < 2) || (items > 2)) {
8346 0 : SWIG_croak("Usage: webObj_footer_set(self,footer);");
8347 : }
8348 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8349 0 : if (!SWIG_IsOK(res1)) {
8350 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_footer_set" "', argument " "1"" of type '" "webObj *""'");
8351 : }
8352 0 : arg1 = (webObj *)(argp1);
8353 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8354 0 : if (!SWIG_IsOK(res2)) {
8355 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_footer_set" "', argument " "2"" of type '" "char *""'");
8356 : }
8357 0 : arg2 = (char *)(buf2);
8358 : {
8359 0 : if (arg1->footer) free((char*)arg1->footer);
8360 0 : if (arg2) {
8361 0 : arg1->footer = (char *) malloc(strlen(arg2)+1);
8362 : strcpy((char*)arg1->footer,arg2);
8363 : } else {
8364 0 : arg1->footer = 0;
8365 : }
8366 : }
8367 0 : ST(argvi) = sv_newmortal();
8368 :
8369 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8370 0 : XSRETURN(argvi);
8371 : fail:
8372 :
8373 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8374 0 : SWIG_croak_null();
8375 : }
8376 : }
8377 :
8378 :
8379 0 : XS(_wrap_webObj_footer_get) {
8380 : {
8381 : webObj *arg1 = (webObj *) 0 ;
8382 0 : void *argp1 = 0 ;
8383 : int res1 = 0 ;
8384 : int argvi = 0;
8385 : char *result = 0 ;
8386 0 : dXSARGS;
8387 :
8388 0 : if ((items < 1) || (items > 1)) {
8389 0 : SWIG_croak("Usage: webObj_footer_get(self);");
8390 : }
8391 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8392 0 : if (!SWIG_IsOK(res1)) {
8393 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_footer_get" "', argument " "1"" of type '" "webObj *""'");
8394 : }
8395 0 : arg1 = (webObj *)(argp1);
8396 0 : result = (char *) ((arg1)->footer);
8397 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8398 :
8399 0 : XSRETURN(argvi);
8400 : fail:
8401 :
8402 0 : SWIG_croak_null();
8403 : }
8404 : }
8405 :
8406 :
8407 0 : XS(_wrap_webObj_empty_set) {
8408 : {
8409 : webObj *arg1 = (webObj *) 0 ;
8410 : char *arg2 = (char *) 0 ;
8411 0 : void *argp1 = 0 ;
8412 : int res1 = 0 ;
8413 : int res2 ;
8414 0 : char *buf2 = 0 ;
8415 0 : int alloc2 = 0 ;
8416 : int argvi = 0;
8417 0 : dXSARGS;
8418 :
8419 0 : if ((items < 2) || (items > 2)) {
8420 0 : SWIG_croak("Usage: webObj_empty_set(self,empty);");
8421 : }
8422 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8423 0 : if (!SWIG_IsOK(res1)) {
8424 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_empty_set" "', argument " "1"" of type '" "webObj *""'");
8425 : }
8426 0 : arg1 = (webObj *)(argp1);
8427 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8428 0 : if (!SWIG_IsOK(res2)) {
8429 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_empty_set" "', argument " "2"" of type '" "char *""'");
8430 : }
8431 0 : arg2 = (char *)(buf2);
8432 : {
8433 0 : if (arg1->empty) free((char*)arg1->empty);
8434 0 : if (arg2) {
8435 0 : arg1->empty = (char *) malloc(strlen(arg2)+1);
8436 : strcpy((char*)arg1->empty,arg2);
8437 : } else {
8438 0 : arg1->empty = 0;
8439 : }
8440 : }
8441 0 : ST(argvi) = sv_newmortal();
8442 :
8443 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8444 0 : XSRETURN(argvi);
8445 : fail:
8446 :
8447 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8448 0 : SWIG_croak_null();
8449 : }
8450 : }
8451 :
8452 :
8453 0 : XS(_wrap_webObj_empty_get) {
8454 : {
8455 : webObj *arg1 = (webObj *) 0 ;
8456 0 : void *argp1 = 0 ;
8457 : int res1 = 0 ;
8458 : int argvi = 0;
8459 : char *result = 0 ;
8460 0 : dXSARGS;
8461 :
8462 0 : if ((items < 1) || (items > 1)) {
8463 0 : SWIG_croak("Usage: webObj_empty_get(self);");
8464 : }
8465 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8466 0 : if (!SWIG_IsOK(res1)) {
8467 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_empty_get" "', argument " "1"" of type '" "webObj *""'");
8468 : }
8469 0 : arg1 = (webObj *)(argp1);
8470 0 : result = (char *) ((arg1)->empty);
8471 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8472 :
8473 0 : XSRETURN(argvi);
8474 : fail:
8475 :
8476 0 : SWIG_croak_null();
8477 : }
8478 : }
8479 :
8480 :
8481 0 : XS(_wrap_webObj_error_set) {
8482 : {
8483 : webObj *arg1 = (webObj *) 0 ;
8484 : char *arg2 = (char *) 0 ;
8485 0 : void *argp1 = 0 ;
8486 : int res1 = 0 ;
8487 : int res2 ;
8488 0 : char *buf2 = 0 ;
8489 0 : int alloc2 = 0 ;
8490 : int argvi = 0;
8491 0 : dXSARGS;
8492 :
8493 0 : if ((items < 2) || (items > 2)) {
8494 0 : SWIG_croak("Usage: webObj_error_set(self,error);");
8495 : }
8496 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8497 0 : if (!SWIG_IsOK(res1)) {
8498 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_error_set" "', argument " "1"" of type '" "webObj *""'");
8499 : }
8500 0 : arg1 = (webObj *)(argp1);
8501 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8502 0 : if (!SWIG_IsOK(res2)) {
8503 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_error_set" "', argument " "2"" of type '" "char *""'");
8504 : }
8505 0 : arg2 = (char *)(buf2);
8506 : {
8507 0 : if (arg1->error) free((char*)arg1->error);
8508 0 : if (arg2) {
8509 0 : arg1->error = (char *) malloc(strlen(arg2)+1);
8510 : strcpy((char*)arg1->error,arg2);
8511 : } else {
8512 0 : arg1->error = 0;
8513 : }
8514 : }
8515 0 : ST(argvi) = sv_newmortal();
8516 :
8517 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8518 0 : XSRETURN(argvi);
8519 : fail:
8520 :
8521 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8522 0 : SWIG_croak_null();
8523 : }
8524 : }
8525 :
8526 :
8527 0 : XS(_wrap_webObj_error_get) {
8528 : {
8529 : webObj *arg1 = (webObj *) 0 ;
8530 0 : void *argp1 = 0 ;
8531 : int res1 = 0 ;
8532 : int argvi = 0;
8533 : char *result = 0 ;
8534 0 : dXSARGS;
8535 :
8536 0 : if ((items < 1) || (items > 1)) {
8537 0 : SWIG_croak("Usage: webObj_error_get(self);");
8538 : }
8539 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8540 0 : if (!SWIG_IsOK(res1)) {
8541 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_error_get" "', argument " "1"" of type '" "webObj *""'");
8542 : }
8543 0 : arg1 = (webObj *)(argp1);
8544 0 : result = (char *) ((arg1)->error);
8545 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8546 :
8547 0 : XSRETURN(argvi);
8548 : fail:
8549 :
8550 0 : SWIG_croak_null();
8551 : }
8552 : }
8553 :
8554 :
8555 0 : XS(_wrap_webObj_extent_set) {
8556 : {
8557 : webObj *arg1 = (webObj *) 0 ;
8558 : rectObj *arg2 = (rectObj *) 0 ;
8559 0 : void *argp1 = 0 ;
8560 : int res1 = 0 ;
8561 0 : void *argp2 = 0 ;
8562 : int res2 = 0 ;
8563 : int argvi = 0;
8564 0 : dXSARGS;
8565 :
8566 0 : if ((items < 2) || (items > 2)) {
8567 0 : SWIG_croak("Usage: webObj_extent_set(self,extent);");
8568 : }
8569 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8570 0 : if (!SWIG_IsOK(res1)) {
8571 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_extent_set" "', argument " "1"" of type '" "webObj *""'");
8572 : }
8573 0 : arg1 = (webObj *)(argp1);
8574 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 | 0 );
8575 0 : if (!SWIG_IsOK(res2)) {
8576 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_extent_set" "', argument " "2"" of type '" "rectObj *""'");
8577 : }
8578 0 : arg2 = (rectObj *)(argp2);
8579 0 : if (arg1) (arg1)->extent = *arg2;
8580 0 : ST(argvi) = sv_newmortal();
8581 :
8582 :
8583 0 : XSRETURN(argvi);
8584 : fail:
8585 :
8586 :
8587 0 : SWIG_croak_null();
8588 : }
8589 : }
8590 :
8591 :
8592 0 : XS(_wrap_webObj_extent_get) {
8593 : {
8594 : webObj *arg1 = (webObj *) 0 ;
8595 0 : void *argp1 = 0 ;
8596 : int res1 = 0 ;
8597 : int argvi = 0;
8598 : rectObj *result = 0 ;
8599 0 : dXSARGS;
8600 :
8601 0 : if ((items < 1) || (items > 1)) {
8602 0 : SWIG_croak("Usage: webObj_extent_get(self);");
8603 : }
8604 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8605 0 : if (!SWIG_IsOK(res1)) {
8606 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_extent_get" "', argument " "1"" of type '" "webObj *""'");
8607 : }
8608 0 : arg1 = (webObj *)(argp1);
8609 0 : result = (rectObj *)& ((arg1)->extent);
8610 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
8611 :
8612 0 : XSRETURN(argvi);
8613 : fail:
8614 :
8615 0 : SWIG_croak_null();
8616 : }
8617 : }
8618 :
8619 :
8620 0 : XS(_wrap_webObj_minscaledenom_set) {
8621 : {
8622 : webObj *arg1 = (webObj *) 0 ;
8623 : double arg2 ;
8624 0 : void *argp1 = 0 ;
8625 : int res1 = 0 ;
8626 : double val2 ;
8627 : int ecode2 = 0 ;
8628 : int argvi = 0;
8629 0 : dXSARGS;
8630 :
8631 0 : if ((items < 2) || (items > 2)) {
8632 0 : SWIG_croak("Usage: webObj_minscaledenom_set(self,minscaledenom);");
8633 : }
8634 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8635 0 : if (!SWIG_IsOK(res1)) {
8636 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_minscaledenom_set" "', argument " "1"" of type '" "webObj *""'");
8637 : }
8638 0 : arg1 = (webObj *)(argp1);
8639 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8640 0 : if (!SWIG_IsOK(ecode2)) {
8641 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "webObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
8642 : }
8643 0 : arg2 = (double)(val2);
8644 0 : if (arg1) (arg1)->minscaledenom = arg2;
8645 0 : ST(argvi) = sv_newmortal();
8646 :
8647 :
8648 0 : XSRETURN(argvi);
8649 : fail:
8650 :
8651 :
8652 0 : SWIG_croak_null();
8653 : }
8654 : }
8655 :
8656 :
8657 0 : XS(_wrap_webObj_minscaledenom_get) {
8658 : {
8659 : webObj *arg1 = (webObj *) 0 ;
8660 0 : void *argp1 = 0 ;
8661 : int res1 = 0 ;
8662 : int argvi = 0;
8663 : double result;
8664 0 : dXSARGS;
8665 :
8666 0 : if ((items < 1) || (items > 1)) {
8667 0 : SWIG_croak("Usage: webObj_minscaledenom_get(self);");
8668 : }
8669 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8670 0 : if (!SWIG_IsOK(res1)) {
8671 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_minscaledenom_get" "', argument " "1"" of type '" "webObj *""'");
8672 : }
8673 0 : arg1 = (webObj *)(argp1);
8674 0 : result = (double) ((arg1)->minscaledenom);
8675 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
8676 :
8677 0 : XSRETURN(argvi);
8678 : fail:
8679 :
8680 0 : SWIG_croak_null();
8681 : }
8682 : }
8683 :
8684 :
8685 0 : XS(_wrap_webObj_maxscaledenom_set) {
8686 : {
8687 : webObj *arg1 = (webObj *) 0 ;
8688 : double arg2 ;
8689 0 : void *argp1 = 0 ;
8690 : int res1 = 0 ;
8691 : double val2 ;
8692 : int ecode2 = 0 ;
8693 : int argvi = 0;
8694 0 : dXSARGS;
8695 :
8696 0 : if ((items < 2) || (items > 2)) {
8697 0 : SWIG_croak("Usage: webObj_maxscaledenom_set(self,maxscaledenom);");
8698 : }
8699 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8700 0 : if (!SWIG_IsOK(res1)) {
8701 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxscaledenom_set" "', argument " "1"" of type '" "webObj *""'");
8702 : }
8703 0 : arg1 = (webObj *)(argp1);
8704 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
8705 0 : if (!SWIG_IsOK(ecode2)) {
8706 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "webObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
8707 : }
8708 0 : arg2 = (double)(val2);
8709 0 : if (arg1) (arg1)->maxscaledenom = arg2;
8710 0 : ST(argvi) = sv_newmortal();
8711 :
8712 :
8713 0 : XSRETURN(argvi);
8714 : fail:
8715 :
8716 :
8717 0 : SWIG_croak_null();
8718 : }
8719 : }
8720 :
8721 :
8722 0 : XS(_wrap_webObj_maxscaledenom_get) {
8723 : {
8724 : webObj *arg1 = (webObj *) 0 ;
8725 0 : void *argp1 = 0 ;
8726 : int res1 = 0 ;
8727 : int argvi = 0;
8728 : double result;
8729 0 : dXSARGS;
8730 :
8731 0 : if ((items < 1) || (items > 1)) {
8732 0 : SWIG_croak("Usage: webObj_maxscaledenom_get(self);");
8733 : }
8734 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8735 0 : if (!SWIG_IsOK(res1)) {
8736 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxscaledenom_get" "', argument " "1"" of type '" "webObj *""'");
8737 : }
8738 0 : arg1 = (webObj *)(argp1);
8739 0 : result = (double) ((arg1)->maxscaledenom);
8740 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
8741 :
8742 0 : XSRETURN(argvi);
8743 : fail:
8744 :
8745 0 : SWIG_croak_null();
8746 : }
8747 : }
8748 :
8749 :
8750 0 : XS(_wrap_webObj_mintemplate_set) {
8751 : {
8752 : webObj *arg1 = (webObj *) 0 ;
8753 : char *arg2 = (char *) 0 ;
8754 0 : void *argp1 = 0 ;
8755 : int res1 = 0 ;
8756 : int res2 ;
8757 0 : char *buf2 = 0 ;
8758 0 : int alloc2 = 0 ;
8759 : int argvi = 0;
8760 0 : dXSARGS;
8761 :
8762 0 : if ((items < 2) || (items > 2)) {
8763 0 : SWIG_croak("Usage: webObj_mintemplate_set(self,mintemplate);");
8764 : }
8765 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8766 0 : if (!SWIG_IsOK(res1)) {
8767 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_mintemplate_set" "', argument " "1"" of type '" "webObj *""'");
8768 : }
8769 0 : arg1 = (webObj *)(argp1);
8770 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8771 0 : if (!SWIG_IsOK(res2)) {
8772 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_mintemplate_set" "', argument " "2"" of type '" "char *""'");
8773 : }
8774 0 : arg2 = (char *)(buf2);
8775 : {
8776 0 : if (arg1->mintemplate) free((char*)arg1->mintemplate);
8777 0 : if (arg2) {
8778 0 : arg1->mintemplate = (char *) malloc(strlen(arg2)+1);
8779 : strcpy((char*)arg1->mintemplate,arg2);
8780 : } else {
8781 0 : arg1->mintemplate = 0;
8782 : }
8783 : }
8784 0 : ST(argvi) = sv_newmortal();
8785 :
8786 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8787 0 : XSRETURN(argvi);
8788 : fail:
8789 :
8790 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8791 0 : SWIG_croak_null();
8792 : }
8793 : }
8794 :
8795 :
8796 0 : XS(_wrap_webObj_mintemplate_get) {
8797 : {
8798 : webObj *arg1 = (webObj *) 0 ;
8799 0 : void *argp1 = 0 ;
8800 : int res1 = 0 ;
8801 : int argvi = 0;
8802 : char *result = 0 ;
8803 0 : dXSARGS;
8804 :
8805 0 : if ((items < 1) || (items > 1)) {
8806 0 : SWIG_croak("Usage: webObj_mintemplate_get(self);");
8807 : }
8808 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8809 0 : if (!SWIG_IsOK(res1)) {
8810 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_mintemplate_get" "', argument " "1"" of type '" "webObj *""'");
8811 : }
8812 0 : arg1 = (webObj *)(argp1);
8813 0 : result = (char *) ((arg1)->mintemplate);
8814 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8815 :
8816 0 : XSRETURN(argvi);
8817 : fail:
8818 :
8819 0 : SWIG_croak_null();
8820 : }
8821 : }
8822 :
8823 :
8824 0 : XS(_wrap_webObj_maxtemplate_set) {
8825 : {
8826 : webObj *arg1 = (webObj *) 0 ;
8827 : char *arg2 = (char *) 0 ;
8828 0 : void *argp1 = 0 ;
8829 : int res1 = 0 ;
8830 : int res2 ;
8831 0 : char *buf2 = 0 ;
8832 0 : int alloc2 = 0 ;
8833 : int argvi = 0;
8834 0 : dXSARGS;
8835 :
8836 0 : if ((items < 2) || (items > 2)) {
8837 0 : SWIG_croak("Usage: webObj_maxtemplate_set(self,maxtemplate);");
8838 : }
8839 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8840 0 : if (!SWIG_IsOK(res1)) {
8841 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxtemplate_set" "', argument " "1"" of type '" "webObj *""'");
8842 : }
8843 0 : arg1 = (webObj *)(argp1);
8844 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8845 0 : if (!SWIG_IsOK(res2)) {
8846 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_maxtemplate_set" "', argument " "2"" of type '" "char *""'");
8847 : }
8848 0 : arg2 = (char *)(buf2);
8849 : {
8850 0 : if (arg1->maxtemplate) free((char*)arg1->maxtemplate);
8851 0 : if (arg2) {
8852 0 : arg1->maxtemplate = (char *) malloc(strlen(arg2)+1);
8853 : strcpy((char*)arg1->maxtemplate,arg2);
8854 : } else {
8855 0 : arg1->maxtemplate = 0;
8856 : }
8857 : }
8858 0 : ST(argvi) = sv_newmortal();
8859 :
8860 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8861 0 : XSRETURN(argvi);
8862 : fail:
8863 :
8864 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8865 0 : SWIG_croak_null();
8866 : }
8867 : }
8868 :
8869 :
8870 0 : XS(_wrap_webObj_maxtemplate_get) {
8871 : {
8872 : webObj *arg1 = (webObj *) 0 ;
8873 0 : void *argp1 = 0 ;
8874 : int res1 = 0 ;
8875 : int argvi = 0;
8876 : char *result = 0 ;
8877 0 : dXSARGS;
8878 :
8879 0 : if ((items < 1) || (items > 1)) {
8880 0 : SWIG_croak("Usage: webObj_maxtemplate_get(self);");
8881 : }
8882 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8883 0 : if (!SWIG_IsOK(res1)) {
8884 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxtemplate_get" "', argument " "1"" of type '" "webObj *""'");
8885 : }
8886 0 : arg1 = (webObj *)(argp1);
8887 0 : result = (char *) ((arg1)->maxtemplate);
8888 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8889 :
8890 0 : XSRETURN(argvi);
8891 : fail:
8892 :
8893 0 : SWIG_croak_null();
8894 : }
8895 : }
8896 :
8897 :
8898 0 : XS(_wrap_webObj_queryformat_set) {
8899 : {
8900 : webObj *arg1 = (webObj *) 0 ;
8901 : char *arg2 = (char *) 0 ;
8902 0 : void *argp1 = 0 ;
8903 : int res1 = 0 ;
8904 : int res2 ;
8905 0 : char *buf2 = 0 ;
8906 0 : int alloc2 = 0 ;
8907 : int argvi = 0;
8908 0 : dXSARGS;
8909 :
8910 0 : if ((items < 2) || (items > 2)) {
8911 0 : SWIG_croak("Usage: webObj_queryformat_set(self,queryformat);");
8912 : }
8913 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8914 0 : if (!SWIG_IsOK(res1)) {
8915 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_queryformat_set" "', argument " "1"" of type '" "webObj *""'");
8916 : }
8917 0 : arg1 = (webObj *)(argp1);
8918 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8919 0 : if (!SWIG_IsOK(res2)) {
8920 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_queryformat_set" "', argument " "2"" of type '" "char *""'");
8921 : }
8922 0 : arg2 = (char *)(buf2);
8923 : {
8924 0 : if (arg1->queryformat) free((char*)arg1->queryformat);
8925 0 : if (arg2) {
8926 0 : arg1->queryformat = (char *) malloc(strlen(arg2)+1);
8927 : strcpy((char*)arg1->queryformat,arg2);
8928 : } else {
8929 0 : arg1->queryformat = 0;
8930 : }
8931 : }
8932 0 : ST(argvi) = sv_newmortal();
8933 :
8934 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8935 0 : XSRETURN(argvi);
8936 : fail:
8937 :
8938 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
8939 0 : SWIG_croak_null();
8940 : }
8941 : }
8942 :
8943 :
8944 0 : XS(_wrap_webObj_queryformat_get) {
8945 : {
8946 : webObj *arg1 = (webObj *) 0 ;
8947 0 : void *argp1 = 0 ;
8948 : int res1 = 0 ;
8949 : int argvi = 0;
8950 : char *result = 0 ;
8951 0 : dXSARGS;
8952 :
8953 0 : if ((items < 1) || (items > 1)) {
8954 0 : SWIG_croak("Usage: webObj_queryformat_get(self);");
8955 : }
8956 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8957 0 : if (!SWIG_IsOK(res1)) {
8958 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_queryformat_get" "', argument " "1"" of type '" "webObj *""'");
8959 : }
8960 0 : arg1 = (webObj *)(argp1);
8961 0 : result = (char *) ((arg1)->queryformat);
8962 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
8963 :
8964 0 : XSRETURN(argvi);
8965 : fail:
8966 :
8967 0 : SWIG_croak_null();
8968 : }
8969 : }
8970 :
8971 :
8972 0 : XS(_wrap_webObj_legendformat_set) {
8973 : {
8974 : webObj *arg1 = (webObj *) 0 ;
8975 : char *arg2 = (char *) 0 ;
8976 0 : void *argp1 = 0 ;
8977 : int res1 = 0 ;
8978 : int res2 ;
8979 0 : char *buf2 = 0 ;
8980 0 : int alloc2 = 0 ;
8981 : int argvi = 0;
8982 0 : dXSARGS;
8983 :
8984 0 : if ((items < 2) || (items > 2)) {
8985 0 : SWIG_croak("Usage: webObj_legendformat_set(self,legendformat);");
8986 : }
8987 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
8988 0 : if (!SWIG_IsOK(res1)) {
8989 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_legendformat_set" "', argument " "1"" of type '" "webObj *""'");
8990 : }
8991 0 : arg1 = (webObj *)(argp1);
8992 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
8993 0 : if (!SWIG_IsOK(res2)) {
8994 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_legendformat_set" "', argument " "2"" of type '" "char *""'");
8995 : }
8996 0 : arg2 = (char *)(buf2);
8997 : {
8998 0 : if (arg1->legendformat) free((char*)arg1->legendformat);
8999 0 : if (arg2) {
9000 0 : arg1->legendformat = (char *) malloc(strlen(arg2)+1);
9001 : strcpy((char*)arg1->legendformat,arg2);
9002 : } else {
9003 0 : arg1->legendformat = 0;
9004 : }
9005 : }
9006 0 : ST(argvi) = sv_newmortal();
9007 :
9008 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9009 0 : XSRETURN(argvi);
9010 : fail:
9011 :
9012 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9013 0 : SWIG_croak_null();
9014 : }
9015 : }
9016 :
9017 :
9018 0 : XS(_wrap_webObj_legendformat_get) {
9019 : {
9020 : webObj *arg1 = (webObj *) 0 ;
9021 0 : void *argp1 = 0 ;
9022 : int res1 = 0 ;
9023 : int argvi = 0;
9024 : char *result = 0 ;
9025 0 : dXSARGS;
9026 :
9027 0 : if ((items < 1) || (items > 1)) {
9028 0 : SWIG_croak("Usage: webObj_legendformat_get(self);");
9029 : }
9030 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9031 0 : if (!SWIG_IsOK(res1)) {
9032 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_legendformat_get" "', argument " "1"" of type '" "webObj *""'");
9033 : }
9034 0 : arg1 = (webObj *)(argp1);
9035 0 : result = (char *) ((arg1)->legendformat);
9036 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
9037 :
9038 0 : XSRETURN(argvi);
9039 : fail:
9040 :
9041 0 : SWIG_croak_null();
9042 : }
9043 : }
9044 :
9045 :
9046 0 : XS(_wrap_webObj_browseformat_set) {
9047 : {
9048 : webObj *arg1 = (webObj *) 0 ;
9049 : char *arg2 = (char *) 0 ;
9050 0 : void *argp1 = 0 ;
9051 : int res1 = 0 ;
9052 : int res2 ;
9053 0 : char *buf2 = 0 ;
9054 0 : int alloc2 = 0 ;
9055 : int argvi = 0;
9056 0 : dXSARGS;
9057 :
9058 0 : if ((items < 2) || (items > 2)) {
9059 0 : SWIG_croak("Usage: webObj_browseformat_set(self,browseformat);");
9060 : }
9061 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9062 0 : if (!SWIG_IsOK(res1)) {
9063 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_browseformat_set" "', argument " "1"" of type '" "webObj *""'");
9064 : }
9065 0 : arg1 = (webObj *)(argp1);
9066 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
9067 0 : if (!SWIG_IsOK(res2)) {
9068 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_browseformat_set" "', argument " "2"" of type '" "char *""'");
9069 : }
9070 0 : arg2 = (char *)(buf2);
9071 : {
9072 0 : if (arg1->browseformat) free((char*)arg1->browseformat);
9073 0 : if (arg2) {
9074 0 : arg1->browseformat = (char *) malloc(strlen(arg2)+1);
9075 : strcpy((char*)arg1->browseformat,arg2);
9076 : } else {
9077 0 : arg1->browseformat = 0;
9078 : }
9079 : }
9080 0 : ST(argvi) = sv_newmortal();
9081 :
9082 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9083 0 : XSRETURN(argvi);
9084 : fail:
9085 :
9086 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9087 0 : SWIG_croak_null();
9088 : }
9089 : }
9090 :
9091 :
9092 0 : XS(_wrap_webObj_browseformat_get) {
9093 : {
9094 : webObj *arg1 = (webObj *) 0 ;
9095 0 : void *argp1 = 0 ;
9096 : int res1 = 0 ;
9097 : int argvi = 0;
9098 : char *result = 0 ;
9099 0 : dXSARGS;
9100 :
9101 0 : if ((items < 1) || (items > 1)) {
9102 0 : SWIG_croak("Usage: webObj_browseformat_get(self);");
9103 : }
9104 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9105 0 : if (!SWIG_IsOK(res1)) {
9106 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_browseformat_get" "', argument " "1"" of type '" "webObj *""'");
9107 : }
9108 0 : arg1 = (webObj *)(argp1);
9109 0 : result = (char *) ((arg1)->browseformat);
9110 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
9111 :
9112 0 : XSRETURN(argvi);
9113 : fail:
9114 :
9115 0 : SWIG_croak_null();
9116 : }
9117 : }
9118 :
9119 :
9120 0 : XS(_wrap_webObj_metadata_get) {
9121 : {
9122 : webObj *arg1 = (webObj *) 0 ;
9123 0 : void *argp1 = 0 ;
9124 : int res1 = 0 ;
9125 : int argvi = 0;
9126 : hashTableObj *result = 0 ;
9127 0 : dXSARGS;
9128 :
9129 0 : if ((items < 1) || (items > 1)) {
9130 0 : SWIG_croak("Usage: webObj_metadata_get(self);");
9131 : }
9132 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9133 0 : if (!SWIG_IsOK(res1)) {
9134 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_metadata_get" "', argument " "1"" of type '" "webObj *""'");
9135 : }
9136 0 : arg1 = (webObj *)(argp1);
9137 0 : result = (hashTableObj *)& ((arg1)->metadata);
9138 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
9139 :
9140 0 : XSRETURN(argvi);
9141 : fail:
9142 :
9143 0 : SWIG_croak_null();
9144 : }
9145 : }
9146 :
9147 :
9148 0 : XS(_wrap_webObj_validation_get) {
9149 : {
9150 : webObj *arg1 = (webObj *) 0 ;
9151 0 : void *argp1 = 0 ;
9152 : int res1 = 0 ;
9153 : int argvi = 0;
9154 : hashTableObj *result = 0 ;
9155 0 : dXSARGS;
9156 :
9157 0 : if ((items < 1) || (items > 1)) {
9158 0 : SWIG_croak("Usage: webObj_validation_get(self);");
9159 : }
9160 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9161 0 : if (!SWIG_IsOK(res1)) {
9162 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_validation_get" "', argument " "1"" of type '" "webObj *""'");
9163 : }
9164 0 : arg1 = (webObj *)(argp1);
9165 0 : result = (hashTableObj *)& ((arg1)->validation);
9166 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
9167 :
9168 0 : XSRETURN(argvi);
9169 : fail:
9170 :
9171 0 : SWIG_croak_null();
9172 : }
9173 : }
9174 :
9175 :
9176 0 : XS(_wrap_new_webObj) {
9177 : {
9178 : int argvi = 0;
9179 : webObj *result = 0 ;
9180 0 : dXSARGS;
9181 :
9182 0 : if ((items < 0) || (items > 0)) {
9183 0 : SWIG_croak("Usage: new_webObj();");
9184 : }
9185 : result = (webObj *)new_webObj();
9186 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_webObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
9187 0 : XSRETURN(argvi);
9188 : fail:
9189 0 : SWIG_croak_null();
9190 : }
9191 : }
9192 :
9193 :
9194 0 : XS(_wrap_delete_webObj) {
9195 : {
9196 : webObj *arg1 = (webObj *) 0 ;
9197 0 : void *argp1 = 0 ;
9198 : int res1 = 0 ;
9199 : int argvi = 0;
9200 0 : dXSARGS;
9201 :
9202 0 : if ((items < 1) || (items > 1)) {
9203 0 : SWIG_croak("Usage: delete_webObj(self);");
9204 : }
9205 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, SWIG_POINTER_DISOWN | 0 );
9206 0 : if (!SWIG_IsOK(res1)) {
9207 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_webObj" "', argument " "1"" of type '" "webObj *""'");
9208 : }
9209 0 : arg1 = (webObj *)(argp1);
9210 0 : delete_webObj(arg1);
9211 0 : ST(argvi) = sv_newmortal();
9212 :
9213 0 : XSRETURN(argvi);
9214 : fail:
9215 :
9216 0 : SWIG_croak_null();
9217 : }
9218 : }
9219 :
9220 :
9221 0 : XS(_wrap_webObj_updateFromString) {
9222 : {
9223 : webObj *arg1 = (webObj *) 0 ;
9224 : char *arg2 = (char *) 0 ;
9225 0 : void *argp1 = 0 ;
9226 : int res1 = 0 ;
9227 : int res2 ;
9228 0 : char *buf2 = 0 ;
9229 0 : int alloc2 = 0 ;
9230 : int argvi = 0;
9231 : int result;
9232 0 : dXSARGS;
9233 :
9234 0 : if ((items < 2) || (items > 2)) {
9235 0 : SWIG_croak("Usage: webObj_updateFromString(self,snippet);");
9236 : }
9237 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9238 0 : if (!SWIG_IsOK(res1)) {
9239 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_updateFromString" "', argument " "1"" of type '" "webObj *""'");
9240 : }
9241 0 : arg1 = (webObj *)(argp1);
9242 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
9243 0 : if (!SWIG_IsOK(res2)) {
9244 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_updateFromString" "', argument " "2"" of type '" "char *""'");
9245 : }
9246 0 : arg2 = (char *)(buf2);
9247 : result = (int)webObj_updateFromString(arg1,arg2);
9248 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9249 :
9250 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9251 0 : XSRETURN(argvi);
9252 : fail:
9253 :
9254 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9255 0 : SWIG_croak_null();
9256 : }
9257 : }
9258 :
9259 :
9260 0 : XS(_wrap_webObj_convertToString) {
9261 : {
9262 : webObj *arg1 = (webObj *) 0 ;
9263 0 : void *argp1 = 0 ;
9264 : int res1 = 0 ;
9265 : int argvi = 0;
9266 : char *result = 0 ;
9267 0 : dXSARGS;
9268 :
9269 0 : if ((items < 1) || (items > 1)) {
9270 0 : SWIG_croak("Usage: webObj_convertToString(self);");
9271 : }
9272 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 | 0 );
9273 0 : if (!SWIG_IsOK(res1)) {
9274 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_convertToString" "', argument " "1"" of type '" "webObj *""'");
9275 : }
9276 0 : arg1 = (webObj *)(argp1);
9277 : result = (char *)webObj_convertToString(arg1);
9278 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
9279 :
9280 0 : free((char*)result);
9281 0 : XSRETURN(argvi);
9282 : fail:
9283 :
9284 0 : SWIG_croak_null();
9285 : }
9286 : }
9287 :
9288 :
9289 0 : XS(_wrap_styleObj_refcount_get) {
9290 : {
9291 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9292 0 : void *argp1 = 0 ;
9293 : int res1 = 0 ;
9294 : int argvi = 0;
9295 : int result;
9296 0 : dXSARGS;
9297 :
9298 0 : if ((items < 1) || (items > 1)) {
9299 0 : SWIG_croak("Usage: styleObj_refcount_get(self);");
9300 : }
9301 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9302 0 : if (!SWIG_IsOK(res1)) {
9303 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_refcount_get" "', argument " "1"" of type '" "struct styleObj *""'");
9304 : }
9305 0 : arg1 = (struct styleObj *)(argp1);
9306 0 : result = (int) ((arg1)->refcount);
9307 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9308 :
9309 0 : XSRETURN(argvi);
9310 : fail:
9311 :
9312 0 : SWIG_croak_null();
9313 : }
9314 : }
9315 :
9316 :
9317 0 : XS(_wrap_styleObj_autoangle_set) {
9318 : {
9319 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9320 : int arg2 ;
9321 0 : void *argp1 = 0 ;
9322 : int res1 = 0 ;
9323 : int val2 ;
9324 : int ecode2 = 0 ;
9325 : int argvi = 0;
9326 0 : dXSARGS;
9327 :
9328 0 : if ((items < 2) || (items > 2)) {
9329 0 : SWIG_croak("Usage: styleObj_autoangle_set(self,autoangle);");
9330 : }
9331 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9332 0 : if (!SWIG_IsOK(res1)) {
9333 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_autoangle_set" "', argument " "1"" of type '" "struct styleObj *""'");
9334 : }
9335 0 : arg1 = (struct styleObj *)(argp1);
9336 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9337 0 : if (!SWIG_IsOK(ecode2)) {
9338 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_autoangle_set" "', argument " "2"" of type '" "int""'");
9339 : }
9340 0 : arg2 = (int)(val2);
9341 0 : if (arg1) (arg1)->autoangle = arg2;
9342 0 : ST(argvi) = sv_newmortal();
9343 :
9344 :
9345 0 : XSRETURN(argvi);
9346 : fail:
9347 :
9348 :
9349 0 : SWIG_croak_null();
9350 : }
9351 : }
9352 :
9353 :
9354 0 : XS(_wrap_styleObj_autoangle_get) {
9355 : {
9356 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9357 0 : void *argp1 = 0 ;
9358 : int res1 = 0 ;
9359 : int argvi = 0;
9360 : int result;
9361 0 : dXSARGS;
9362 :
9363 0 : if ((items < 1) || (items > 1)) {
9364 0 : SWIG_croak("Usage: styleObj_autoangle_get(self);");
9365 : }
9366 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9367 0 : if (!SWIG_IsOK(res1)) {
9368 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_autoangle_get" "', argument " "1"" of type '" "struct styleObj *""'");
9369 : }
9370 0 : arg1 = (struct styleObj *)(argp1);
9371 0 : result = (int) ((arg1)->autoangle);
9372 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9373 :
9374 0 : XSRETURN(argvi);
9375 : fail:
9376 :
9377 0 : SWIG_croak_null();
9378 : }
9379 : }
9380 :
9381 :
9382 0 : XS(_wrap_styleObj_color_set) {
9383 : {
9384 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9385 : colorObj *arg2 = (colorObj *) 0 ;
9386 0 : void *argp1 = 0 ;
9387 : int res1 = 0 ;
9388 0 : void *argp2 = 0 ;
9389 : int res2 = 0 ;
9390 : int argvi = 0;
9391 0 : dXSARGS;
9392 :
9393 0 : if ((items < 2) || (items > 2)) {
9394 0 : SWIG_croak("Usage: styleObj_color_set(self,color);");
9395 : }
9396 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9397 0 : if (!SWIG_IsOK(res1)) {
9398 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_color_set" "', argument " "1"" of type '" "struct styleObj *""'");
9399 : }
9400 0 : arg1 = (struct styleObj *)(argp1);
9401 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
9402 0 : if (!SWIG_IsOK(res2)) {
9403 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_color_set" "', argument " "2"" of type '" "colorObj *""'");
9404 : }
9405 0 : arg2 = (colorObj *)(argp2);
9406 0 : if (arg1) (arg1)->color = *arg2;
9407 0 : ST(argvi) = sv_newmortal();
9408 :
9409 :
9410 0 : XSRETURN(argvi);
9411 : fail:
9412 :
9413 :
9414 0 : SWIG_croak_null();
9415 : }
9416 : }
9417 :
9418 :
9419 0 : XS(_wrap_styleObj_color_get) {
9420 : {
9421 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9422 0 : void *argp1 = 0 ;
9423 : int res1 = 0 ;
9424 : int argvi = 0;
9425 : colorObj *result = 0 ;
9426 0 : dXSARGS;
9427 :
9428 0 : if ((items < 1) || (items > 1)) {
9429 0 : SWIG_croak("Usage: styleObj_color_get(self);");
9430 : }
9431 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9432 0 : if (!SWIG_IsOK(res1)) {
9433 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_color_get" "', argument " "1"" of type '" "struct styleObj *""'");
9434 : }
9435 0 : arg1 = (struct styleObj *)(argp1);
9436 0 : result = (colorObj *)& ((arg1)->color);
9437 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
9438 :
9439 0 : XSRETURN(argvi);
9440 : fail:
9441 :
9442 0 : SWIG_croak_null();
9443 : }
9444 : }
9445 :
9446 :
9447 0 : XS(_wrap_styleObj_backgroundcolor_set) {
9448 : {
9449 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9450 : colorObj *arg2 = (colorObj *) 0 ;
9451 0 : void *argp1 = 0 ;
9452 : int res1 = 0 ;
9453 0 : void *argp2 = 0 ;
9454 : int res2 = 0 ;
9455 : int argvi = 0;
9456 0 : dXSARGS;
9457 :
9458 0 : if ((items < 2) || (items > 2)) {
9459 0 : SWIG_croak("Usage: styleObj_backgroundcolor_set(self,backgroundcolor);");
9460 : }
9461 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9462 0 : if (!SWIG_IsOK(res1)) {
9463 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_backgroundcolor_set" "', argument " "1"" of type '" "struct styleObj *""'");
9464 : }
9465 0 : arg1 = (struct styleObj *)(argp1);
9466 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
9467 0 : if (!SWIG_IsOK(res2)) {
9468 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_backgroundcolor_set" "', argument " "2"" of type '" "colorObj *""'");
9469 : }
9470 0 : arg2 = (colorObj *)(argp2);
9471 0 : if (arg1) (arg1)->backgroundcolor = *arg2;
9472 0 : ST(argvi) = sv_newmortal();
9473 :
9474 :
9475 0 : XSRETURN(argvi);
9476 : fail:
9477 :
9478 :
9479 0 : SWIG_croak_null();
9480 : }
9481 : }
9482 :
9483 :
9484 0 : XS(_wrap_styleObj_backgroundcolor_get) {
9485 : {
9486 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9487 0 : void *argp1 = 0 ;
9488 : int res1 = 0 ;
9489 : int argvi = 0;
9490 : colorObj *result = 0 ;
9491 0 : dXSARGS;
9492 :
9493 0 : if ((items < 1) || (items > 1)) {
9494 0 : SWIG_croak("Usage: styleObj_backgroundcolor_get(self);");
9495 : }
9496 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9497 0 : if (!SWIG_IsOK(res1)) {
9498 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_backgroundcolor_get" "', argument " "1"" of type '" "struct styleObj *""'");
9499 : }
9500 0 : arg1 = (struct styleObj *)(argp1);
9501 0 : result = (colorObj *)& ((arg1)->backgroundcolor);
9502 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
9503 :
9504 0 : XSRETURN(argvi);
9505 : fail:
9506 :
9507 0 : SWIG_croak_null();
9508 : }
9509 : }
9510 :
9511 :
9512 0 : XS(_wrap_styleObj_outlinecolor_set) {
9513 : {
9514 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9515 : colorObj *arg2 = (colorObj *) 0 ;
9516 0 : void *argp1 = 0 ;
9517 : int res1 = 0 ;
9518 0 : void *argp2 = 0 ;
9519 : int res2 = 0 ;
9520 : int argvi = 0;
9521 0 : dXSARGS;
9522 :
9523 0 : if ((items < 2) || (items > 2)) {
9524 0 : SWIG_croak("Usage: styleObj_outlinecolor_set(self,outlinecolor);");
9525 : }
9526 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9527 0 : if (!SWIG_IsOK(res1)) {
9528 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinecolor_set" "', argument " "1"" of type '" "struct styleObj *""'");
9529 : }
9530 0 : arg1 = (struct styleObj *)(argp1);
9531 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
9532 0 : if (!SWIG_IsOK(res2)) {
9533 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'");
9534 : }
9535 0 : arg2 = (colorObj *)(argp2);
9536 0 : if (arg1) (arg1)->outlinecolor = *arg2;
9537 0 : ST(argvi) = sv_newmortal();
9538 :
9539 :
9540 0 : XSRETURN(argvi);
9541 : fail:
9542 :
9543 :
9544 0 : SWIG_croak_null();
9545 : }
9546 : }
9547 :
9548 :
9549 0 : XS(_wrap_styleObj_outlinecolor_get) {
9550 : {
9551 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9552 0 : void *argp1 = 0 ;
9553 : int res1 = 0 ;
9554 : int argvi = 0;
9555 : colorObj *result = 0 ;
9556 0 : dXSARGS;
9557 :
9558 0 : if ((items < 1) || (items > 1)) {
9559 0 : SWIG_croak("Usage: styleObj_outlinecolor_get(self);");
9560 : }
9561 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9562 0 : if (!SWIG_IsOK(res1)) {
9563 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinecolor_get" "', argument " "1"" of type '" "struct styleObj *""'");
9564 : }
9565 0 : arg1 = (struct styleObj *)(argp1);
9566 0 : result = (colorObj *)& ((arg1)->outlinecolor);
9567 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
9568 :
9569 0 : XSRETURN(argvi);
9570 : fail:
9571 :
9572 0 : SWIG_croak_null();
9573 : }
9574 : }
9575 :
9576 :
9577 0 : XS(_wrap_styleObj_opacity_set) {
9578 : {
9579 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9580 : int arg2 ;
9581 0 : void *argp1 = 0 ;
9582 : int res1 = 0 ;
9583 : int val2 ;
9584 : int ecode2 = 0 ;
9585 : int argvi = 0;
9586 0 : dXSARGS;
9587 :
9588 0 : if ((items < 2) || (items > 2)) {
9589 0 : SWIG_croak("Usage: styleObj_opacity_set(self,opacity);");
9590 : }
9591 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9592 0 : if (!SWIG_IsOK(res1)) {
9593 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_opacity_set" "', argument " "1"" of type '" "struct styleObj *""'");
9594 : }
9595 0 : arg1 = (struct styleObj *)(argp1);
9596 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9597 0 : if (!SWIG_IsOK(ecode2)) {
9598 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_opacity_set" "', argument " "2"" of type '" "int""'");
9599 : }
9600 0 : arg2 = (int)(val2);
9601 0 : if (arg1) (arg1)->opacity = arg2;
9602 0 : ST(argvi) = sv_newmortal();
9603 :
9604 :
9605 0 : XSRETURN(argvi);
9606 : fail:
9607 :
9608 :
9609 0 : SWIG_croak_null();
9610 : }
9611 : }
9612 :
9613 :
9614 0 : XS(_wrap_styleObj_opacity_get) {
9615 : {
9616 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9617 0 : void *argp1 = 0 ;
9618 : int res1 = 0 ;
9619 : int argvi = 0;
9620 : int result;
9621 0 : dXSARGS;
9622 :
9623 0 : if ((items < 1) || (items > 1)) {
9624 0 : SWIG_croak("Usage: styleObj_opacity_get(self);");
9625 : }
9626 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9627 0 : if (!SWIG_IsOK(res1)) {
9628 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_opacity_get" "', argument " "1"" of type '" "struct styleObj *""'");
9629 : }
9630 0 : arg1 = (struct styleObj *)(argp1);
9631 0 : result = (int) ((arg1)->opacity);
9632 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
9633 :
9634 0 : XSRETURN(argvi);
9635 : fail:
9636 :
9637 0 : SWIG_croak_null();
9638 : }
9639 : }
9640 :
9641 :
9642 0 : XS(_wrap_styleObj_mincolor_set) {
9643 : {
9644 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9645 : colorObj *arg2 = (colorObj *) 0 ;
9646 0 : void *argp1 = 0 ;
9647 : int res1 = 0 ;
9648 0 : void *argp2 = 0 ;
9649 : int res2 = 0 ;
9650 : int argvi = 0;
9651 0 : dXSARGS;
9652 :
9653 0 : if ((items < 2) || (items > 2)) {
9654 0 : SWIG_croak("Usage: styleObj_mincolor_set(self,mincolor);");
9655 : }
9656 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9657 0 : if (!SWIG_IsOK(res1)) {
9658 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_mincolor_set" "', argument " "1"" of type '" "struct styleObj *""'");
9659 : }
9660 0 : arg1 = (struct styleObj *)(argp1);
9661 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
9662 0 : if (!SWIG_IsOK(res2)) {
9663 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_mincolor_set" "', argument " "2"" of type '" "colorObj *""'");
9664 : }
9665 0 : arg2 = (colorObj *)(argp2);
9666 0 : if (arg1) (arg1)->mincolor = *arg2;
9667 0 : ST(argvi) = sv_newmortal();
9668 :
9669 :
9670 0 : XSRETURN(argvi);
9671 : fail:
9672 :
9673 :
9674 0 : SWIG_croak_null();
9675 : }
9676 : }
9677 :
9678 :
9679 0 : XS(_wrap_styleObj_mincolor_get) {
9680 : {
9681 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9682 0 : void *argp1 = 0 ;
9683 : int res1 = 0 ;
9684 : int argvi = 0;
9685 : colorObj *result = 0 ;
9686 0 : dXSARGS;
9687 :
9688 0 : if ((items < 1) || (items > 1)) {
9689 0 : SWIG_croak("Usage: styleObj_mincolor_get(self);");
9690 : }
9691 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9692 0 : if (!SWIG_IsOK(res1)) {
9693 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_mincolor_get" "', argument " "1"" of type '" "struct styleObj *""'");
9694 : }
9695 0 : arg1 = (struct styleObj *)(argp1);
9696 0 : result = (colorObj *)& ((arg1)->mincolor);
9697 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
9698 :
9699 0 : XSRETURN(argvi);
9700 : fail:
9701 :
9702 0 : SWIG_croak_null();
9703 : }
9704 : }
9705 :
9706 :
9707 0 : XS(_wrap_styleObj_maxcolor_set) {
9708 : {
9709 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9710 : colorObj *arg2 = (colorObj *) 0 ;
9711 0 : void *argp1 = 0 ;
9712 : int res1 = 0 ;
9713 0 : void *argp2 = 0 ;
9714 : int res2 = 0 ;
9715 : int argvi = 0;
9716 0 : dXSARGS;
9717 :
9718 0 : if ((items < 2) || (items > 2)) {
9719 0 : SWIG_croak("Usage: styleObj_maxcolor_set(self,maxcolor);");
9720 : }
9721 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9722 0 : if (!SWIG_IsOK(res1)) {
9723 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxcolor_set" "', argument " "1"" of type '" "struct styleObj *""'");
9724 : }
9725 0 : arg1 = (struct styleObj *)(argp1);
9726 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
9727 0 : if (!SWIG_IsOK(res2)) {
9728 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_maxcolor_set" "', argument " "2"" of type '" "colorObj *""'");
9729 : }
9730 0 : arg2 = (colorObj *)(argp2);
9731 0 : if (arg1) (arg1)->maxcolor = *arg2;
9732 0 : ST(argvi) = sv_newmortal();
9733 :
9734 :
9735 0 : XSRETURN(argvi);
9736 : fail:
9737 :
9738 :
9739 0 : SWIG_croak_null();
9740 : }
9741 : }
9742 :
9743 :
9744 0 : XS(_wrap_styleObj_maxcolor_get) {
9745 : {
9746 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9747 0 : void *argp1 = 0 ;
9748 : int res1 = 0 ;
9749 : int argvi = 0;
9750 : colorObj *result = 0 ;
9751 0 : dXSARGS;
9752 :
9753 0 : if ((items < 1) || (items > 1)) {
9754 0 : SWIG_croak("Usage: styleObj_maxcolor_get(self);");
9755 : }
9756 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9757 0 : if (!SWIG_IsOK(res1)) {
9758 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxcolor_get" "', argument " "1"" of type '" "struct styleObj *""'");
9759 : }
9760 0 : arg1 = (struct styleObj *)(argp1);
9761 0 : result = (colorObj *)& ((arg1)->maxcolor);
9762 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
9763 :
9764 0 : XSRETURN(argvi);
9765 : fail:
9766 :
9767 0 : SWIG_croak_null();
9768 : }
9769 : }
9770 :
9771 :
9772 0 : XS(_wrap_styleObj_minvalue_set) {
9773 : {
9774 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9775 : double arg2 ;
9776 0 : void *argp1 = 0 ;
9777 : int res1 = 0 ;
9778 : double val2 ;
9779 : int ecode2 = 0 ;
9780 : int argvi = 0;
9781 0 : dXSARGS;
9782 :
9783 0 : if ((items < 2) || (items > 2)) {
9784 0 : SWIG_croak("Usage: styleObj_minvalue_set(self,minvalue);");
9785 : }
9786 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9787 0 : if (!SWIG_IsOK(res1)) {
9788 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minvalue_set" "', argument " "1"" of type '" "struct styleObj *""'");
9789 : }
9790 0 : arg1 = (struct styleObj *)(argp1);
9791 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9792 0 : if (!SWIG_IsOK(ecode2)) {
9793 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minvalue_set" "', argument " "2"" of type '" "double""'");
9794 : }
9795 0 : arg2 = (double)(val2);
9796 0 : if (arg1) (arg1)->minvalue = arg2;
9797 0 : ST(argvi) = sv_newmortal();
9798 :
9799 :
9800 0 : XSRETURN(argvi);
9801 : fail:
9802 :
9803 :
9804 0 : SWIG_croak_null();
9805 : }
9806 : }
9807 :
9808 :
9809 0 : XS(_wrap_styleObj_minvalue_get) {
9810 : {
9811 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9812 0 : void *argp1 = 0 ;
9813 : int res1 = 0 ;
9814 : int argvi = 0;
9815 : double result;
9816 0 : dXSARGS;
9817 :
9818 0 : if ((items < 1) || (items > 1)) {
9819 0 : SWIG_croak("Usage: styleObj_minvalue_get(self);");
9820 : }
9821 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9822 0 : if (!SWIG_IsOK(res1)) {
9823 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minvalue_get" "', argument " "1"" of type '" "struct styleObj *""'");
9824 : }
9825 0 : arg1 = (struct styleObj *)(argp1);
9826 0 : result = (double) ((arg1)->minvalue);
9827 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
9828 :
9829 0 : XSRETURN(argvi);
9830 : fail:
9831 :
9832 0 : SWIG_croak_null();
9833 : }
9834 : }
9835 :
9836 :
9837 0 : XS(_wrap_styleObj_maxvalue_set) {
9838 : {
9839 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9840 : double arg2 ;
9841 0 : void *argp1 = 0 ;
9842 : int res1 = 0 ;
9843 : double val2 ;
9844 : int ecode2 = 0 ;
9845 : int argvi = 0;
9846 0 : dXSARGS;
9847 :
9848 0 : if ((items < 2) || (items > 2)) {
9849 0 : SWIG_croak("Usage: styleObj_maxvalue_set(self,maxvalue);");
9850 : }
9851 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9852 0 : if (!SWIG_IsOK(res1)) {
9853 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxvalue_set" "', argument " "1"" of type '" "struct styleObj *""'");
9854 : }
9855 0 : arg1 = (struct styleObj *)(argp1);
9856 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9857 0 : if (!SWIG_IsOK(ecode2)) {
9858 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxvalue_set" "', argument " "2"" of type '" "double""'");
9859 : }
9860 0 : arg2 = (double)(val2);
9861 0 : if (arg1) (arg1)->maxvalue = arg2;
9862 0 : ST(argvi) = sv_newmortal();
9863 :
9864 :
9865 0 : XSRETURN(argvi);
9866 : fail:
9867 :
9868 :
9869 0 : SWIG_croak_null();
9870 : }
9871 : }
9872 :
9873 :
9874 0 : XS(_wrap_styleObj_maxvalue_get) {
9875 : {
9876 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9877 0 : void *argp1 = 0 ;
9878 : int res1 = 0 ;
9879 : int argvi = 0;
9880 : double result;
9881 0 : dXSARGS;
9882 :
9883 0 : if ((items < 1) || (items > 1)) {
9884 0 : SWIG_croak("Usage: styleObj_maxvalue_get(self);");
9885 : }
9886 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9887 0 : if (!SWIG_IsOK(res1)) {
9888 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxvalue_get" "', argument " "1"" of type '" "struct styleObj *""'");
9889 : }
9890 0 : arg1 = (struct styleObj *)(argp1);
9891 0 : result = (double) ((arg1)->maxvalue);
9892 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
9893 :
9894 0 : XSRETURN(argvi);
9895 : fail:
9896 :
9897 0 : SWIG_croak_null();
9898 : }
9899 : }
9900 :
9901 :
9902 0 : XS(_wrap_styleObj_rangeitem_set) {
9903 : {
9904 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9905 : char *arg2 = (char *) 0 ;
9906 0 : void *argp1 = 0 ;
9907 : int res1 = 0 ;
9908 : int res2 ;
9909 0 : char *buf2 = 0 ;
9910 0 : int alloc2 = 0 ;
9911 : int argvi = 0;
9912 0 : dXSARGS;
9913 :
9914 0 : if ((items < 2) || (items > 2)) {
9915 0 : SWIG_croak("Usage: styleObj_rangeitem_set(self,rangeitem);");
9916 : }
9917 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9918 0 : if (!SWIG_IsOK(res1)) {
9919 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitem_set" "', argument " "1"" of type '" "struct styleObj *""'");
9920 : }
9921 0 : arg1 = (struct styleObj *)(argp1);
9922 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
9923 0 : if (!SWIG_IsOK(res2)) {
9924 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_rangeitem_set" "', argument " "2"" of type '" "char *""'");
9925 : }
9926 0 : arg2 = (char *)(buf2);
9927 : {
9928 0 : if (arg1->rangeitem) free((char*)arg1->rangeitem);
9929 0 : if (arg2) {
9930 0 : arg1->rangeitem = (char *) malloc(strlen(arg2)+1);
9931 : strcpy((char*)arg1->rangeitem,arg2);
9932 : } else {
9933 0 : arg1->rangeitem = 0;
9934 : }
9935 : }
9936 0 : ST(argvi) = sv_newmortal();
9937 :
9938 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9939 0 : XSRETURN(argvi);
9940 : fail:
9941 :
9942 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
9943 0 : SWIG_croak_null();
9944 : }
9945 : }
9946 :
9947 :
9948 0 : XS(_wrap_styleObj_rangeitem_get) {
9949 : {
9950 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9951 0 : void *argp1 = 0 ;
9952 : int res1 = 0 ;
9953 : int argvi = 0;
9954 : char *result = 0 ;
9955 0 : dXSARGS;
9956 :
9957 0 : if ((items < 1) || (items > 1)) {
9958 0 : SWIG_croak("Usage: styleObj_rangeitem_get(self);");
9959 : }
9960 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9961 0 : if (!SWIG_IsOK(res1)) {
9962 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitem_get" "', argument " "1"" of type '" "struct styleObj *""'");
9963 : }
9964 0 : arg1 = (struct styleObj *)(argp1);
9965 0 : result = (char *) ((arg1)->rangeitem);
9966 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
9967 :
9968 0 : XSRETURN(argvi);
9969 : fail:
9970 :
9971 0 : SWIG_croak_null();
9972 : }
9973 : }
9974 :
9975 :
9976 0 : XS(_wrap_styleObj_rangeitemindex_set) {
9977 : {
9978 : struct styleObj *arg1 = (struct styleObj *) 0 ;
9979 : int arg2 ;
9980 0 : void *argp1 = 0 ;
9981 : int res1 = 0 ;
9982 : int val2 ;
9983 : int ecode2 = 0 ;
9984 : int argvi = 0;
9985 0 : dXSARGS;
9986 :
9987 0 : if ((items < 2) || (items > 2)) {
9988 0 : SWIG_croak("Usage: styleObj_rangeitemindex_set(self,rangeitemindex);");
9989 : }
9990 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
9991 0 : if (!SWIG_IsOK(res1)) {
9992 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitemindex_set" "', argument " "1"" of type '" "struct styleObj *""'");
9993 : }
9994 0 : arg1 = (struct styleObj *)(argp1);
9995 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
9996 0 : if (!SWIG_IsOK(ecode2)) {
9997 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_rangeitemindex_set" "', argument " "2"" of type '" "int""'");
9998 : }
9999 0 : arg2 = (int)(val2);
10000 0 : if (arg1) (arg1)->rangeitemindex = arg2;
10001 0 : ST(argvi) = sv_newmortal();
10002 :
10003 :
10004 0 : XSRETURN(argvi);
10005 : fail:
10006 :
10007 :
10008 0 : SWIG_croak_null();
10009 : }
10010 : }
10011 :
10012 :
10013 0 : XS(_wrap_styleObj_rangeitemindex_get) {
10014 : {
10015 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10016 0 : void *argp1 = 0 ;
10017 : int res1 = 0 ;
10018 : int argvi = 0;
10019 : int result;
10020 0 : dXSARGS;
10021 :
10022 0 : if ((items < 1) || (items > 1)) {
10023 0 : SWIG_croak("Usage: styleObj_rangeitemindex_get(self);");
10024 : }
10025 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10026 0 : if (!SWIG_IsOK(res1)) {
10027 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitemindex_get" "', argument " "1"" of type '" "struct styleObj *""'");
10028 : }
10029 0 : arg1 = (struct styleObj *)(argp1);
10030 0 : result = (int) ((arg1)->rangeitemindex);
10031 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10032 :
10033 0 : XSRETURN(argvi);
10034 : fail:
10035 :
10036 0 : SWIG_croak_null();
10037 : }
10038 : }
10039 :
10040 :
10041 0 : XS(_wrap_styleObj_symbol_set) {
10042 : {
10043 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10044 : int arg2 ;
10045 0 : void *argp1 = 0 ;
10046 : int res1 = 0 ;
10047 : int val2 ;
10048 : int ecode2 = 0 ;
10049 : int argvi = 0;
10050 0 : dXSARGS;
10051 :
10052 0 : if ((items < 2) || (items > 2)) {
10053 0 : SWIG_croak("Usage: styleObj_symbol_set(self,symbol);");
10054 : }
10055 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10056 0 : if (!SWIG_IsOK(res1)) {
10057 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_symbol_set" "', argument " "1"" of type '" "struct styleObj *""'");
10058 : }
10059 0 : arg1 = (struct styleObj *)(argp1);
10060 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10061 0 : if (!SWIG_IsOK(ecode2)) {
10062 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_symbol_set" "', argument " "2"" of type '" "int""'");
10063 : }
10064 0 : arg2 = (int)(val2);
10065 0 : if (arg1) (arg1)->symbol = arg2;
10066 0 : ST(argvi) = sv_newmortal();
10067 :
10068 :
10069 0 : XSRETURN(argvi);
10070 : fail:
10071 :
10072 :
10073 0 : SWIG_croak_null();
10074 : }
10075 : }
10076 :
10077 :
10078 0 : XS(_wrap_styleObj_symbol_get) {
10079 : {
10080 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10081 0 : void *argp1 = 0 ;
10082 : int res1 = 0 ;
10083 : int argvi = 0;
10084 : int result;
10085 0 : dXSARGS;
10086 :
10087 0 : if ((items < 1) || (items > 1)) {
10088 0 : SWIG_croak("Usage: styleObj_symbol_get(self);");
10089 : }
10090 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10091 0 : if (!SWIG_IsOK(res1)) {
10092 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_symbol_get" "', argument " "1"" of type '" "struct styleObj *""'");
10093 : }
10094 0 : arg1 = (struct styleObj *)(argp1);
10095 0 : result = (int) ((arg1)->symbol);
10096 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10097 :
10098 0 : XSRETURN(argvi);
10099 : fail:
10100 :
10101 0 : SWIG_croak_null();
10102 : }
10103 : }
10104 :
10105 :
10106 0 : XS(_wrap_styleObj_symbolname_set) {
10107 : {
10108 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10109 : char *arg2 = (char *) 0 ;
10110 0 : void *argp1 = 0 ;
10111 : int res1 = 0 ;
10112 : int res2 ;
10113 0 : char *buf2 = 0 ;
10114 0 : int alloc2 = 0 ;
10115 : int argvi = 0;
10116 0 : dXSARGS;
10117 :
10118 0 : if ((items < 2) || (items > 2)) {
10119 0 : SWIG_croak("Usage: styleObj_symbolname_set(self,symbolname);");
10120 : }
10121 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10122 0 : if (!SWIG_IsOK(res1)) {
10123 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_symbolname_set" "', argument " "1"" of type '" "struct styleObj *""'");
10124 : }
10125 0 : arg1 = (struct styleObj *)(argp1);
10126 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
10127 0 : if (!SWIG_IsOK(res2)) {
10128 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_symbolname_set" "', argument " "2"" of type '" "char *""'");
10129 : }
10130 0 : arg2 = (char *)(buf2);
10131 : {
10132 0 : if (arg1->symbolname) free((char*)arg1->symbolname);
10133 0 : if (arg2) {
10134 0 : arg1->symbolname = (char *) malloc(strlen(arg2)+1);
10135 : strcpy((char*)arg1->symbolname,arg2);
10136 : } else {
10137 0 : arg1->symbolname = 0;
10138 : }
10139 : }
10140 0 : ST(argvi) = sv_newmortal();
10141 :
10142 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10143 0 : XSRETURN(argvi);
10144 : fail:
10145 :
10146 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
10147 0 : SWIG_croak_null();
10148 : }
10149 : }
10150 :
10151 :
10152 0 : XS(_wrap_styleObj_symbolname_get) {
10153 : {
10154 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10155 0 : void *argp1 = 0 ;
10156 : int res1 = 0 ;
10157 : int argvi = 0;
10158 : char *result = 0 ;
10159 0 : dXSARGS;
10160 :
10161 0 : if ((items < 1) || (items > 1)) {
10162 0 : SWIG_croak("Usage: styleObj_symbolname_get(self);");
10163 : }
10164 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10165 0 : if (!SWIG_IsOK(res1)) {
10166 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_symbolname_get" "', argument " "1"" of type '" "struct styleObj *""'");
10167 : }
10168 0 : arg1 = (struct styleObj *)(argp1);
10169 0 : result = (char *) ((arg1)->symbolname);
10170 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
10171 :
10172 0 : XSRETURN(argvi);
10173 : fail:
10174 :
10175 0 : SWIG_croak_null();
10176 : }
10177 : }
10178 :
10179 :
10180 0 : XS(_wrap_styleObj_size_set) {
10181 : {
10182 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10183 : double arg2 ;
10184 0 : void *argp1 = 0 ;
10185 : int res1 = 0 ;
10186 : double val2 ;
10187 : int ecode2 = 0 ;
10188 : int argvi = 0;
10189 0 : dXSARGS;
10190 :
10191 0 : if ((items < 2) || (items > 2)) {
10192 0 : SWIG_croak("Usage: styleObj_size_set(self,size);");
10193 : }
10194 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10195 0 : if (!SWIG_IsOK(res1)) {
10196 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_size_set" "', argument " "1"" of type '" "struct styleObj *""'");
10197 : }
10198 0 : arg1 = (struct styleObj *)(argp1);
10199 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10200 0 : if (!SWIG_IsOK(ecode2)) {
10201 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_size_set" "', argument " "2"" of type '" "double""'");
10202 : }
10203 0 : arg2 = (double)(val2);
10204 0 : if (arg1) (arg1)->size = arg2;
10205 0 : ST(argvi) = sv_newmortal();
10206 :
10207 :
10208 0 : XSRETURN(argvi);
10209 : fail:
10210 :
10211 :
10212 0 : SWIG_croak_null();
10213 : }
10214 : }
10215 :
10216 :
10217 0 : XS(_wrap_styleObj_size_get) {
10218 : {
10219 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10220 0 : void *argp1 = 0 ;
10221 : int res1 = 0 ;
10222 : int argvi = 0;
10223 : double result;
10224 0 : dXSARGS;
10225 :
10226 0 : if ((items < 1) || (items > 1)) {
10227 0 : SWIG_croak("Usage: styleObj_size_get(self);");
10228 : }
10229 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10230 0 : if (!SWIG_IsOK(res1)) {
10231 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_size_get" "', argument " "1"" of type '" "struct styleObj *""'");
10232 : }
10233 0 : arg1 = (struct styleObj *)(argp1);
10234 0 : result = (double) ((arg1)->size);
10235 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10236 :
10237 0 : XSRETURN(argvi);
10238 : fail:
10239 :
10240 0 : SWIG_croak_null();
10241 : }
10242 : }
10243 :
10244 :
10245 0 : XS(_wrap_styleObj_minsize_set) {
10246 : {
10247 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10248 : double arg2 ;
10249 0 : void *argp1 = 0 ;
10250 : int res1 = 0 ;
10251 : double val2 ;
10252 : int ecode2 = 0 ;
10253 : int argvi = 0;
10254 0 : dXSARGS;
10255 :
10256 0 : if ((items < 2) || (items > 2)) {
10257 0 : SWIG_croak("Usage: styleObj_minsize_set(self,minsize);");
10258 : }
10259 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10260 0 : if (!SWIG_IsOK(res1)) {
10261 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minsize_set" "', argument " "1"" of type '" "struct styleObj *""'");
10262 : }
10263 0 : arg1 = (struct styleObj *)(argp1);
10264 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10265 0 : if (!SWIG_IsOK(ecode2)) {
10266 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minsize_set" "', argument " "2"" of type '" "double""'");
10267 : }
10268 0 : arg2 = (double)(val2);
10269 0 : if (arg1) (arg1)->minsize = arg2;
10270 0 : ST(argvi) = sv_newmortal();
10271 :
10272 :
10273 0 : XSRETURN(argvi);
10274 : fail:
10275 :
10276 :
10277 0 : SWIG_croak_null();
10278 : }
10279 : }
10280 :
10281 :
10282 0 : XS(_wrap_styleObj_minsize_get) {
10283 : {
10284 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10285 0 : void *argp1 = 0 ;
10286 : int res1 = 0 ;
10287 : int argvi = 0;
10288 : double result;
10289 0 : dXSARGS;
10290 :
10291 0 : if ((items < 1) || (items > 1)) {
10292 0 : SWIG_croak("Usage: styleObj_minsize_get(self);");
10293 : }
10294 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10295 0 : if (!SWIG_IsOK(res1)) {
10296 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minsize_get" "', argument " "1"" of type '" "struct styleObj *""'");
10297 : }
10298 0 : arg1 = (struct styleObj *)(argp1);
10299 0 : result = (double) ((arg1)->minsize);
10300 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10301 :
10302 0 : XSRETURN(argvi);
10303 : fail:
10304 :
10305 0 : SWIG_croak_null();
10306 : }
10307 : }
10308 :
10309 :
10310 0 : XS(_wrap_styleObj_maxsize_set) {
10311 : {
10312 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10313 : double arg2 ;
10314 0 : void *argp1 = 0 ;
10315 : int res1 = 0 ;
10316 : double val2 ;
10317 : int ecode2 = 0 ;
10318 : int argvi = 0;
10319 0 : dXSARGS;
10320 :
10321 0 : if ((items < 2) || (items > 2)) {
10322 0 : SWIG_croak("Usage: styleObj_maxsize_set(self,maxsize);");
10323 : }
10324 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10325 0 : if (!SWIG_IsOK(res1)) {
10326 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxsize_set" "', argument " "1"" of type '" "struct styleObj *""'");
10327 : }
10328 0 : arg1 = (struct styleObj *)(argp1);
10329 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10330 0 : if (!SWIG_IsOK(ecode2)) {
10331 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxsize_set" "', argument " "2"" of type '" "double""'");
10332 : }
10333 0 : arg2 = (double)(val2);
10334 0 : if (arg1) (arg1)->maxsize = arg2;
10335 0 : ST(argvi) = sv_newmortal();
10336 :
10337 :
10338 0 : XSRETURN(argvi);
10339 : fail:
10340 :
10341 :
10342 0 : SWIG_croak_null();
10343 : }
10344 : }
10345 :
10346 :
10347 0 : XS(_wrap_styleObj_maxsize_get) {
10348 : {
10349 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10350 0 : void *argp1 = 0 ;
10351 : int res1 = 0 ;
10352 : int argvi = 0;
10353 : double result;
10354 0 : dXSARGS;
10355 :
10356 0 : if ((items < 1) || (items > 1)) {
10357 0 : SWIG_croak("Usage: styleObj_maxsize_get(self);");
10358 : }
10359 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10360 0 : if (!SWIG_IsOK(res1)) {
10361 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxsize_get" "', argument " "1"" of type '" "struct styleObj *""'");
10362 : }
10363 0 : arg1 = (struct styleObj *)(argp1);
10364 0 : result = (double) ((arg1)->maxsize);
10365 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10366 :
10367 0 : XSRETURN(argvi);
10368 : fail:
10369 :
10370 0 : SWIG_croak_null();
10371 : }
10372 : }
10373 :
10374 :
10375 0 : XS(_wrap_styleObj_patternlength_set) {
10376 : {
10377 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10378 : int arg2 ;
10379 0 : void *argp1 = 0 ;
10380 : int res1 = 0 ;
10381 : int val2 ;
10382 : int ecode2 = 0 ;
10383 : int argvi = 0;
10384 0 : dXSARGS;
10385 :
10386 0 : if ((items < 2) || (items > 2)) {
10387 0 : SWIG_croak("Usage: styleObj_patternlength_set(self,patternlength);");
10388 : }
10389 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10390 0 : if (!SWIG_IsOK(res1)) {
10391 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_patternlength_set" "', argument " "1"" of type '" "struct styleObj *""'");
10392 : }
10393 0 : arg1 = (struct styleObj *)(argp1);
10394 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10395 0 : if (!SWIG_IsOK(ecode2)) {
10396 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_patternlength_set" "', argument " "2"" of type '" "int""'");
10397 : }
10398 0 : arg2 = (int)(val2);
10399 0 : if (arg1) (arg1)->patternlength = arg2;
10400 0 : ST(argvi) = sv_newmortal();
10401 :
10402 :
10403 0 : XSRETURN(argvi);
10404 : fail:
10405 :
10406 :
10407 0 : SWIG_croak_null();
10408 : }
10409 : }
10410 :
10411 :
10412 0 : XS(_wrap_styleObj_patternlength_get) {
10413 : {
10414 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10415 0 : void *argp1 = 0 ;
10416 : int res1 = 0 ;
10417 : int argvi = 0;
10418 : int result;
10419 0 : dXSARGS;
10420 :
10421 0 : if ((items < 1) || (items > 1)) {
10422 0 : SWIG_croak("Usage: styleObj_patternlength_get(self);");
10423 : }
10424 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10425 0 : if (!SWIG_IsOK(res1)) {
10426 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_patternlength_get" "', argument " "1"" of type '" "struct styleObj *""'");
10427 : }
10428 0 : arg1 = (struct styleObj *)(argp1);
10429 0 : result = (int) ((arg1)->patternlength);
10430 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10431 :
10432 0 : XSRETURN(argvi);
10433 : fail:
10434 :
10435 0 : SWIG_croak_null();
10436 : }
10437 : }
10438 :
10439 :
10440 0 : XS(_wrap_styleObj_pattern_set) {
10441 : {
10442 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10443 : double *arg2 ;
10444 0 : void *argp1 = 0 ;
10445 : int res1 = 0 ;
10446 0 : void *argp2 = 0 ;
10447 : int res2 = 0 ;
10448 : int argvi = 0;
10449 0 : dXSARGS;
10450 :
10451 0 : if ((items < 2) || (items > 2)) {
10452 0 : SWIG_croak("Usage: styleObj_pattern_set(self,pattern);");
10453 : }
10454 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10455 0 : if (!SWIG_IsOK(res1)) {
10456 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_pattern_set" "', argument " "1"" of type '" "struct styleObj *""'");
10457 : }
10458 0 : arg1 = (struct styleObj *)(argp1);
10459 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 | 0 );
10460 0 : if (!SWIG_IsOK(res2)) {
10461 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_pattern_set" "', argument " "2"" of type '" "double [MS_MAXPATTERNLENGTH]""'");
10462 : }
10463 0 : arg2 = (double *)(argp2);
10464 : {
10465 0 : if (arg2) {
10466 : size_t ii = 0;
10467 0 : for (; ii < (size_t)MS_MAXPATTERNLENGTH; ++ii) *(double *)&arg1->pattern[ii] = *((double *)arg2 + ii);
10468 : } else {
10469 0 : SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""pattern""' of type '""double [MS_MAXPATTERNLENGTH]""'");
10470 : }
10471 : }
10472 0 : ST(argvi) = sv_newmortal();
10473 :
10474 :
10475 0 : XSRETURN(argvi);
10476 : fail:
10477 :
10478 :
10479 0 : SWIG_croak_null();
10480 : }
10481 : }
10482 :
10483 :
10484 0 : XS(_wrap_styleObj_pattern_get) {
10485 : {
10486 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10487 0 : void *argp1 = 0 ;
10488 : int res1 = 0 ;
10489 : int argvi = 0;
10490 : double *result = 0 ;
10491 0 : dXSARGS;
10492 :
10493 0 : if ((items < 1) || (items > 1)) {
10494 0 : SWIG_croak("Usage: styleObj_pattern_get(self);");
10495 : }
10496 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10497 0 : if (!SWIG_IsOK(res1)) {
10498 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_pattern_get" "', argument " "1"" of type '" "struct styleObj *""'");
10499 : }
10500 0 : arg1 = (struct styleObj *)(argp1);
10501 0 : result = (double *)(double *) ((arg1)->pattern);
10502 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
10503 :
10504 0 : XSRETURN(argvi);
10505 : fail:
10506 :
10507 0 : SWIG_croak_null();
10508 : }
10509 : }
10510 :
10511 :
10512 0 : XS(_wrap_styleObj_gap_set) {
10513 : {
10514 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10515 : double arg2 ;
10516 0 : void *argp1 = 0 ;
10517 : int res1 = 0 ;
10518 : double val2 ;
10519 : int ecode2 = 0 ;
10520 : int argvi = 0;
10521 0 : dXSARGS;
10522 :
10523 0 : if ((items < 2) || (items > 2)) {
10524 0 : SWIG_croak("Usage: styleObj_gap_set(self,gap);");
10525 : }
10526 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10527 0 : if (!SWIG_IsOK(res1)) {
10528 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_gap_set" "', argument " "1"" of type '" "struct styleObj *""'");
10529 : }
10530 0 : arg1 = (struct styleObj *)(argp1);
10531 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10532 0 : if (!SWIG_IsOK(ecode2)) {
10533 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_gap_set" "', argument " "2"" of type '" "double""'");
10534 : }
10535 0 : arg2 = (double)(val2);
10536 0 : if (arg1) (arg1)->gap = arg2;
10537 0 : ST(argvi) = sv_newmortal();
10538 :
10539 :
10540 0 : XSRETURN(argvi);
10541 : fail:
10542 :
10543 :
10544 0 : SWIG_croak_null();
10545 : }
10546 : }
10547 :
10548 :
10549 0 : XS(_wrap_styleObj_gap_get) {
10550 : {
10551 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10552 0 : void *argp1 = 0 ;
10553 : int res1 = 0 ;
10554 : int argvi = 0;
10555 : double result;
10556 0 : dXSARGS;
10557 :
10558 0 : if ((items < 1) || (items > 1)) {
10559 0 : SWIG_croak("Usage: styleObj_gap_get(self);");
10560 : }
10561 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10562 0 : if (!SWIG_IsOK(res1)) {
10563 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_gap_get" "', argument " "1"" of type '" "struct styleObj *""'");
10564 : }
10565 0 : arg1 = (struct styleObj *)(argp1);
10566 0 : result = (double) ((arg1)->gap);
10567 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10568 :
10569 0 : XSRETURN(argvi);
10570 : fail:
10571 :
10572 0 : SWIG_croak_null();
10573 : }
10574 : }
10575 :
10576 :
10577 0 : XS(_wrap_styleObj_initialgap_set) {
10578 : {
10579 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10580 : double arg2 ;
10581 0 : void *argp1 = 0 ;
10582 : int res1 = 0 ;
10583 : double val2 ;
10584 : int ecode2 = 0 ;
10585 : int argvi = 0;
10586 0 : dXSARGS;
10587 :
10588 0 : if ((items < 2) || (items > 2)) {
10589 0 : SWIG_croak("Usage: styleObj_initialgap_set(self,initialgap);");
10590 : }
10591 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10592 0 : if (!SWIG_IsOK(res1)) {
10593 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_initialgap_set" "', argument " "1"" of type '" "struct styleObj *""'");
10594 : }
10595 0 : arg1 = (struct styleObj *)(argp1);
10596 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10597 0 : if (!SWIG_IsOK(ecode2)) {
10598 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_initialgap_set" "', argument " "2"" of type '" "double""'");
10599 : }
10600 0 : arg2 = (double)(val2);
10601 0 : if (arg1) (arg1)->initialgap = arg2;
10602 0 : ST(argvi) = sv_newmortal();
10603 :
10604 :
10605 0 : XSRETURN(argvi);
10606 : fail:
10607 :
10608 :
10609 0 : SWIG_croak_null();
10610 : }
10611 : }
10612 :
10613 :
10614 0 : XS(_wrap_styleObj_initialgap_get) {
10615 : {
10616 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10617 0 : void *argp1 = 0 ;
10618 : int res1 = 0 ;
10619 : int argvi = 0;
10620 : double result;
10621 0 : dXSARGS;
10622 :
10623 0 : if ((items < 1) || (items > 1)) {
10624 0 : SWIG_croak("Usage: styleObj_initialgap_get(self);");
10625 : }
10626 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10627 0 : if (!SWIG_IsOK(res1)) {
10628 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_initialgap_get" "', argument " "1"" of type '" "struct styleObj *""'");
10629 : }
10630 0 : arg1 = (struct styleObj *)(argp1);
10631 0 : result = (double) ((arg1)->initialgap);
10632 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10633 :
10634 0 : XSRETURN(argvi);
10635 : fail:
10636 :
10637 0 : SWIG_croak_null();
10638 : }
10639 : }
10640 :
10641 :
10642 0 : XS(_wrap_styleObj_position_set) {
10643 : {
10644 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10645 : int arg2 ;
10646 0 : void *argp1 = 0 ;
10647 : int res1 = 0 ;
10648 : int val2 ;
10649 : int ecode2 = 0 ;
10650 : int argvi = 0;
10651 0 : dXSARGS;
10652 :
10653 0 : if ((items < 2) || (items > 2)) {
10654 0 : SWIG_croak("Usage: styleObj_position_set(self,position);");
10655 : }
10656 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10657 0 : if (!SWIG_IsOK(res1)) {
10658 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_position_set" "', argument " "1"" of type '" "struct styleObj *""'");
10659 : }
10660 0 : arg1 = (struct styleObj *)(argp1);
10661 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10662 0 : if (!SWIG_IsOK(ecode2)) {
10663 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_position_set" "', argument " "2"" of type '" "int""'");
10664 : }
10665 0 : arg2 = (int)(val2);
10666 0 : if (arg1) (arg1)->position = arg2;
10667 0 : ST(argvi) = sv_newmortal();
10668 :
10669 :
10670 0 : XSRETURN(argvi);
10671 : fail:
10672 :
10673 :
10674 0 : SWIG_croak_null();
10675 : }
10676 : }
10677 :
10678 :
10679 0 : XS(_wrap_styleObj_position_get) {
10680 : {
10681 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10682 0 : void *argp1 = 0 ;
10683 : int res1 = 0 ;
10684 : int argvi = 0;
10685 : int result;
10686 0 : dXSARGS;
10687 :
10688 0 : if ((items < 1) || (items > 1)) {
10689 0 : SWIG_croak("Usage: styleObj_position_get(self);");
10690 : }
10691 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10692 0 : if (!SWIG_IsOK(res1)) {
10693 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_position_get" "', argument " "1"" of type '" "struct styleObj *""'");
10694 : }
10695 0 : arg1 = (struct styleObj *)(argp1);
10696 0 : result = (int) ((arg1)->position);
10697 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10698 :
10699 0 : XSRETURN(argvi);
10700 : fail:
10701 :
10702 0 : SWIG_croak_null();
10703 : }
10704 : }
10705 :
10706 :
10707 0 : XS(_wrap_styleObj_linecap_set) {
10708 : {
10709 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10710 : int arg2 ;
10711 0 : void *argp1 = 0 ;
10712 : int res1 = 0 ;
10713 : int val2 ;
10714 : int ecode2 = 0 ;
10715 : int argvi = 0;
10716 0 : dXSARGS;
10717 :
10718 0 : if ((items < 2) || (items > 2)) {
10719 0 : SWIG_croak("Usage: styleObj_linecap_set(self,linecap);");
10720 : }
10721 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10722 0 : if (!SWIG_IsOK(res1)) {
10723 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linecap_set" "', argument " "1"" of type '" "struct styleObj *""'");
10724 : }
10725 0 : arg1 = (struct styleObj *)(argp1);
10726 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10727 0 : if (!SWIG_IsOK(ecode2)) {
10728 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_linecap_set" "', argument " "2"" of type '" "int""'");
10729 : }
10730 0 : arg2 = (int)(val2);
10731 0 : if (arg1) (arg1)->linecap = arg2;
10732 0 : ST(argvi) = sv_newmortal();
10733 :
10734 :
10735 0 : XSRETURN(argvi);
10736 : fail:
10737 :
10738 :
10739 0 : SWIG_croak_null();
10740 : }
10741 : }
10742 :
10743 :
10744 0 : XS(_wrap_styleObj_linecap_get) {
10745 : {
10746 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10747 0 : void *argp1 = 0 ;
10748 : int res1 = 0 ;
10749 : int argvi = 0;
10750 : int result;
10751 0 : dXSARGS;
10752 :
10753 0 : if ((items < 1) || (items > 1)) {
10754 0 : SWIG_croak("Usage: styleObj_linecap_get(self);");
10755 : }
10756 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10757 0 : if (!SWIG_IsOK(res1)) {
10758 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linecap_get" "', argument " "1"" of type '" "struct styleObj *""'");
10759 : }
10760 0 : arg1 = (struct styleObj *)(argp1);
10761 0 : result = (int) ((arg1)->linecap);
10762 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10763 :
10764 0 : XSRETURN(argvi);
10765 : fail:
10766 :
10767 0 : SWIG_croak_null();
10768 : }
10769 : }
10770 :
10771 :
10772 0 : XS(_wrap_styleObj_linejoin_set) {
10773 : {
10774 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10775 : int arg2 ;
10776 0 : void *argp1 = 0 ;
10777 : int res1 = 0 ;
10778 : int val2 ;
10779 : int ecode2 = 0 ;
10780 : int argvi = 0;
10781 0 : dXSARGS;
10782 :
10783 0 : if ((items < 2) || (items > 2)) {
10784 0 : SWIG_croak("Usage: styleObj_linejoin_set(self,linejoin);");
10785 : }
10786 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10787 0 : if (!SWIG_IsOK(res1)) {
10788 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoin_set" "', argument " "1"" of type '" "struct styleObj *""'");
10789 : }
10790 0 : arg1 = (struct styleObj *)(argp1);
10791 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10792 0 : if (!SWIG_IsOK(ecode2)) {
10793 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_linejoin_set" "', argument " "2"" of type '" "int""'");
10794 : }
10795 0 : arg2 = (int)(val2);
10796 0 : if (arg1) (arg1)->linejoin = arg2;
10797 0 : ST(argvi) = sv_newmortal();
10798 :
10799 :
10800 0 : XSRETURN(argvi);
10801 : fail:
10802 :
10803 :
10804 0 : SWIG_croak_null();
10805 : }
10806 : }
10807 :
10808 :
10809 0 : XS(_wrap_styleObj_linejoin_get) {
10810 : {
10811 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10812 0 : void *argp1 = 0 ;
10813 : int res1 = 0 ;
10814 : int argvi = 0;
10815 : int result;
10816 0 : dXSARGS;
10817 :
10818 0 : if ((items < 1) || (items > 1)) {
10819 0 : SWIG_croak("Usage: styleObj_linejoin_get(self);");
10820 : }
10821 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10822 0 : if (!SWIG_IsOK(res1)) {
10823 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoin_get" "', argument " "1"" of type '" "struct styleObj *""'");
10824 : }
10825 0 : arg1 = (struct styleObj *)(argp1);
10826 0 : result = (int) ((arg1)->linejoin);
10827 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
10828 :
10829 0 : XSRETURN(argvi);
10830 : fail:
10831 :
10832 0 : SWIG_croak_null();
10833 : }
10834 : }
10835 :
10836 :
10837 0 : XS(_wrap_styleObj_linejoinmaxsize_set) {
10838 : {
10839 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10840 : double arg2 ;
10841 0 : void *argp1 = 0 ;
10842 : int res1 = 0 ;
10843 : double val2 ;
10844 : int ecode2 = 0 ;
10845 : int argvi = 0;
10846 0 : dXSARGS;
10847 :
10848 0 : if ((items < 2) || (items > 2)) {
10849 0 : SWIG_croak("Usage: styleObj_linejoinmaxsize_set(self,linejoinmaxsize);");
10850 : }
10851 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10852 0 : if (!SWIG_IsOK(res1)) {
10853 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoinmaxsize_set" "', argument " "1"" of type '" "struct styleObj *""'");
10854 : }
10855 0 : arg1 = (struct styleObj *)(argp1);
10856 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10857 0 : if (!SWIG_IsOK(ecode2)) {
10858 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_linejoinmaxsize_set" "', argument " "2"" of type '" "double""'");
10859 : }
10860 0 : arg2 = (double)(val2);
10861 0 : if (arg1) (arg1)->linejoinmaxsize = arg2;
10862 0 : ST(argvi) = sv_newmortal();
10863 :
10864 :
10865 0 : XSRETURN(argvi);
10866 : fail:
10867 :
10868 :
10869 0 : SWIG_croak_null();
10870 : }
10871 : }
10872 :
10873 :
10874 0 : XS(_wrap_styleObj_linejoinmaxsize_get) {
10875 : {
10876 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10877 0 : void *argp1 = 0 ;
10878 : int res1 = 0 ;
10879 : int argvi = 0;
10880 : double result;
10881 0 : dXSARGS;
10882 :
10883 0 : if ((items < 1) || (items > 1)) {
10884 0 : SWIG_croak("Usage: styleObj_linejoinmaxsize_get(self);");
10885 : }
10886 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10887 0 : if (!SWIG_IsOK(res1)) {
10888 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoinmaxsize_get" "', argument " "1"" of type '" "struct styleObj *""'");
10889 : }
10890 0 : arg1 = (struct styleObj *)(argp1);
10891 0 : result = (double) ((arg1)->linejoinmaxsize);
10892 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10893 :
10894 0 : XSRETURN(argvi);
10895 : fail:
10896 :
10897 0 : SWIG_croak_null();
10898 : }
10899 : }
10900 :
10901 :
10902 0 : XS(_wrap_styleObj_width_set) {
10903 : {
10904 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10905 : double arg2 ;
10906 0 : void *argp1 = 0 ;
10907 : int res1 = 0 ;
10908 : double val2 ;
10909 : int ecode2 = 0 ;
10910 : int argvi = 0;
10911 0 : dXSARGS;
10912 :
10913 0 : if ((items < 2) || (items > 2)) {
10914 0 : SWIG_croak("Usage: styleObj_width_set(self,width);");
10915 : }
10916 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10917 0 : if (!SWIG_IsOK(res1)) {
10918 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_width_set" "', argument " "1"" of type '" "struct styleObj *""'");
10919 : }
10920 0 : arg1 = (struct styleObj *)(argp1);
10921 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10922 0 : if (!SWIG_IsOK(ecode2)) {
10923 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_width_set" "', argument " "2"" of type '" "double""'");
10924 : }
10925 0 : arg2 = (double)(val2);
10926 0 : if (arg1) (arg1)->width = arg2;
10927 0 : ST(argvi) = sv_newmortal();
10928 :
10929 :
10930 0 : XSRETURN(argvi);
10931 : fail:
10932 :
10933 :
10934 0 : SWIG_croak_null();
10935 : }
10936 : }
10937 :
10938 :
10939 0 : XS(_wrap_styleObj_width_get) {
10940 : {
10941 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10942 0 : void *argp1 = 0 ;
10943 : int res1 = 0 ;
10944 : int argvi = 0;
10945 : double result;
10946 0 : dXSARGS;
10947 :
10948 0 : if ((items < 1) || (items > 1)) {
10949 0 : SWIG_croak("Usage: styleObj_width_get(self);");
10950 : }
10951 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10952 0 : if (!SWIG_IsOK(res1)) {
10953 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_width_get" "', argument " "1"" of type '" "struct styleObj *""'");
10954 : }
10955 0 : arg1 = (struct styleObj *)(argp1);
10956 0 : result = (double) ((arg1)->width);
10957 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
10958 :
10959 0 : XSRETURN(argvi);
10960 : fail:
10961 :
10962 0 : SWIG_croak_null();
10963 : }
10964 : }
10965 :
10966 :
10967 0 : XS(_wrap_styleObj_outlinewidth_set) {
10968 : {
10969 : struct styleObj *arg1 = (struct styleObj *) 0 ;
10970 : double arg2 ;
10971 0 : void *argp1 = 0 ;
10972 : int res1 = 0 ;
10973 : double val2 ;
10974 : int ecode2 = 0 ;
10975 : int argvi = 0;
10976 0 : dXSARGS;
10977 :
10978 0 : if ((items < 2) || (items > 2)) {
10979 0 : SWIG_croak("Usage: styleObj_outlinewidth_set(self,outlinewidth);");
10980 : }
10981 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
10982 0 : if (!SWIG_IsOK(res1)) {
10983 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinewidth_set" "', argument " "1"" of type '" "struct styleObj *""'");
10984 : }
10985 0 : arg1 = (struct styleObj *)(argp1);
10986 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
10987 0 : if (!SWIG_IsOK(ecode2)) {
10988 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_outlinewidth_set" "', argument " "2"" of type '" "double""'");
10989 : }
10990 0 : arg2 = (double)(val2);
10991 0 : if (arg1) (arg1)->outlinewidth = arg2;
10992 0 : ST(argvi) = sv_newmortal();
10993 :
10994 :
10995 0 : XSRETURN(argvi);
10996 : fail:
10997 :
10998 :
10999 0 : SWIG_croak_null();
11000 : }
11001 : }
11002 :
11003 :
11004 0 : XS(_wrap_styleObj_outlinewidth_get) {
11005 : {
11006 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11007 0 : void *argp1 = 0 ;
11008 : int res1 = 0 ;
11009 : int argvi = 0;
11010 : double result;
11011 0 : dXSARGS;
11012 :
11013 0 : if ((items < 1) || (items > 1)) {
11014 0 : SWIG_croak("Usage: styleObj_outlinewidth_get(self);");
11015 : }
11016 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11017 0 : if (!SWIG_IsOK(res1)) {
11018 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinewidth_get" "', argument " "1"" of type '" "struct styleObj *""'");
11019 : }
11020 0 : arg1 = (struct styleObj *)(argp1);
11021 0 : result = (double) ((arg1)->outlinewidth);
11022 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11023 :
11024 0 : XSRETURN(argvi);
11025 : fail:
11026 :
11027 0 : SWIG_croak_null();
11028 : }
11029 : }
11030 :
11031 :
11032 0 : XS(_wrap_styleObj_minwidth_set) {
11033 : {
11034 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11035 : double arg2 ;
11036 0 : void *argp1 = 0 ;
11037 : int res1 = 0 ;
11038 : double val2 ;
11039 : int ecode2 = 0 ;
11040 : int argvi = 0;
11041 0 : dXSARGS;
11042 :
11043 0 : if ((items < 2) || (items > 2)) {
11044 0 : SWIG_croak("Usage: styleObj_minwidth_set(self,minwidth);");
11045 : }
11046 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11047 0 : if (!SWIG_IsOK(res1)) {
11048 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minwidth_set" "', argument " "1"" of type '" "struct styleObj *""'");
11049 : }
11050 0 : arg1 = (struct styleObj *)(argp1);
11051 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11052 0 : if (!SWIG_IsOK(ecode2)) {
11053 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minwidth_set" "', argument " "2"" of type '" "double""'");
11054 : }
11055 0 : arg2 = (double)(val2);
11056 0 : if (arg1) (arg1)->minwidth = arg2;
11057 0 : ST(argvi) = sv_newmortal();
11058 :
11059 :
11060 0 : XSRETURN(argvi);
11061 : fail:
11062 :
11063 :
11064 0 : SWIG_croak_null();
11065 : }
11066 : }
11067 :
11068 :
11069 0 : XS(_wrap_styleObj_minwidth_get) {
11070 : {
11071 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11072 0 : void *argp1 = 0 ;
11073 : int res1 = 0 ;
11074 : int argvi = 0;
11075 : double result;
11076 0 : dXSARGS;
11077 :
11078 0 : if ((items < 1) || (items > 1)) {
11079 0 : SWIG_croak("Usage: styleObj_minwidth_get(self);");
11080 : }
11081 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11082 0 : if (!SWIG_IsOK(res1)) {
11083 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minwidth_get" "', argument " "1"" of type '" "struct styleObj *""'");
11084 : }
11085 0 : arg1 = (struct styleObj *)(argp1);
11086 0 : result = (double) ((arg1)->minwidth);
11087 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11088 :
11089 0 : XSRETURN(argvi);
11090 : fail:
11091 :
11092 0 : SWIG_croak_null();
11093 : }
11094 : }
11095 :
11096 :
11097 0 : XS(_wrap_styleObj_maxwidth_set) {
11098 : {
11099 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11100 : double arg2 ;
11101 0 : void *argp1 = 0 ;
11102 : int res1 = 0 ;
11103 : double val2 ;
11104 : int ecode2 = 0 ;
11105 : int argvi = 0;
11106 0 : dXSARGS;
11107 :
11108 0 : if ((items < 2) || (items > 2)) {
11109 0 : SWIG_croak("Usage: styleObj_maxwidth_set(self,maxwidth);");
11110 : }
11111 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11112 0 : if (!SWIG_IsOK(res1)) {
11113 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxwidth_set" "', argument " "1"" of type '" "struct styleObj *""'");
11114 : }
11115 0 : arg1 = (struct styleObj *)(argp1);
11116 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11117 0 : if (!SWIG_IsOK(ecode2)) {
11118 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxwidth_set" "', argument " "2"" of type '" "double""'");
11119 : }
11120 0 : arg2 = (double)(val2);
11121 0 : if (arg1) (arg1)->maxwidth = arg2;
11122 0 : ST(argvi) = sv_newmortal();
11123 :
11124 :
11125 0 : XSRETURN(argvi);
11126 : fail:
11127 :
11128 :
11129 0 : SWIG_croak_null();
11130 : }
11131 : }
11132 :
11133 :
11134 0 : XS(_wrap_styleObj_maxwidth_get) {
11135 : {
11136 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11137 0 : void *argp1 = 0 ;
11138 : int res1 = 0 ;
11139 : int argvi = 0;
11140 : double result;
11141 0 : dXSARGS;
11142 :
11143 0 : if ((items < 1) || (items > 1)) {
11144 0 : SWIG_croak("Usage: styleObj_maxwidth_get(self);");
11145 : }
11146 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11147 0 : if (!SWIG_IsOK(res1)) {
11148 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxwidth_get" "', argument " "1"" of type '" "struct styleObj *""'");
11149 : }
11150 0 : arg1 = (struct styleObj *)(argp1);
11151 0 : result = (double) ((arg1)->maxwidth);
11152 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11153 :
11154 0 : XSRETURN(argvi);
11155 : fail:
11156 :
11157 0 : SWIG_croak_null();
11158 : }
11159 : }
11160 :
11161 :
11162 0 : XS(_wrap_styleObj_offsetx_set) {
11163 : {
11164 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11165 : double arg2 ;
11166 0 : void *argp1 = 0 ;
11167 : int res1 = 0 ;
11168 : double val2 ;
11169 : int ecode2 = 0 ;
11170 : int argvi = 0;
11171 0 : dXSARGS;
11172 :
11173 0 : if ((items < 2) || (items > 2)) {
11174 0 : SWIG_croak("Usage: styleObj_offsetx_set(self,offsetx);");
11175 : }
11176 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11177 0 : if (!SWIG_IsOK(res1)) {
11178 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsetx_set" "', argument " "1"" of type '" "struct styleObj *""'");
11179 : }
11180 0 : arg1 = (struct styleObj *)(argp1);
11181 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11182 0 : if (!SWIG_IsOK(ecode2)) {
11183 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_offsetx_set" "', argument " "2"" of type '" "double""'");
11184 : }
11185 0 : arg2 = (double)(val2);
11186 0 : if (arg1) (arg1)->offsetx = arg2;
11187 0 : ST(argvi) = sv_newmortal();
11188 :
11189 :
11190 0 : XSRETURN(argvi);
11191 : fail:
11192 :
11193 :
11194 0 : SWIG_croak_null();
11195 : }
11196 : }
11197 :
11198 :
11199 0 : XS(_wrap_styleObj_offsetx_get) {
11200 : {
11201 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11202 0 : void *argp1 = 0 ;
11203 : int res1 = 0 ;
11204 : int argvi = 0;
11205 : double result;
11206 0 : dXSARGS;
11207 :
11208 0 : if ((items < 1) || (items > 1)) {
11209 0 : SWIG_croak("Usage: styleObj_offsetx_get(self);");
11210 : }
11211 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11212 0 : if (!SWIG_IsOK(res1)) {
11213 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsetx_get" "', argument " "1"" of type '" "struct styleObj *""'");
11214 : }
11215 0 : arg1 = (struct styleObj *)(argp1);
11216 0 : result = (double) ((arg1)->offsetx);
11217 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11218 :
11219 0 : XSRETURN(argvi);
11220 : fail:
11221 :
11222 0 : SWIG_croak_null();
11223 : }
11224 : }
11225 :
11226 :
11227 0 : XS(_wrap_styleObj_offsety_set) {
11228 : {
11229 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11230 : double arg2 ;
11231 0 : void *argp1 = 0 ;
11232 : int res1 = 0 ;
11233 : double val2 ;
11234 : int ecode2 = 0 ;
11235 : int argvi = 0;
11236 0 : dXSARGS;
11237 :
11238 0 : if ((items < 2) || (items > 2)) {
11239 0 : SWIG_croak("Usage: styleObj_offsety_set(self,offsety);");
11240 : }
11241 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11242 0 : if (!SWIG_IsOK(res1)) {
11243 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsety_set" "', argument " "1"" of type '" "struct styleObj *""'");
11244 : }
11245 0 : arg1 = (struct styleObj *)(argp1);
11246 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11247 0 : if (!SWIG_IsOK(ecode2)) {
11248 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_offsety_set" "', argument " "2"" of type '" "double""'");
11249 : }
11250 0 : arg2 = (double)(val2);
11251 0 : if (arg1) (arg1)->offsety = arg2;
11252 0 : ST(argvi) = sv_newmortal();
11253 :
11254 :
11255 0 : XSRETURN(argvi);
11256 : fail:
11257 :
11258 :
11259 0 : SWIG_croak_null();
11260 : }
11261 : }
11262 :
11263 :
11264 0 : XS(_wrap_styleObj_offsety_get) {
11265 : {
11266 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11267 0 : void *argp1 = 0 ;
11268 : int res1 = 0 ;
11269 : int argvi = 0;
11270 : double result;
11271 0 : dXSARGS;
11272 :
11273 0 : if ((items < 1) || (items > 1)) {
11274 0 : SWIG_croak("Usage: styleObj_offsety_get(self);");
11275 : }
11276 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11277 0 : if (!SWIG_IsOK(res1)) {
11278 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsety_get" "', argument " "1"" of type '" "struct styleObj *""'");
11279 : }
11280 0 : arg1 = (struct styleObj *)(argp1);
11281 0 : result = (double) ((arg1)->offsety);
11282 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11283 :
11284 0 : XSRETURN(argvi);
11285 : fail:
11286 :
11287 0 : SWIG_croak_null();
11288 : }
11289 : }
11290 :
11291 :
11292 0 : XS(_wrap_styleObj_polaroffsetpixel_set) {
11293 : {
11294 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11295 : double arg2 ;
11296 0 : void *argp1 = 0 ;
11297 : int res1 = 0 ;
11298 : double val2 ;
11299 : int ecode2 = 0 ;
11300 : int argvi = 0;
11301 0 : dXSARGS;
11302 :
11303 0 : if ((items < 2) || (items > 2)) {
11304 0 : SWIG_croak("Usage: styleObj_polaroffsetpixel_set(self,polaroffsetpixel);");
11305 : }
11306 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11307 0 : if (!SWIG_IsOK(res1)) {
11308 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetpixel_set" "', argument " "1"" of type '" "struct styleObj *""'");
11309 : }
11310 0 : arg1 = (struct styleObj *)(argp1);
11311 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11312 0 : if (!SWIG_IsOK(ecode2)) {
11313 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_polaroffsetpixel_set" "', argument " "2"" of type '" "double""'");
11314 : }
11315 0 : arg2 = (double)(val2);
11316 0 : if (arg1) (arg1)->polaroffsetpixel = arg2;
11317 0 : ST(argvi) = sv_newmortal();
11318 :
11319 :
11320 0 : XSRETURN(argvi);
11321 : fail:
11322 :
11323 :
11324 0 : SWIG_croak_null();
11325 : }
11326 : }
11327 :
11328 :
11329 0 : XS(_wrap_styleObj_polaroffsetpixel_get) {
11330 : {
11331 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11332 0 : void *argp1 = 0 ;
11333 : int res1 = 0 ;
11334 : int argvi = 0;
11335 : double result;
11336 0 : dXSARGS;
11337 :
11338 0 : if ((items < 1) || (items > 1)) {
11339 0 : SWIG_croak("Usage: styleObj_polaroffsetpixel_get(self);");
11340 : }
11341 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11342 0 : if (!SWIG_IsOK(res1)) {
11343 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetpixel_get" "', argument " "1"" of type '" "struct styleObj *""'");
11344 : }
11345 0 : arg1 = (struct styleObj *)(argp1);
11346 0 : result = (double) ((arg1)->polaroffsetpixel);
11347 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11348 :
11349 0 : XSRETURN(argvi);
11350 : fail:
11351 :
11352 0 : SWIG_croak_null();
11353 : }
11354 : }
11355 :
11356 :
11357 0 : XS(_wrap_styleObj_polaroffsetangle_set) {
11358 : {
11359 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11360 : double arg2 ;
11361 0 : void *argp1 = 0 ;
11362 : int res1 = 0 ;
11363 : double val2 ;
11364 : int ecode2 = 0 ;
11365 : int argvi = 0;
11366 0 : dXSARGS;
11367 :
11368 0 : if ((items < 2) || (items > 2)) {
11369 0 : SWIG_croak("Usage: styleObj_polaroffsetangle_set(self,polaroffsetangle);");
11370 : }
11371 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11372 0 : if (!SWIG_IsOK(res1)) {
11373 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetangle_set" "', argument " "1"" of type '" "struct styleObj *""'");
11374 : }
11375 0 : arg1 = (struct styleObj *)(argp1);
11376 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11377 0 : if (!SWIG_IsOK(ecode2)) {
11378 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_polaroffsetangle_set" "', argument " "2"" of type '" "double""'");
11379 : }
11380 0 : arg2 = (double)(val2);
11381 0 : if (arg1) (arg1)->polaroffsetangle = arg2;
11382 0 : ST(argvi) = sv_newmortal();
11383 :
11384 :
11385 0 : XSRETURN(argvi);
11386 : fail:
11387 :
11388 :
11389 0 : SWIG_croak_null();
11390 : }
11391 : }
11392 :
11393 :
11394 0 : XS(_wrap_styleObj_polaroffsetangle_get) {
11395 : {
11396 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11397 0 : void *argp1 = 0 ;
11398 : int res1 = 0 ;
11399 : int argvi = 0;
11400 : double result;
11401 0 : dXSARGS;
11402 :
11403 0 : if ((items < 1) || (items > 1)) {
11404 0 : SWIG_croak("Usage: styleObj_polaroffsetangle_get(self);");
11405 : }
11406 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11407 0 : if (!SWIG_IsOK(res1)) {
11408 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetangle_get" "', argument " "1"" of type '" "struct styleObj *""'");
11409 : }
11410 0 : arg1 = (struct styleObj *)(argp1);
11411 0 : result = (double) ((arg1)->polaroffsetangle);
11412 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11413 :
11414 0 : XSRETURN(argvi);
11415 : fail:
11416 :
11417 0 : SWIG_croak_null();
11418 : }
11419 : }
11420 :
11421 :
11422 0 : XS(_wrap_styleObj_angle_set) {
11423 : {
11424 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11425 : double arg2 ;
11426 0 : void *argp1 = 0 ;
11427 : int res1 = 0 ;
11428 : double val2 ;
11429 : int ecode2 = 0 ;
11430 : int argvi = 0;
11431 0 : dXSARGS;
11432 :
11433 0 : if ((items < 2) || (items > 2)) {
11434 0 : SWIG_croak("Usage: styleObj_angle_set(self,angle);");
11435 : }
11436 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11437 0 : if (!SWIG_IsOK(res1)) {
11438 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_angle_set" "', argument " "1"" of type '" "struct styleObj *""'");
11439 : }
11440 0 : arg1 = (struct styleObj *)(argp1);
11441 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11442 0 : if (!SWIG_IsOK(ecode2)) {
11443 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_angle_set" "', argument " "2"" of type '" "double""'");
11444 : }
11445 0 : arg2 = (double)(val2);
11446 0 : if (arg1) (arg1)->angle = arg2;
11447 0 : ST(argvi) = sv_newmortal();
11448 :
11449 :
11450 0 : XSRETURN(argvi);
11451 : fail:
11452 :
11453 :
11454 0 : SWIG_croak_null();
11455 : }
11456 : }
11457 :
11458 :
11459 0 : XS(_wrap_styleObj_angle_get) {
11460 : {
11461 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11462 0 : void *argp1 = 0 ;
11463 : int res1 = 0 ;
11464 : int argvi = 0;
11465 : double result;
11466 0 : dXSARGS;
11467 :
11468 0 : if ((items < 1) || (items > 1)) {
11469 0 : SWIG_croak("Usage: styleObj_angle_get(self);");
11470 : }
11471 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11472 0 : if (!SWIG_IsOK(res1)) {
11473 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_angle_get" "', argument " "1"" of type '" "struct styleObj *""'");
11474 : }
11475 0 : arg1 = (struct styleObj *)(argp1);
11476 0 : result = (double) ((arg1)->angle);
11477 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11478 :
11479 0 : XSRETURN(argvi);
11480 : fail:
11481 :
11482 0 : SWIG_croak_null();
11483 : }
11484 : }
11485 :
11486 :
11487 0 : XS(_wrap_styleObj_minscaledenom_set) {
11488 : {
11489 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11490 : double arg2 ;
11491 0 : void *argp1 = 0 ;
11492 : int res1 = 0 ;
11493 : double val2 ;
11494 : int ecode2 = 0 ;
11495 : int argvi = 0;
11496 0 : dXSARGS;
11497 :
11498 0 : if ((items < 2) || (items > 2)) {
11499 0 : SWIG_croak("Usage: styleObj_minscaledenom_set(self,minscaledenom);");
11500 : }
11501 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11502 0 : if (!SWIG_IsOK(res1)) {
11503 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minscaledenom_set" "', argument " "1"" of type '" "struct styleObj *""'");
11504 : }
11505 0 : arg1 = (struct styleObj *)(argp1);
11506 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11507 0 : if (!SWIG_IsOK(ecode2)) {
11508 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
11509 : }
11510 0 : arg2 = (double)(val2);
11511 0 : if (arg1) (arg1)->minscaledenom = arg2;
11512 0 : ST(argvi) = sv_newmortal();
11513 :
11514 :
11515 0 : XSRETURN(argvi);
11516 : fail:
11517 :
11518 :
11519 0 : SWIG_croak_null();
11520 : }
11521 : }
11522 :
11523 :
11524 0 : XS(_wrap_styleObj_minscaledenom_get) {
11525 : {
11526 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11527 0 : void *argp1 = 0 ;
11528 : int res1 = 0 ;
11529 : int argvi = 0;
11530 : double result;
11531 0 : dXSARGS;
11532 :
11533 0 : if ((items < 1) || (items > 1)) {
11534 0 : SWIG_croak("Usage: styleObj_minscaledenom_get(self);");
11535 : }
11536 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11537 0 : if (!SWIG_IsOK(res1)) {
11538 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minscaledenom_get" "', argument " "1"" of type '" "struct styleObj *""'");
11539 : }
11540 0 : arg1 = (struct styleObj *)(argp1);
11541 0 : result = (double) ((arg1)->minscaledenom);
11542 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11543 :
11544 0 : XSRETURN(argvi);
11545 : fail:
11546 :
11547 0 : SWIG_croak_null();
11548 : }
11549 : }
11550 :
11551 :
11552 0 : XS(_wrap_styleObj_maxscaledenom_set) {
11553 : {
11554 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11555 : double arg2 ;
11556 0 : void *argp1 = 0 ;
11557 : int res1 = 0 ;
11558 : double val2 ;
11559 : int ecode2 = 0 ;
11560 : int argvi = 0;
11561 0 : dXSARGS;
11562 :
11563 0 : if ((items < 2) || (items > 2)) {
11564 0 : SWIG_croak("Usage: styleObj_maxscaledenom_set(self,maxscaledenom);");
11565 : }
11566 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11567 0 : if (!SWIG_IsOK(res1)) {
11568 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxscaledenom_set" "', argument " "1"" of type '" "struct styleObj *""'");
11569 : }
11570 0 : arg1 = (struct styleObj *)(argp1);
11571 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11572 0 : if (!SWIG_IsOK(ecode2)) {
11573 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
11574 : }
11575 0 : arg2 = (double)(val2);
11576 0 : if (arg1) (arg1)->maxscaledenom = arg2;
11577 0 : ST(argvi) = sv_newmortal();
11578 :
11579 :
11580 0 : XSRETURN(argvi);
11581 : fail:
11582 :
11583 :
11584 0 : SWIG_croak_null();
11585 : }
11586 : }
11587 :
11588 :
11589 0 : XS(_wrap_styleObj_maxscaledenom_get) {
11590 : {
11591 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11592 0 : void *argp1 = 0 ;
11593 : int res1 = 0 ;
11594 : int argvi = 0;
11595 : double result;
11596 0 : dXSARGS;
11597 :
11598 0 : if ((items < 1) || (items > 1)) {
11599 0 : SWIG_croak("Usage: styleObj_maxscaledenom_get(self);");
11600 : }
11601 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11602 0 : if (!SWIG_IsOK(res1)) {
11603 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxscaledenom_get" "', argument " "1"" of type '" "struct styleObj *""'");
11604 : }
11605 0 : arg1 = (struct styleObj *)(argp1);
11606 0 : result = (double) ((arg1)->maxscaledenom);
11607 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
11608 :
11609 0 : XSRETURN(argvi);
11610 : fail:
11611 :
11612 0 : SWIG_croak_null();
11613 : }
11614 : }
11615 :
11616 :
11617 0 : XS(_wrap_new_styleObj) {
11618 : {
11619 : classObj *arg1 = (classObj *) NULL ;
11620 0 : void *argp1 = 0 ;
11621 : int res1 = 0 ;
11622 : int argvi = 0;
11623 : struct styleObj *result = 0 ;
11624 0 : dXSARGS;
11625 :
11626 0 : if ((items < 0) || (items > 1)) {
11627 0 : SWIG_croak("Usage: new_styleObj(parent_class);");
11628 : }
11629 0 : if (items > 0) {
11630 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
11631 0 : if (!SWIG_IsOK(res1)) {
11632 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_styleObj" "', argument " "1"" of type '" "classObj *""'");
11633 : }
11634 0 : arg1 = (classObj *)(argp1);
11635 : }
11636 0 : result = (struct styleObj *)new_styleObj(arg1);
11637 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
11638 :
11639 0 : XSRETURN(argvi);
11640 : fail:
11641 :
11642 0 : SWIG_croak_null();
11643 : }
11644 : }
11645 :
11646 :
11647 0 : XS(_wrap_delete_styleObj) {
11648 : {
11649 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11650 0 : void *argp1 = 0 ;
11651 : int res1 = 0 ;
11652 : int argvi = 0;
11653 0 : dXSARGS;
11654 :
11655 0 : if ((items < 1) || (items > 1)) {
11656 0 : SWIG_croak("Usage: delete_styleObj(self);");
11657 : }
11658 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, SWIG_POINTER_DISOWN | 0 );
11659 0 : if (!SWIG_IsOK(res1)) {
11660 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_styleObj" "', argument " "1"" of type '" "struct styleObj *""'");
11661 : }
11662 0 : arg1 = (struct styleObj *)(argp1);
11663 0 : delete_styleObj(arg1);
11664 0 : ST(argvi) = sv_newmortal();
11665 :
11666 0 : XSRETURN(argvi);
11667 : fail:
11668 :
11669 0 : SWIG_croak_null();
11670 : }
11671 : }
11672 :
11673 :
11674 0 : XS(_wrap_styleObj_updateFromString) {
11675 : {
11676 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11677 : char *arg2 = (char *) 0 ;
11678 0 : void *argp1 = 0 ;
11679 : int res1 = 0 ;
11680 : int res2 ;
11681 0 : char *buf2 = 0 ;
11682 0 : int alloc2 = 0 ;
11683 : int argvi = 0;
11684 : int result;
11685 0 : dXSARGS;
11686 :
11687 0 : if ((items < 2) || (items > 2)) {
11688 0 : SWIG_croak("Usage: styleObj_updateFromString(self,snippet);");
11689 : }
11690 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11691 0 : if (!SWIG_IsOK(res1)) {
11692 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_updateFromString" "', argument " "1"" of type '" "struct styleObj *""'");
11693 : }
11694 0 : arg1 = (struct styleObj *)(argp1);
11695 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
11696 0 : if (!SWIG_IsOK(res2)) {
11697 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_updateFromString" "', argument " "2"" of type '" "char *""'");
11698 : }
11699 0 : arg2 = (char *)(buf2);
11700 : result = (int)styleObj_updateFromString(arg1,arg2);
11701 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11702 :
11703 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11704 0 : XSRETURN(argvi);
11705 : fail:
11706 :
11707 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
11708 0 : SWIG_croak_null();
11709 : }
11710 : }
11711 :
11712 :
11713 0 : XS(_wrap_styleObj_convertToString) {
11714 : {
11715 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11716 0 : void *argp1 = 0 ;
11717 : int res1 = 0 ;
11718 : int argvi = 0;
11719 : char *result = 0 ;
11720 0 : dXSARGS;
11721 :
11722 0 : if ((items < 1) || (items > 1)) {
11723 0 : SWIG_croak("Usage: styleObj_convertToString(self);");
11724 : }
11725 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11726 0 : if (!SWIG_IsOK(res1)) {
11727 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_convertToString" "', argument " "1"" of type '" "struct styleObj *""'");
11728 : }
11729 0 : arg1 = (struct styleObj *)(argp1);
11730 : result = (char *)styleObj_convertToString(arg1);
11731 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
11732 :
11733 0 : free((char*)result);
11734 0 : XSRETURN(argvi);
11735 : fail:
11736 :
11737 0 : SWIG_croak_null();
11738 : }
11739 : }
11740 :
11741 :
11742 0 : XS(_wrap_styleObj_clone) {
11743 : {
11744 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11745 0 : void *argp1 = 0 ;
11746 : int res1 = 0 ;
11747 : int argvi = 0;
11748 : styleObj *result = 0 ;
11749 0 : dXSARGS;
11750 :
11751 0 : if ((items < 1) || (items > 1)) {
11752 0 : SWIG_croak("Usage: styleObj_clone(self);");
11753 : }
11754 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11755 0 : if (!SWIG_IsOK(res1)) {
11756 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_clone" "', argument " "1"" of type '" "struct styleObj *""'");
11757 : }
11758 0 : arg1 = (struct styleObj *)(argp1);
11759 0 : result = (styleObj *)styleObj_clone(arg1);
11760 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
11761 :
11762 0 : XSRETURN(argvi);
11763 : fail:
11764 :
11765 0 : SWIG_croak_null();
11766 : }
11767 : }
11768 :
11769 :
11770 0 : XS(_wrap_styleObj_setSymbolByName) {
11771 : {
11772 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11773 : mapObj *arg2 = (mapObj *) 0 ;
11774 : char *arg3 = (char *) 0 ;
11775 0 : void *argp1 = 0 ;
11776 : int res1 = 0 ;
11777 0 : void *argp2 = 0 ;
11778 : int res2 = 0 ;
11779 : int res3 ;
11780 0 : char *buf3 = 0 ;
11781 0 : int alloc3 = 0 ;
11782 : int argvi = 0;
11783 : int result;
11784 0 : dXSARGS;
11785 :
11786 0 : if ((items < 3) || (items > 3)) {
11787 0 : SWIG_croak("Usage: styleObj_setSymbolByName(self,map,symbolname);");
11788 : }
11789 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11790 0 : if (!SWIG_IsOK(res1)) {
11791 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_setSymbolByName" "', argument " "1"" of type '" "struct styleObj *""'");
11792 : }
11793 0 : arg1 = (struct styleObj *)(argp1);
11794 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
11795 0 : if (!SWIG_IsOK(res2)) {
11796 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_setSymbolByName" "', argument " "2"" of type '" "mapObj *""'");
11797 : }
11798 0 : arg2 = (mapObj *)(argp2);
11799 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
11800 0 : if (!SWIG_IsOK(res3)) {
11801 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "styleObj_setSymbolByName" "', argument " "3"" of type '" "char *""'");
11802 : }
11803 0 : arg3 = (char *)(buf3);
11804 0 : result = (int)styleObj_setSymbolByName(arg1,arg2,arg3);
11805 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11806 :
11807 :
11808 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11809 0 : XSRETURN(argvi);
11810 : fail:
11811 :
11812 :
11813 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11814 0 : SWIG_croak_null();
11815 : }
11816 : }
11817 :
11818 :
11819 0 : XS(_wrap_styleObj_removeBinding) {
11820 : {
11821 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11822 : int arg2 ;
11823 0 : void *argp1 = 0 ;
11824 : int res1 = 0 ;
11825 : int val2 ;
11826 : int ecode2 = 0 ;
11827 : int argvi = 0;
11828 : int result;
11829 0 : dXSARGS;
11830 :
11831 0 : if ((items < 2) || (items > 2)) {
11832 0 : SWIG_croak("Usage: styleObj_removeBinding(self,binding);");
11833 : }
11834 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11835 0 : if (!SWIG_IsOK(res1)) {
11836 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_removeBinding" "', argument " "1"" of type '" "struct styleObj *""'");
11837 : }
11838 0 : arg1 = (struct styleObj *)(argp1);
11839 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11840 0 : if (!SWIG_IsOK(ecode2)) {
11841 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_removeBinding" "', argument " "2"" of type '" "int""'");
11842 : }
11843 0 : arg2 = (int)(val2);
11844 0 : result = (int)styleObj_removeBinding(arg1,arg2);
11845 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11846 :
11847 :
11848 0 : XSRETURN(argvi);
11849 : fail:
11850 :
11851 :
11852 0 : SWIG_croak_null();
11853 : }
11854 : }
11855 :
11856 :
11857 0 : XS(_wrap_styleObj_setBinding) {
11858 : {
11859 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11860 : int arg2 ;
11861 : char *arg3 = (char *) 0 ;
11862 0 : void *argp1 = 0 ;
11863 : int res1 = 0 ;
11864 : int val2 ;
11865 : int ecode2 = 0 ;
11866 : int res3 ;
11867 0 : char *buf3 = 0 ;
11868 0 : int alloc3 = 0 ;
11869 : int argvi = 0;
11870 : int result;
11871 0 : dXSARGS;
11872 :
11873 0 : if ((items < 3) || (items > 3)) {
11874 0 : SWIG_croak("Usage: styleObj_setBinding(self,binding,item);");
11875 : }
11876 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11877 0 : if (!SWIG_IsOK(res1)) {
11878 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_setBinding" "', argument " "1"" of type '" "struct styleObj *""'");
11879 : }
11880 0 : arg1 = (struct styleObj *)(argp1);
11881 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11882 0 : if (!SWIG_IsOK(ecode2)) {
11883 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_setBinding" "', argument " "2"" of type '" "int""'");
11884 : }
11885 0 : arg2 = (int)(val2);
11886 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
11887 0 : if (!SWIG_IsOK(res3)) {
11888 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "styleObj_setBinding" "', argument " "3"" of type '" "char *""'");
11889 : }
11890 0 : arg3 = (char *)(buf3);
11891 0 : result = (int)styleObj_setBinding(arg1,arg2,arg3);
11892 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
11893 :
11894 :
11895 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11896 0 : XSRETURN(argvi);
11897 : fail:
11898 :
11899 :
11900 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
11901 0 : SWIG_croak_null();
11902 : }
11903 : }
11904 :
11905 :
11906 0 : XS(_wrap_styleObj_getBinding) {
11907 : {
11908 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11909 : int arg2 ;
11910 0 : void *argp1 = 0 ;
11911 : int res1 = 0 ;
11912 : int val2 ;
11913 : int ecode2 = 0 ;
11914 : int argvi = 0;
11915 : char *result = 0 ;
11916 0 : dXSARGS;
11917 :
11918 0 : if ((items < 2) || (items > 2)) {
11919 0 : SWIG_croak("Usage: styleObj_getBinding(self,binding);");
11920 : }
11921 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11922 0 : if (!SWIG_IsOK(res1)) {
11923 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_getBinding" "', argument " "1"" of type '" "struct styleObj *""'");
11924 : }
11925 0 : arg1 = (struct styleObj *)(argp1);
11926 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
11927 0 : if (!SWIG_IsOK(ecode2)) {
11928 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_getBinding" "', argument " "2"" of type '" "int""'");
11929 : }
11930 0 : arg2 = (int)(val2);
11931 : result = (char *)styleObj_getBinding(arg1,arg2);
11932 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
11933 :
11934 :
11935 0 : XSRETURN(argvi);
11936 : fail:
11937 :
11938 :
11939 0 : SWIG_croak_null();
11940 : }
11941 : }
11942 :
11943 :
11944 0 : XS(_wrap_styleObj_getGeomTransform) {
11945 : {
11946 0 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11947 0 : void *argp1 = 0 ;
11948 : int res1 = 0 ;
11949 : int argvi = 0;
11950 : char *result = 0 ;
11951 0 : dXSARGS;
11952 :
11953 0 : if ((items < 1) || (items > 1)) {
11954 0 : SWIG_croak("Usage: styleObj_getGeomTransform(self);");
11955 : }
11956 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11957 0 : if (!SWIG_IsOK(res1)) {
11958 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_getGeomTransform" "', argument " "1"" of type '" "struct styleObj *""'");
11959 : }
11960 0 : arg1 = (struct styleObj *)(argp1);
11961 : result = (char *)styleObj_getGeomTransform(arg1);
11962 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
11963 :
11964 0 : XSRETURN(argvi);
11965 : fail:
11966 :
11967 0 : SWIG_croak_null();
11968 : }
11969 : }
11970 :
11971 :
11972 0 : XS(_wrap_styleObj_setGeomTransform) {
11973 : {
11974 : struct styleObj *arg1 = (struct styleObj *) 0 ;
11975 : char *arg2 = (char *) 0 ;
11976 0 : void *argp1 = 0 ;
11977 : int res1 = 0 ;
11978 : int res2 ;
11979 0 : char *buf2 = 0 ;
11980 0 : int alloc2 = 0 ;
11981 : int argvi = 0;
11982 0 : dXSARGS;
11983 :
11984 0 : if ((items < 2) || (items > 2)) {
11985 0 : SWIG_croak("Usage: styleObj_setGeomTransform(self,transform);");
11986 : }
11987 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 | 0 );
11988 0 : if (!SWIG_IsOK(res1)) {
11989 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_setGeomTransform" "', argument " "1"" of type '" "struct styleObj *""'");
11990 : }
11991 0 : arg1 = (struct styleObj *)(argp1);
11992 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
11993 0 : if (!SWIG_IsOK(res2)) {
11994 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_setGeomTransform" "', argument " "2"" of type '" "char *""'");
11995 : }
11996 0 : arg2 = (char *)(buf2);
11997 : styleObj_setGeomTransform(arg1,arg2);
11998 0 : ST(argvi) = sv_newmortal();
11999 :
12000 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12001 0 : XSRETURN(argvi);
12002 : fail:
12003 :
12004 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12005 0 : SWIG_croak_null();
12006 : }
12007 : }
12008 :
12009 :
12010 0 : XS(_wrap_labelLeaderObj_maxdistance_set) {
12011 : {
12012 : labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
12013 : int arg2 ;
12014 0 : void *argp1 = 0 ;
12015 : int res1 = 0 ;
12016 : int val2 ;
12017 : int ecode2 = 0 ;
12018 : int argvi = 0;
12019 0 : dXSARGS;
12020 :
12021 0 : if ((items < 2) || (items > 2)) {
12022 0 : SWIG_croak("Usage: labelLeaderObj_maxdistance_set(self,maxdistance);");
12023 : }
12024 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 | 0 );
12025 0 : if (!SWIG_IsOK(res1)) {
12026 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_maxdistance_set" "', argument " "1"" of type '" "labelLeaderObj *""'");
12027 : }
12028 0 : arg1 = (labelLeaderObj *)(argp1);
12029 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12030 0 : if (!SWIG_IsOK(ecode2)) {
12031 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelLeaderObj_maxdistance_set" "', argument " "2"" of type '" "int""'");
12032 : }
12033 0 : arg2 = (int)(val2);
12034 0 : if (arg1) (arg1)->maxdistance = arg2;
12035 0 : ST(argvi) = sv_newmortal();
12036 :
12037 :
12038 0 : XSRETURN(argvi);
12039 : fail:
12040 :
12041 :
12042 0 : SWIG_croak_null();
12043 : }
12044 : }
12045 :
12046 :
12047 0 : XS(_wrap_labelLeaderObj_maxdistance_get) {
12048 : {
12049 : labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
12050 0 : void *argp1 = 0 ;
12051 : int res1 = 0 ;
12052 : int argvi = 0;
12053 : int result;
12054 0 : dXSARGS;
12055 :
12056 0 : if ((items < 1) || (items > 1)) {
12057 0 : SWIG_croak("Usage: labelLeaderObj_maxdistance_get(self);");
12058 : }
12059 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 | 0 );
12060 0 : if (!SWIG_IsOK(res1)) {
12061 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_maxdistance_get" "', argument " "1"" of type '" "labelLeaderObj *""'");
12062 : }
12063 0 : arg1 = (labelLeaderObj *)(argp1);
12064 0 : result = (int) ((arg1)->maxdistance);
12065 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12066 :
12067 0 : XSRETURN(argvi);
12068 : fail:
12069 :
12070 0 : SWIG_croak_null();
12071 : }
12072 : }
12073 :
12074 :
12075 0 : XS(_wrap_labelLeaderObj_gridstep_set) {
12076 : {
12077 : labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
12078 : int arg2 ;
12079 0 : void *argp1 = 0 ;
12080 : int res1 = 0 ;
12081 : int val2 ;
12082 : int ecode2 = 0 ;
12083 : int argvi = 0;
12084 0 : dXSARGS;
12085 :
12086 0 : if ((items < 2) || (items > 2)) {
12087 0 : SWIG_croak("Usage: labelLeaderObj_gridstep_set(self,gridstep);");
12088 : }
12089 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 | 0 );
12090 0 : if (!SWIG_IsOK(res1)) {
12091 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_gridstep_set" "', argument " "1"" of type '" "labelLeaderObj *""'");
12092 : }
12093 0 : arg1 = (labelLeaderObj *)(argp1);
12094 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12095 0 : if (!SWIG_IsOK(ecode2)) {
12096 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelLeaderObj_gridstep_set" "', argument " "2"" of type '" "int""'");
12097 : }
12098 0 : arg2 = (int)(val2);
12099 0 : if (arg1) (arg1)->gridstep = arg2;
12100 0 : ST(argvi) = sv_newmortal();
12101 :
12102 :
12103 0 : XSRETURN(argvi);
12104 : fail:
12105 :
12106 :
12107 0 : SWIG_croak_null();
12108 : }
12109 : }
12110 :
12111 :
12112 0 : XS(_wrap_labelLeaderObj_gridstep_get) {
12113 : {
12114 : labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
12115 0 : void *argp1 = 0 ;
12116 : int res1 = 0 ;
12117 : int argvi = 0;
12118 : int result;
12119 0 : dXSARGS;
12120 :
12121 0 : if ((items < 1) || (items > 1)) {
12122 0 : SWIG_croak("Usage: labelLeaderObj_gridstep_get(self);");
12123 : }
12124 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 | 0 );
12125 0 : if (!SWIG_IsOK(res1)) {
12126 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_gridstep_get" "', argument " "1"" of type '" "labelLeaderObj *""'");
12127 : }
12128 0 : arg1 = (labelLeaderObj *)(argp1);
12129 0 : result = (int) ((arg1)->gridstep);
12130 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12131 :
12132 0 : XSRETURN(argvi);
12133 : fail:
12134 :
12135 0 : SWIG_croak_null();
12136 : }
12137 : }
12138 :
12139 :
12140 0 : XS(_wrap_labelLeaderObj_numstyles_get) {
12141 : {
12142 : labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
12143 0 : void *argp1 = 0 ;
12144 : int res1 = 0 ;
12145 : int argvi = 0;
12146 : int result;
12147 0 : dXSARGS;
12148 :
12149 0 : if ((items < 1) || (items > 1)) {
12150 0 : SWIG_croak("Usage: labelLeaderObj_numstyles_get(self);");
12151 : }
12152 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 | 0 );
12153 0 : if (!SWIG_IsOK(res1)) {
12154 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_numstyles_get" "', argument " "1"" of type '" "labelLeaderObj *""'");
12155 : }
12156 0 : arg1 = (labelLeaderObj *)(argp1);
12157 0 : result = (int) ((arg1)->numstyles);
12158 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12159 :
12160 0 : XSRETURN(argvi);
12161 : fail:
12162 :
12163 0 : SWIG_croak_null();
12164 : }
12165 : }
12166 :
12167 :
12168 0 : XS(_wrap_new_labelLeaderObj) {
12169 : {
12170 : int argvi = 0;
12171 : labelLeaderObj *result = 0 ;
12172 0 : dXSARGS;
12173 :
12174 0 : if ((items < 0) || (items > 0)) {
12175 0 : SWIG_croak("Usage: new_labelLeaderObj();");
12176 : }
12177 0 : result = (labelLeaderObj *)calloc(1, sizeof(labelLeaderObj));
12178 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelLeaderObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
12179 0 : XSRETURN(argvi);
12180 : fail:
12181 0 : SWIG_croak_null();
12182 : }
12183 : }
12184 :
12185 :
12186 0 : XS(_wrap_delete_labelLeaderObj) {
12187 : {
12188 : labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
12189 0 : void *argp1 = 0 ;
12190 : int res1 = 0 ;
12191 : int argvi = 0;
12192 0 : dXSARGS;
12193 :
12194 0 : if ((items < 1) || (items > 1)) {
12195 0 : SWIG_croak("Usage: delete_labelLeaderObj(self);");
12196 : }
12197 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, SWIG_POINTER_DISOWN | 0 );
12198 0 : if (!SWIG_IsOK(res1)) {
12199 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelLeaderObj" "', argument " "1"" of type '" "labelLeaderObj *""'");
12200 : }
12201 0 : arg1 = (labelLeaderObj *)(argp1);
12202 0 : free((char *) arg1);
12203 0 : ST(argvi) = sv_newmortal();
12204 :
12205 0 : XSRETURN(argvi);
12206 : fail:
12207 :
12208 0 : SWIG_croak_null();
12209 : }
12210 : }
12211 :
12212 :
12213 0 : XS(_wrap_labelObj_refcount_get) {
12214 : {
12215 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12216 0 : void *argp1 = 0 ;
12217 : int res1 = 0 ;
12218 : int argvi = 0;
12219 : int result;
12220 0 : dXSARGS;
12221 :
12222 0 : if ((items < 1) || (items > 1)) {
12223 0 : SWIG_croak("Usage: labelObj_refcount_get(self);");
12224 : }
12225 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12226 0 : if (!SWIG_IsOK(res1)) {
12227 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_refcount_get" "', argument " "1"" of type '" "struct labelObj *""'");
12228 : }
12229 0 : arg1 = (struct labelObj *)(argp1);
12230 0 : result = (int) ((arg1)->refcount);
12231 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12232 :
12233 0 : XSRETURN(argvi);
12234 : fail:
12235 :
12236 0 : SWIG_croak_null();
12237 : }
12238 : }
12239 :
12240 :
12241 0 : XS(_wrap_labelObj_font_set) {
12242 : {
12243 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12244 : char *arg2 = (char *) 0 ;
12245 0 : void *argp1 = 0 ;
12246 : int res1 = 0 ;
12247 : int res2 ;
12248 0 : char *buf2 = 0 ;
12249 0 : int alloc2 = 0 ;
12250 : int argvi = 0;
12251 0 : dXSARGS;
12252 :
12253 0 : if ((items < 2) || (items > 2)) {
12254 0 : SWIG_croak("Usage: labelObj_font_set(self,font);");
12255 : }
12256 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12257 0 : if (!SWIG_IsOK(res1)) {
12258 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_font_set" "', argument " "1"" of type '" "struct labelObj *""'");
12259 : }
12260 0 : arg1 = (struct labelObj *)(argp1);
12261 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
12262 0 : if (!SWIG_IsOK(res2)) {
12263 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_font_set" "', argument " "2"" of type '" "char *""'");
12264 : }
12265 0 : arg2 = (char *)(buf2);
12266 : {
12267 0 : if (arg1->font) free((char*)arg1->font);
12268 0 : if (arg2) {
12269 0 : arg1->font = (char *) malloc(strlen(arg2)+1);
12270 : strcpy((char*)arg1->font,arg2);
12271 : } else {
12272 0 : arg1->font = 0;
12273 : }
12274 : }
12275 0 : ST(argvi) = sv_newmortal();
12276 :
12277 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12278 0 : XSRETURN(argvi);
12279 : fail:
12280 :
12281 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
12282 0 : SWIG_croak_null();
12283 : }
12284 : }
12285 :
12286 :
12287 0 : XS(_wrap_labelObj_font_get) {
12288 : {
12289 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12290 0 : void *argp1 = 0 ;
12291 : int res1 = 0 ;
12292 : int argvi = 0;
12293 : char *result = 0 ;
12294 0 : dXSARGS;
12295 :
12296 0 : if ((items < 1) || (items > 1)) {
12297 0 : SWIG_croak("Usage: labelObj_font_get(self);");
12298 : }
12299 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12300 0 : if (!SWIG_IsOK(res1)) {
12301 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_font_get" "', argument " "1"" of type '" "struct labelObj *""'");
12302 : }
12303 0 : arg1 = (struct labelObj *)(argp1);
12304 0 : result = (char *) ((arg1)->font);
12305 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
12306 :
12307 0 : XSRETURN(argvi);
12308 : fail:
12309 :
12310 0 : SWIG_croak_null();
12311 : }
12312 : }
12313 :
12314 :
12315 0 : XS(_wrap_labelObj_color_set) {
12316 : {
12317 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12318 : colorObj *arg2 = (colorObj *) 0 ;
12319 0 : void *argp1 = 0 ;
12320 : int res1 = 0 ;
12321 0 : void *argp2 = 0 ;
12322 : int res2 = 0 ;
12323 : int argvi = 0;
12324 0 : dXSARGS;
12325 :
12326 0 : if ((items < 2) || (items > 2)) {
12327 0 : SWIG_croak("Usage: labelObj_color_set(self,color);");
12328 : }
12329 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12330 0 : if (!SWIG_IsOK(res1)) {
12331 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_color_set" "', argument " "1"" of type '" "struct labelObj *""'");
12332 : }
12333 0 : arg1 = (struct labelObj *)(argp1);
12334 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
12335 0 : if (!SWIG_IsOK(res2)) {
12336 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_color_set" "', argument " "2"" of type '" "colorObj *""'");
12337 : }
12338 0 : arg2 = (colorObj *)(argp2);
12339 0 : if (arg1) (arg1)->color = *arg2;
12340 0 : ST(argvi) = sv_newmortal();
12341 :
12342 :
12343 0 : XSRETURN(argvi);
12344 : fail:
12345 :
12346 :
12347 0 : SWIG_croak_null();
12348 : }
12349 : }
12350 :
12351 :
12352 0 : XS(_wrap_labelObj_color_get) {
12353 : {
12354 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12355 0 : void *argp1 = 0 ;
12356 : int res1 = 0 ;
12357 : int argvi = 0;
12358 : colorObj *result = 0 ;
12359 0 : dXSARGS;
12360 :
12361 0 : if ((items < 1) || (items > 1)) {
12362 0 : SWIG_croak("Usage: labelObj_color_get(self);");
12363 : }
12364 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12365 0 : if (!SWIG_IsOK(res1)) {
12366 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_color_get" "', argument " "1"" of type '" "struct labelObj *""'");
12367 : }
12368 0 : arg1 = (struct labelObj *)(argp1);
12369 0 : result = (colorObj *)& ((arg1)->color);
12370 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
12371 :
12372 0 : XSRETURN(argvi);
12373 : fail:
12374 :
12375 0 : SWIG_croak_null();
12376 : }
12377 : }
12378 :
12379 :
12380 0 : XS(_wrap_labelObj_outlinecolor_set) {
12381 : {
12382 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12383 : colorObj *arg2 = (colorObj *) 0 ;
12384 0 : void *argp1 = 0 ;
12385 : int res1 = 0 ;
12386 0 : void *argp2 = 0 ;
12387 : int res2 = 0 ;
12388 : int argvi = 0;
12389 0 : dXSARGS;
12390 :
12391 0 : if ((items < 2) || (items > 2)) {
12392 0 : SWIG_croak("Usage: labelObj_outlinecolor_set(self,outlinecolor);");
12393 : }
12394 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12395 0 : if (!SWIG_IsOK(res1)) {
12396 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinecolor_set" "', argument " "1"" of type '" "struct labelObj *""'");
12397 : }
12398 0 : arg1 = (struct labelObj *)(argp1);
12399 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
12400 0 : if (!SWIG_IsOK(res2)) {
12401 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'");
12402 : }
12403 0 : arg2 = (colorObj *)(argp2);
12404 0 : if (arg1) (arg1)->outlinecolor = *arg2;
12405 0 : ST(argvi) = sv_newmortal();
12406 :
12407 :
12408 0 : XSRETURN(argvi);
12409 : fail:
12410 :
12411 :
12412 0 : SWIG_croak_null();
12413 : }
12414 : }
12415 :
12416 :
12417 0 : XS(_wrap_labelObj_outlinecolor_get) {
12418 : {
12419 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12420 0 : void *argp1 = 0 ;
12421 : int res1 = 0 ;
12422 : int argvi = 0;
12423 : colorObj *result = 0 ;
12424 0 : dXSARGS;
12425 :
12426 0 : if ((items < 1) || (items > 1)) {
12427 0 : SWIG_croak("Usage: labelObj_outlinecolor_get(self);");
12428 : }
12429 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12430 0 : if (!SWIG_IsOK(res1)) {
12431 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinecolor_get" "', argument " "1"" of type '" "struct labelObj *""'");
12432 : }
12433 0 : arg1 = (struct labelObj *)(argp1);
12434 0 : result = (colorObj *)& ((arg1)->outlinecolor);
12435 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
12436 :
12437 0 : XSRETURN(argvi);
12438 : fail:
12439 :
12440 0 : SWIG_croak_null();
12441 : }
12442 : }
12443 :
12444 :
12445 0 : XS(_wrap_labelObj_outlinewidth_set) {
12446 : {
12447 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12448 : int arg2 ;
12449 0 : void *argp1 = 0 ;
12450 : int res1 = 0 ;
12451 : int val2 ;
12452 : int ecode2 = 0 ;
12453 : int argvi = 0;
12454 0 : dXSARGS;
12455 :
12456 0 : if ((items < 2) || (items > 2)) {
12457 0 : SWIG_croak("Usage: labelObj_outlinewidth_set(self,outlinewidth);");
12458 : }
12459 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12460 0 : if (!SWIG_IsOK(res1)) {
12461 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinewidth_set" "', argument " "1"" of type '" "struct labelObj *""'");
12462 : }
12463 0 : arg1 = (struct labelObj *)(argp1);
12464 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12465 0 : if (!SWIG_IsOK(ecode2)) {
12466 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_outlinewidth_set" "', argument " "2"" of type '" "int""'");
12467 : }
12468 0 : arg2 = (int)(val2);
12469 0 : if (arg1) (arg1)->outlinewidth = arg2;
12470 0 : ST(argvi) = sv_newmortal();
12471 :
12472 :
12473 0 : XSRETURN(argvi);
12474 : fail:
12475 :
12476 :
12477 0 : SWIG_croak_null();
12478 : }
12479 : }
12480 :
12481 :
12482 0 : XS(_wrap_labelObj_outlinewidth_get) {
12483 : {
12484 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12485 0 : void *argp1 = 0 ;
12486 : int res1 = 0 ;
12487 : int argvi = 0;
12488 : int result;
12489 0 : dXSARGS;
12490 :
12491 0 : if ((items < 1) || (items > 1)) {
12492 0 : SWIG_croak("Usage: labelObj_outlinewidth_get(self);");
12493 : }
12494 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12495 0 : if (!SWIG_IsOK(res1)) {
12496 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinewidth_get" "', argument " "1"" of type '" "struct labelObj *""'");
12497 : }
12498 0 : arg1 = (struct labelObj *)(argp1);
12499 0 : result = (int) ((arg1)->outlinewidth);
12500 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12501 :
12502 0 : XSRETURN(argvi);
12503 : fail:
12504 :
12505 0 : SWIG_croak_null();
12506 : }
12507 : }
12508 :
12509 :
12510 0 : XS(_wrap_labelObj_shadowcolor_set) {
12511 : {
12512 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12513 : colorObj *arg2 = (colorObj *) 0 ;
12514 0 : void *argp1 = 0 ;
12515 : int res1 = 0 ;
12516 0 : void *argp2 = 0 ;
12517 : int res2 = 0 ;
12518 : int argvi = 0;
12519 0 : dXSARGS;
12520 :
12521 0 : if ((items < 2) || (items > 2)) {
12522 0 : SWIG_croak("Usage: labelObj_shadowcolor_set(self,shadowcolor);");
12523 : }
12524 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12525 0 : if (!SWIG_IsOK(res1)) {
12526 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowcolor_set" "', argument " "1"" of type '" "struct labelObj *""'");
12527 : }
12528 0 : arg1 = (struct labelObj *)(argp1);
12529 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
12530 0 : if (!SWIG_IsOK(res2)) {
12531 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_shadowcolor_set" "', argument " "2"" of type '" "colorObj *""'");
12532 : }
12533 0 : arg2 = (colorObj *)(argp2);
12534 0 : if (arg1) (arg1)->shadowcolor = *arg2;
12535 0 : ST(argvi) = sv_newmortal();
12536 :
12537 :
12538 0 : XSRETURN(argvi);
12539 : fail:
12540 :
12541 :
12542 0 : SWIG_croak_null();
12543 : }
12544 : }
12545 :
12546 :
12547 0 : XS(_wrap_labelObj_shadowcolor_get) {
12548 : {
12549 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12550 0 : void *argp1 = 0 ;
12551 : int res1 = 0 ;
12552 : int argvi = 0;
12553 : colorObj *result = 0 ;
12554 0 : dXSARGS;
12555 :
12556 0 : if ((items < 1) || (items > 1)) {
12557 0 : SWIG_croak("Usage: labelObj_shadowcolor_get(self);");
12558 : }
12559 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12560 0 : if (!SWIG_IsOK(res1)) {
12561 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowcolor_get" "', argument " "1"" of type '" "struct labelObj *""'");
12562 : }
12563 0 : arg1 = (struct labelObj *)(argp1);
12564 0 : result = (colorObj *)& ((arg1)->shadowcolor);
12565 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
12566 :
12567 0 : XSRETURN(argvi);
12568 : fail:
12569 :
12570 0 : SWIG_croak_null();
12571 : }
12572 : }
12573 :
12574 :
12575 0 : XS(_wrap_labelObj_shadowsizex_set) {
12576 : {
12577 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12578 : int arg2 ;
12579 0 : void *argp1 = 0 ;
12580 : int res1 = 0 ;
12581 : int val2 ;
12582 : int ecode2 = 0 ;
12583 : int argvi = 0;
12584 0 : dXSARGS;
12585 :
12586 0 : if ((items < 2) || (items > 2)) {
12587 0 : SWIG_croak("Usage: labelObj_shadowsizex_set(self,shadowsizex);");
12588 : }
12589 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12590 0 : if (!SWIG_IsOK(res1)) {
12591 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizex_set" "', argument " "1"" of type '" "struct labelObj *""'");
12592 : }
12593 0 : arg1 = (struct labelObj *)(argp1);
12594 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12595 0 : if (!SWIG_IsOK(ecode2)) {
12596 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_shadowsizex_set" "', argument " "2"" of type '" "int""'");
12597 : }
12598 0 : arg2 = (int)(val2);
12599 0 : if (arg1) (arg1)->shadowsizex = arg2;
12600 0 : ST(argvi) = sv_newmortal();
12601 :
12602 :
12603 0 : XSRETURN(argvi);
12604 : fail:
12605 :
12606 :
12607 0 : SWIG_croak_null();
12608 : }
12609 : }
12610 :
12611 :
12612 0 : XS(_wrap_labelObj_shadowsizex_get) {
12613 : {
12614 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12615 0 : void *argp1 = 0 ;
12616 : int res1 = 0 ;
12617 : int argvi = 0;
12618 : int result;
12619 0 : dXSARGS;
12620 :
12621 0 : if ((items < 1) || (items > 1)) {
12622 0 : SWIG_croak("Usage: labelObj_shadowsizex_get(self);");
12623 : }
12624 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12625 0 : if (!SWIG_IsOK(res1)) {
12626 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizex_get" "', argument " "1"" of type '" "struct labelObj *""'");
12627 : }
12628 0 : arg1 = (struct labelObj *)(argp1);
12629 0 : result = (int) ((arg1)->shadowsizex);
12630 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12631 :
12632 0 : XSRETURN(argvi);
12633 : fail:
12634 :
12635 0 : SWIG_croak_null();
12636 : }
12637 : }
12638 :
12639 :
12640 0 : XS(_wrap_labelObj_shadowsizey_set) {
12641 : {
12642 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12643 : int arg2 ;
12644 0 : void *argp1 = 0 ;
12645 : int res1 = 0 ;
12646 : int val2 ;
12647 : int ecode2 = 0 ;
12648 : int argvi = 0;
12649 0 : dXSARGS;
12650 :
12651 0 : if ((items < 2) || (items > 2)) {
12652 0 : SWIG_croak("Usage: labelObj_shadowsizey_set(self,shadowsizey);");
12653 : }
12654 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12655 0 : if (!SWIG_IsOK(res1)) {
12656 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizey_set" "', argument " "1"" of type '" "struct labelObj *""'");
12657 : }
12658 0 : arg1 = (struct labelObj *)(argp1);
12659 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12660 0 : if (!SWIG_IsOK(ecode2)) {
12661 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_shadowsizey_set" "', argument " "2"" of type '" "int""'");
12662 : }
12663 0 : arg2 = (int)(val2);
12664 0 : if (arg1) (arg1)->shadowsizey = arg2;
12665 0 : ST(argvi) = sv_newmortal();
12666 :
12667 :
12668 0 : XSRETURN(argvi);
12669 : fail:
12670 :
12671 :
12672 0 : SWIG_croak_null();
12673 : }
12674 : }
12675 :
12676 :
12677 0 : XS(_wrap_labelObj_shadowsizey_get) {
12678 : {
12679 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12680 0 : void *argp1 = 0 ;
12681 : int res1 = 0 ;
12682 : int argvi = 0;
12683 : int result;
12684 0 : dXSARGS;
12685 :
12686 0 : if ((items < 1) || (items > 1)) {
12687 0 : SWIG_croak("Usage: labelObj_shadowsizey_get(self);");
12688 : }
12689 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12690 0 : if (!SWIG_IsOK(res1)) {
12691 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizey_get" "', argument " "1"" of type '" "struct labelObj *""'");
12692 : }
12693 0 : arg1 = (struct labelObj *)(argp1);
12694 0 : result = (int) ((arg1)->shadowsizey);
12695 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12696 :
12697 0 : XSRETURN(argvi);
12698 : fail:
12699 :
12700 0 : SWIG_croak_null();
12701 : }
12702 : }
12703 :
12704 :
12705 0 : XS(_wrap_labelObj_size_set) {
12706 : {
12707 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12708 : int arg2 ;
12709 0 : void *argp1 = 0 ;
12710 : int res1 = 0 ;
12711 : int val2 ;
12712 : int ecode2 = 0 ;
12713 : int argvi = 0;
12714 0 : dXSARGS;
12715 :
12716 0 : if ((items < 2) || (items > 2)) {
12717 0 : SWIG_croak("Usage: labelObj_size_set(self,size);");
12718 : }
12719 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12720 0 : if (!SWIG_IsOK(res1)) {
12721 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_size_set" "', argument " "1"" of type '" "struct labelObj *""'");
12722 : }
12723 0 : arg1 = (struct labelObj *)(argp1);
12724 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12725 0 : if (!SWIG_IsOK(ecode2)) {
12726 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_size_set" "', argument " "2"" of type '" "int""'");
12727 : }
12728 0 : arg2 = (int)(val2);
12729 0 : if (arg1) (arg1)->size = arg2;
12730 0 : ST(argvi) = sv_newmortal();
12731 :
12732 :
12733 0 : XSRETURN(argvi);
12734 : fail:
12735 :
12736 :
12737 0 : SWIG_croak_null();
12738 : }
12739 : }
12740 :
12741 :
12742 0 : XS(_wrap_labelObj_size_get) {
12743 : {
12744 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12745 0 : void *argp1 = 0 ;
12746 : int res1 = 0 ;
12747 : int argvi = 0;
12748 : int result;
12749 0 : dXSARGS;
12750 :
12751 0 : if ((items < 1) || (items > 1)) {
12752 0 : SWIG_croak("Usage: labelObj_size_get(self);");
12753 : }
12754 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12755 0 : if (!SWIG_IsOK(res1)) {
12756 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_size_get" "', argument " "1"" of type '" "struct labelObj *""'");
12757 : }
12758 0 : arg1 = (struct labelObj *)(argp1);
12759 0 : result = (int) ((arg1)->size);
12760 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12761 :
12762 0 : XSRETURN(argvi);
12763 : fail:
12764 :
12765 0 : SWIG_croak_null();
12766 : }
12767 : }
12768 :
12769 :
12770 0 : XS(_wrap_labelObj_minsize_set) {
12771 : {
12772 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12773 : int arg2 ;
12774 0 : void *argp1 = 0 ;
12775 : int res1 = 0 ;
12776 : int val2 ;
12777 : int ecode2 = 0 ;
12778 : int argvi = 0;
12779 0 : dXSARGS;
12780 :
12781 0 : if ((items < 2) || (items > 2)) {
12782 0 : SWIG_croak("Usage: labelObj_minsize_set(self,minsize);");
12783 : }
12784 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12785 0 : if (!SWIG_IsOK(res1)) {
12786 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minsize_set" "', argument " "1"" of type '" "struct labelObj *""'");
12787 : }
12788 0 : arg1 = (struct labelObj *)(argp1);
12789 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12790 0 : if (!SWIG_IsOK(ecode2)) {
12791 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minsize_set" "', argument " "2"" of type '" "int""'");
12792 : }
12793 0 : arg2 = (int)(val2);
12794 0 : if (arg1) (arg1)->minsize = arg2;
12795 0 : ST(argvi) = sv_newmortal();
12796 :
12797 :
12798 0 : XSRETURN(argvi);
12799 : fail:
12800 :
12801 :
12802 0 : SWIG_croak_null();
12803 : }
12804 : }
12805 :
12806 :
12807 0 : XS(_wrap_labelObj_minsize_get) {
12808 : {
12809 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12810 0 : void *argp1 = 0 ;
12811 : int res1 = 0 ;
12812 : int argvi = 0;
12813 : int result;
12814 0 : dXSARGS;
12815 :
12816 0 : if ((items < 1) || (items > 1)) {
12817 0 : SWIG_croak("Usage: labelObj_minsize_get(self);");
12818 : }
12819 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12820 0 : if (!SWIG_IsOK(res1)) {
12821 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minsize_get" "', argument " "1"" of type '" "struct labelObj *""'");
12822 : }
12823 0 : arg1 = (struct labelObj *)(argp1);
12824 0 : result = (int) ((arg1)->minsize);
12825 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12826 :
12827 0 : XSRETURN(argvi);
12828 : fail:
12829 :
12830 0 : SWIG_croak_null();
12831 : }
12832 : }
12833 :
12834 :
12835 0 : XS(_wrap_labelObj_maxsize_set) {
12836 : {
12837 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12838 : int arg2 ;
12839 0 : void *argp1 = 0 ;
12840 : int res1 = 0 ;
12841 : int val2 ;
12842 : int ecode2 = 0 ;
12843 : int argvi = 0;
12844 0 : dXSARGS;
12845 :
12846 0 : if ((items < 2) || (items > 2)) {
12847 0 : SWIG_croak("Usage: labelObj_maxsize_set(self,maxsize);");
12848 : }
12849 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12850 0 : if (!SWIG_IsOK(res1)) {
12851 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxsize_set" "', argument " "1"" of type '" "struct labelObj *""'");
12852 : }
12853 0 : arg1 = (struct labelObj *)(argp1);
12854 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12855 0 : if (!SWIG_IsOK(ecode2)) {
12856 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxsize_set" "', argument " "2"" of type '" "int""'");
12857 : }
12858 0 : arg2 = (int)(val2);
12859 0 : if (arg1) (arg1)->maxsize = arg2;
12860 0 : ST(argvi) = sv_newmortal();
12861 :
12862 :
12863 0 : XSRETURN(argvi);
12864 : fail:
12865 :
12866 :
12867 0 : SWIG_croak_null();
12868 : }
12869 : }
12870 :
12871 :
12872 0 : XS(_wrap_labelObj_maxsize_get) {
12873 : {
12874 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12875 0 : void *argp1 = 0 ;
12876 : int res1 = 0 ;
12877 : int argvi = 0;
12878 : int result;
12879 0 : dXSARGS;
12880 :
12881 0 : if ((items < 1) || (items > 1)) {
12882 0 : SWIG_croak("Usage: labelObj_maxsize_get(self);");
12883 : }
12884 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12885 0 : if (!SWIG_IsOK(res1)) {
12886 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxsize_get" "', argument " "1"" of type '" "struct labelObj *""'");
12887 : }
12888 0 : arg1 = (struct labelObj *)(argp1);
12889 0 : result = (int) ((arg1)->maxsize);
12890 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12891 :
12892 0 : XSRETURN(argvi);
12893 : fail:
12894 :
12895 0 : SWIG_croak_null();
12896 : }
12897 : }
12898 :
12899 :
12900 0 : XS(_wrap_labelObj_position_set) {
12901 : {
12902 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12903 : int arg2 ;
12904 0 : void *argp1 = 0 ;
12905 : int res1 = 0 ;
12906 : int val2 ;
12907 : int ecode2 = 0 ;
12908 : int argvi = 0;
12909 0 : dXSARGS;
12910 :
12911 0 : if ((items < 2) || (items > 2)) {
12912 0 : SWIG_croak("Usage: labelObj_position_set(self,position);");
12913 : }
12914 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12915 0 : if (!SWIG_IsOK(res1)) {
12916 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_position_set" "', argument " "1"" of type '" "struct labelObj *""'");
12917 : }
12918 0 : arg1 = (struct labelObj *)(argp1);
12919 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12920 0 : if (!SWIG_IsOK(ecode2)) {
12921 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_position_set" "', argument " "2"" of type '" "int""'");
12922 : }
12923 0 : arg2 = (int)(val2);
12924 0 : if (arg1) (arg1)->position = arg2;
12925 0 : ST(argvi) = sv_newmortal();
12926 :
12927 :
12928 0 : XSRETURN(argvi);
12929 : fail:
12930 :
12931 :
12932 0 : SWIG_croak_null();
12933 : }
12934 : }
12935 :
12936 :
12937 0 : XS(_wrap_labelObj_position_get) {
12938 : {
12939 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12940 0 : void *argp1 = 0 ;
12941 : int res1 = 0 ;
12942 : int argvi = 0;
12943 : int result;
12944 0 : dXSARGS;
12945 :
12946 0 : if ((items < 1) || (items > 1)) {
12947 0 : SWIG_croak("Usage: labelObj_position_get(self);");
12948 : }
12949 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12950 0 : if (!SWIG_IsOK(res1)) {
12951 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_position_get" "', argument " "1"" of type '" "struct labelObj *""'");
12952 : }
12953 0 : arg1 = (struct labelObj *)(argp1);
12954 0 : result = (int) ((arg1)->position);
12955 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
12956 :
12957 0 : XSRETURN(argvi);
12958 : fail:
12959 :
12960 0 : SWIG_croak_null();
12961 : }
12962 : }
12963 :
12964 :
12965 0 : XS(_wrap_labelObj_offsetx_set) {
12966 : {
12967 : struct labelObj *arg1 = (struct labelObj *) 0 ;
12968 : int arg2 ;
12969 0 : void *argp1 = 0 ;
12970 : int res1 = 0 ;
12971 : int val2 ;
12972 : int ecode2 = 0 ;
12973 : int argvi = 0;
12974 0 : dXSARGS;
12975 :
12976 0 : if ((items < 2) || (items > 2)) {
12977 0 : SWIG_croak("Usage: labelObj_offsetx_set(self,offsetx);");
12978 : }
12979 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
12980 0 : if (!SWIG_IsOK(res1)) {
12981 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsetx_set" "', argument " "1"" of type '" "struct labelObj *""'");
12982 : }
12983 0 : arg1 = (struct labelObj *)(argp1);
12984 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
12985 0 : if (!SWIG_IsOK(ecode2)) {
12986 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_offsetx_set" "', argument " "2"" of type '" "int""'");
12987 : }
12988 0 : arg2 = (int)(val2);
12989 0 : if (arg1) (arg1)->offsetx = arg2;
12990 0 : ST(argvi) = sv_newmortal();
12991 :
12992 :
12993 0 : XSRETURN(argvi);
12994 : fail:
12995 :
12996 :
12997 0 : SWIG_croak_null();
12998 : }
12999 : }
13000 :
13001 :
13002 0 : XS(_wrap_labelObj_offsetx_get) {
13003 : {
13004 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13005 0 : void *argp1 = 0 ;
13006 : int res1 = 0 ;
13007 : int argvi = 0;
13008 : int result;
13009 0 : dXSARGS;
13010 :
13011 0 : if ((items < 1) || (items > 1)) {
13012 0 : SWIG_croak("Usage: labelObj_offsetx_get(self);");
13013 : }
13014 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13015 0 : if (!SWIG_IsOK(res1)) {
13016 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsetx_get" "', argument " "1"" of type '" "struct labelObj *""'");
13017 : }
13018 0 : arg1 = (struct labelObj *)(argp1);
13019 0 : result = (int) ((arg1)->offsetx);
13020 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13021 :
13022 0 : XSRETURN(argvi);
13023 : fail:
13024 :
13025 0 : SWIG_croak_null();
13026 : }
13027 : }
13028 :
13029 :
13030 0 : XS(_wrap_labelObj_offsety_set) {
13031 : {
13032 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13033 : int arg2 ;
13034 0 : void *argp1 = 0 ;
13035 : int res1 = 0 ;
13036 : int val2 ;
13037 : int ecode2 = 0 ;
13038 : int argvi = 0;
13039 0 : dXSARGS;
13040 :
13041 0 : if ((items < 2) || (items > 2)) {
13042 0 : SWIG_croak("Usage: labelObj_offsety_set(self,offsety);");
13043 : }
13044 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13045 0 : if (!SWIG_IsOK(res1)) {
13046 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsety_set" "', argument " "1"" of type '" "struct labelObj *""'");
13047 : }
13048 0 : arg1 = (struct labelObj *)(argp1);
13049 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13050 0 : if (!SWIG_IsOK(ecode2)) {
13051 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_offsety_set" "', argument " "2"" of type '" "int""'");
13052 : }
13053 0 : arg2 = (int)(val2);
13054 0 : if (arg1) (arg1)->offsety = arg2;
13055 0 : ST(argvi) = sv_newmortal();
13056 :
13057 :
13058 0 : XSRETURN(argvi);
13059 : fail:
13060 :
13061 :
13062 0 : SWIG_croak_null();
13063 : }
13064 : }
13065 :
13066 :
13067 0 : XS(_wrap_labelObj_offsety_get) {
13068 : {
13069 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13070 0 : void *argp1 = 0 ;
13071 : int res1 = 0 ;
13072 : int argvi = 0;
13073 : int result;
13074 0 : dXSARGS;
13075 :
13076 0 : if ((items < 1) || (items > 1)) {
13077 0 : SWIG_croak("Usage: labelObj_offsety_get(self);");
13078 : }
13079 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13080 0 : if (!SWIG_IsOK(res1)) {
13081 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsety_get" "', argument " "1"" of type '" "struct labelObj *""'");
13082 : }
13083 0 : arg1 = (struct labelObj *)(argp1);
13084 0 : result = (int) ((arg1)->offsety);
13085 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13086 :
13087 0 : XSRETURN(argvi);
13088 : fail:
13089 :
13090 0 : SWIG_croak_null();
13091 : }
13092 : }
13093 :
13094 :
13095 0 : XS(_wrap_labelObj_angle_set) {
13096 : {
13097 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13098 : double arg2 ;
13099 0 : void *argp1 = 0 ;
13100 : int res1 = 0 ;
13101 : double val2 ;
13102 : int ecode2 = 0 ;
13103 : int argvi = 0;
13104 0 : dXSARGS;
13105 :
13106 0 : if ((items < 2) || (items > 2)) {
13107 0 : SWIG_croak("Usage: labelObj_angle_set(self,angle);");
13108 : }
13109 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13110 0 : if (!SWIG_IsOK(res1)) {
13111 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_angle_set" "', argument " "1"" of type '" "struct labelObj *""'");
13112 : }
13113 0 : arg1 = (struct labelObj *)(argp1);
13114 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13115 0 : if (!SWIG_IsOK(ecode2)) {
13116 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_angle_set" "', argument " "2"" of type '" "double""'");
13117 : }
13118 0 : arg2 = (double)(val2);
13119 0 : if (arg1) (arg1)->angle = arg2;
13120 0 : ST(argvi) = sv_newmortal();
13121 :
13122 :
13123 0 : XSRETURN(argvi);
13124 : fail:
13125 :
13126 :
13127 0 : SWIG_croak_null();
13128 : }
13129 : }
13130 :
13131 :
13132 0 : XS(_wrap_labelObj_angle_get) {
13133 : {
13134 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13135 0 : void *argp1 = 0 ;
13136 : int res1 = 0 ;
13137 : int argvi = 0;
13138 : double result;
13139 0 : dXSARGS;
13140 :
13141 0 : if ((items < 1) || (items > 1)) {
13142 0 : SWIG_croak("Usage: labelObj_angle_get(self);");
13143 : }
13144 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13145 0 : if (!SWIG_IsOK(res1)) {
13146 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_angle_get" "', argument " "1"" of type '" "struct labelObj *""'");
13147 : }
13148 0 : arg1 = (struct labelObj *)(argp1);
13149 0 : result = (double) ((arg1)->angle);
13150 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
13151 :
13152 0 : XSRETURN(argvi);
13153 : fail:
13154 :
13155 0 : SWIG_croak_null();
13156 : }
13157 : }
13158 :
13159 :
13160 0 : XS(_wrap_labelObj_anglemode_set) {
13161 : {
13162 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13163 : enum MS_POSITIONS_ENUM arg2 ;
13164 0 : void *argp1 = 0 ;
13165 : int res1 = 0 ;
13166 : int val2 ;
13167 : int ecode2 = 0 ;
13168 : int argvi = 0;
13169 0 : dXSARGS;
13170 :
13171 0 : if ((items < 2) || (items > 2)) {
13172 0 : SWIG_croak("Usage: labelObj_anglemode_set(self,anglemode);");
13173 : }
13174 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13175 0 : if (!SWIG_IsOK(res1)) {
13176 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_anglemode_set" "', argument " "1"" of type '" "struct labelObj *""'");
13177 : }
13178 0 : arg1 = (struct labelObj *)(argp1);
13179 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13180 0 : if (!SWIG_IsOK(ecode2)) {
13181 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_anglemode_set" "', argument " "2"" of type '" "enum MS_POSITIONS_ENUM""'");
13182 : }
13183 0 : arg2 = (enum MS_POSITIONS_ENUM)(val2);
13184 0 : if (arg1) (arg1)->anglemode = arg2;
13185 0 : ST(argvi) = sv_newmortal();
13186 :
13187 :
13188 0 : XSRETURN(argvi);
13189 : fail:
13190 :
13191 :
13192 0 : SWIG_croak_null();
13193 : }
13194 : }
13195 :
13196 :
13197 0 : XS(_wrap_labelObj_anglemode_get) {
13198 : {
13199 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13200 0 : void *argp1 = 0 ;
13201 : int res1 = 0 ;
13202 : int argvi = 0;
13203 : enum MS_POSITIONS_ENUM result;
13204 0 : dXSARGS;
13205 :
13206 0 : if ((items < 1) || (items > 1)) {
13207 0 : SWIG_croak("Usage: labelObj_anglemode_get(self);");
13208 : }
13209 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13210 0 : if (!SWIG_IsOK(res1)) {
13211 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_anglemode_get" "', argument " "1"" of type '" "struct labelObj *""'");
13212 : }
13213 0 : arg1 = (struct labelObj *)(argp1);
13214 0 : result = (enum MS_POSITIONS_ENUM) ((arg1)->anglemode);
13215 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13216 :
13217 0 : XSRETURN(argvi);
13218 : fail:
13219 :
13220 0 : SWIG_croak_null();
13221 : }
13222 : }
13223 :
13224 :
13225 0 : XS(_wrap_labelObj_buffer_set) {
13226 : {
13227 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13228 : int arg2 ;
13229 0 : void *argp1 = 0 ;
13230 : int res1 = 0 ;
13231 : int val2 ;
13232 : int ecode2 = 0 ;
13233 : int argvi = 0;
13234 0 : dXSARGS;
13235 :
13236 0 : if ((items < 2) || (items > 2)) {
13237 0 : SWIG_croak("Usage: labelObj_buffer_set(self,buffer);");
13238 : }
13239 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13240 0 : if (!SWIG_IsOK(res1)) {
13241 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_buffer_set" "', argument " "1"" of type '" "struct labelObj *""'");
13242 : }
13243 0 : arg1 = (struct labelObj *)(argp1);
13244 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13245 0 : if (!SWIG_IsOK(ecode2)) {
13246 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_buffer_set" "', argument " "2"" of type '" "int""'");
13247 : }
13248 0 : arg2 = (int)(val2);
13249 0 : if (arg1) (arg1)->buffer = arg2;
13250 0 : ST(argvi) = sv_newmortal();
13251 :
13252 :
13253 0 : XSRETURN(argvi);
13254 : fail:
13255 :
13256 :
13257 0 : SWIG_croak_null();
13258 : }
13259 : }
13260 :
13261 :
13262 0 : XS(_wrap_labelObj_buffer_get) {
13263 : {
13264 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13265 0 : void *argp1 = 0 ;
13266 : int res1 = 0 ;
13267 : int argvi = 0;
13268 : int result;
13269 0 : dXSARGS;
13270 :
13271 0 : if ((items < 1) || (items > 1)) {
13272 0 : SWIG_croak("Usage: labelObj_buffer_get(self);");
13273 : }
13274 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13275 0 : if (!SWIG_IsOK(res1)) {
13276 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_buffer_get" "', argument " "1"" of type '" "struct labelObj *""'");
13277 : }
13278 0 : arg1 = (struct labelObj *)(argp1);
13279 0 : result = (int) ((arg1)->buffer);
13280 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13281 :
13282 0 : XSRETURN(argvi);
13283 : fail:
13284 :
13285 0 : SWIG_croak_null();
13286 : }
13287 : }
13288 :
13289 :
13290 0 : XS(_wrap_labelObj_align_set) {
13291 : {
13292 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13293 : int arg2 ;
13294 0 : void *argp1 = 0 ;
13295 : int res1 = 0 ;
13296 : int val2 ;
13297 : int ecode2 = 0 ;
13298 : int argvi = 0;
13299 0 : dXSARGS;
13300 :
13301 0 : if ((items < 2) || (items > 2)) {
13302 0 : SWIG_croak("Usage: labelObj_align_set(self,align);");
13303 : }
13304 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13305 0 : if (!SWIG_IsOK(res1)) {
13306 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_align_set" "', argument " "1"" of type '" "struct labelObj *""'");
13307 : }
13308 0 : arg1 = (struct labelObj *)(argp1);
13309 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13310 0 : if (!SWIG_IsOK(ecode2)) {
13311 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_align_set" "', argument " "2"" of type '" "int""'");
13312 : }
13313 0 : arg2 = (int)(val2);
13314 0 : if (arg1) (arg1)->align = arg2;
13315 0 : ST(argvi) = sv_newmortal();
13316 :
13317 :
13318 0 : XSRETURN(argvi);
13319 : fail:
13320 :
13321 :
13322 0 : SWIG_croak_null();
13323 : }
13324 : }
13325 :
13326 :
13327 0 : XS(_wrap_labelObj_align_get) {
13328 : {
13329 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13330 0 : void *argp1 = 0 ;
13331 : int res1 = 0 ;
13332 : int argvi = 0;
13333 : int result;
13334 0 : dXSARGS;
13335 :
13336 0 : if ((items < 1) || (items > 1)) {
13337 0 : SWIG_croak("Usage: labelObj_align_get(self);");
13338 : }
13339 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13340 0 : if (!SWIG_IsOK(res1)) {
13341 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_align_get" "', argument " "1"" of type '" "struct labelObj *""'");
13342 : }
13343 0 : arg1 = (struct labelObj *)(argp1);
13344 0 : result = (int) ((arg1)->align);
13345 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13346 :
13347 0 : XSRETURN(argvi);
13348 : fail:
13349 :
13350 0 : SWIG_croak_null();
13351 : }
13352 : }
13353 :
13354 :
13355 0 : XS(_wrap_labelObj_wrap_set) {
13356 : {
13357 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13358 : char arg2 ;
13359 0 : void *argp1 = 0 ;
13360 : int res1 = 0 ;
13361 : char val2 ;
13362 : int ecode2 = 0 ;
13363 : int argvi = 0;
13364 0 : dXSARGS;
13365 :
13366 0 : if ((items < 2) || (items > 2)) {
13367 0 : SWIG_croak("Usage: labelObj_wrap_set(self,wrap);");
13368 : }
13369 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13370 0 : if (!SWIG_IsOK(res1)) {
13371 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_wrap_set" "', argument " "1"" of type '" "struct labelObj *""'");
13372 : }
13373 0 : arg1 = (struct labelObj *)(argp1);
13374 0 : ecode2 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13375 0 : if (!SWIG_IsOK(ecode2)) {
13376 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_wrap_set" "', argument " "2"" of type '" "char""'");
13377 : }
13378 0 : arg2 = (char)(val2);
13379 0 : if (arg1) (arg1)->wrap = arg2;
13380 0 : ST(argvi) = sv_newmortal();
13381 :
13382 :
13383 0 : XSRETURN(argvi);
13384 : fail:
13385 :
13386 :
13387 0 : SWIG_croak_null();
13388 : }
13389 : }
13390 :
13391 :
13392 0 : XS(_wrap_labelObj_wrap_get) {
13393 : {
13394 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13395 0 : void *argp1 = 0 ;
13396 : int res1 = 0 ;
13397 : int argvi = 0;
13398 : char result;
13399 0 : dXSARGS;
13400 :
13401 0 : if ((items < 1) || (items > 1)) {
13402 0 : SWIG_croak("Usage: labelObj_wrap_get(self);");
13403 : }
13404 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13405 0 : if (!SWIG_IsOK(res1)) {
13406 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_wrap_get" "', argument " "1"" of type '" "struct labelObj *""'");
13407 : }
13408 0 : arg1 = (struct labelObj *)(argp1);
13409 0 : result = (char) ((arg1)->wrap);
13410 0 : ST(argvi) = SWIG_From_char SWIG_PERL_CALL_ARGS_1((char)(result)); argvi++ ;
13411 :
13412 0 : XSRETURN(argvi);
13413 : fail:
13414 :
13415 0 : SWIG_croak_null();
13416 : }
13417 : }
13418 :
13419 :
13420 0 : XS(_wrap_labelObj_maxlength_set) {
13421 : {
13422 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13423 : int arg2 ;
13424 0 : void *argp1 = 0 ;
13425 : int res1 = 0 ;
13426 : int val2 ;
13427 : int ecode2 = 0 ;
13428 : int argvi = 0;
13429 0 : dXSARGS;
13430 :
13431 0 : if ((items < 2) || (items > 2)) {
13432 0 : SWIG_croak("Usage: labelObj_maxlength_set(self,maxlength);");
13433 : }
13434 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13435 0 : if (!SWIG_IsOK(res1)) {
13436 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxlength_set" "', argument " "1"" of type '" "struct labelObj *""'");
13437 : }
13438 0 : arg1 = (struct labelObj *)(argp1);
13439 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13440 0 : if (!SWIG_IsOK(ecode2)) {
13441 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxlength_set" "', argument " "2"" of type '" "int""'");
13442 : }
13443 0 : arg2 = (int)(val2);
13444 0 : if (arg1) (arg1)->maxlength = arg2;
13445 0 : ST(argvi) = sv_newmortal();
13446 :
13447 :
13448 0 : XSRETURN(argvi);
13449 : fail:
13450 :
13451 :
13452 0 : SWIG_croak_null();
13453 : }
13454 : }
13455 :
13456 :
13457 0 : XS(_wrap_labelObj_maxlength_get) {
13458 : {
13459 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13460 0 : void *argp1 = 0 ;
13461 : int res1 = 0 ;
13462 : int argvi = 0;
13463 : int result;
13464 0 : dXSARGS;
13465 :
13466 0 : if ((items < 1) || (items > 1)) {
13467 0 : SWIG_croak("Usage: labelObj_maxlength_get(self);");
13468 : }
13469 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13470 0 : if (!SWIG_IsOK(res1)) {
13471 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxlength_get" "', argument " "1"" of type '" "struct labelObj *""'");
13472 : }
13473 0 : arg1 = (struct labelObj *)(argp1);
13474 0 : result = (int) ((arg1)->maxlength);
13475 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13476 :
13477 0 : XSRETURN(argvi);
13478 : fail:
13479 :
13480 0 : SWIG_croak_null();
13481 : }
13482 : }
13483 :
13484 :
13485 0 : XS(_wrap_labelObj_minlength_set) {
13486 : {
13487 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13488 : int arg2 ;
13489 0 : void *argp1 = 0 ;
13490 : int res1 = 0 ;
13491 : int val2 ;
13492 : int ecode2 = 0 ;
13493 : int argvi = 0;
13494 0 : dXSARGS;
13495 :
13496 0 : if ((items < 2) || (items > 2)) {
13497 0 : SWIG_croak("Usage: labelObj_minlength_set(self,minlength);");
13498 : }
13499 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13500 0 : if (!SWIG_IsOK(res1)) {
13501 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minlength_set" "', argument " "1"" of type '" "struct labelObj *""'");
13502 : }
13503 0 : arg1 = (struct labelObj *)(argp1);
13504 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13505 0 : if (!SWIG_IsOK(ecode2)) {
13506 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minlength_set" "', argument " "2"" of type '" "int""'");
13507 : }
13508 0 : arg2 = (int)(val2);
13509 0 : if (arg1) (arg1)->minlength = arg2;
13510 0 : ST(argvi) = sv_newmortal();
13511 :
13512 :
13513 0 : XSRETURN(argvi);
13514 : fail:
13515 :
13516 :
13517 0 : SWIG_croak_null();
13518 : }
13519 : }
13520 :
13521 :
13522 0 : XS(_wrap_labelObj_minlength_get) {
13523 : {
13524 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13525 0 : void *argp1 = 0 ;
13526 : int res1 = 0 ;
13527 : int argvi = 0;
13528 : int result;
13529 0 : dXSARGS;
13530 :
13531 0 : if ((items < 1) || (items > 1)) {
13532 0 : SWIG_croak("Usage: labelObj_minlength_get(self);");
13533 : }
13534 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13535 0 : if (!SWIG_IsOK(res1)) {
13536 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minlength_get" "', argument " "1"" of type '" "struct labelObj *""'");
13537 : }
13538 0 : arg1 = (struct labelObj *)(argp1);
13539 0 : result = (int) ((arg1)->minlength);
13540 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13541 :
13542 0 : XSRETURN(argvi);
13543 : fail:
13544 :
13545 0 : SWIG_croak_null();
13546 : }
13547 : }
13548 :
13549 :
13550 0 : XS(_wrap_labelObj_space_size_10_set) {
13551 : {
13552 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13553 : double arg2 ;
13554 0 : void *argp1 = 0 ;
13555 : int res1 = 0 ;
13556 : double val2 ;
13557 : int ecode2 = 0 ;
13558 : int argvi = 0;
13559 0 : dXSARGS;
13560 :
13561 0 : if ((items < 2) || (items > 2)) {
13562 0 : SWIG_croak("Usage: labelObj_space_size_10_set(self,space_size_10);");
13563 : }
13564 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13565 0 : if (!SWIG_IsOK(res1)) {
13566 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_space_size_10_set" "', argument " "1"" of type '" "struct labelObj *""'");
13567 : }
13568 0 : arg1 = (struct labelObj *)(argp1);
13569 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13570 0 : if (!SWIG_IsOK(ecode2)) {
13571 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_space_size_10_set" "', argument " "2"" of type '" "double""'");
13572 : }
13573 0 : arg2 = (double)(val2);
13574 0 : if (arg1) (arg1)->space_size_10 = arg2;
13575 0 : ST(argvi) = sv_newmortal();
13576 :
13577 :
13578 0 : XSRETURN(argvi);
13579 : fail:
13580 :
13581 :
13582 0 : SWIG_croak_null();
13583 : }
13584 : }
13585 :
13586 :
13587 0 : XS(_wrap_labelObj_space_size_10_get) {
13588 : {
13589 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13590 0 : void *argp1 = 0 ;
13591 : int res1 = 0 ;
13592 : int argvi = 0;
13593 : double result;
13594 0 : dXSARGS;
13595 :
13596 0 : if ((items < 1) || (items > 1)) {
13597 0 : SWIG_croak("Usage: labelObj_space_size_10_get(self);");
13598 : }
13599 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13600 0 : if (!SWIG_IsOK(res1)) {
13601 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_space_size_10_get" "', argument " "1"" of type '" "struct labelObj *""'");
13602 : }
13603 0 : arg1 = (struct labelObj *)(argp1);
13604 0 : result = (double) ((arg1)->space_size_10);
13605 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
13606 :
13607 0 : XSRETURN(argvi);
13608 : fail:
13609 :
13610 0 : SWIG_croak_null();
13611 : }
13612 : }
13613 :
13614 :
13615 0 : XS(_wrap_labelObj_minfeaturesize_set) {
13616 : {
13617 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13618 : int arg2 ;
13619 0 : void *argp1 = 0 ;
13620 : int res1 = 0 ;
13621 : int val2 ;
13622 : int ecode2 = 0 ;
13623 : int argvi = 0;
13624 0 : dXSARGS;
13625 :
13626 0 : if ((items < 2) || (items > 2)) {
13627 0 : SWIG_croak("Usage: labelObj_minfeaturesize_set(self,minfeaturesize);");
13628 : }
13629 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13630 0 : if (!SWIG_IsOK(res1)) {
13631 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minfeaturesize_set" "', argument " "1"" of type '" "struct labelObj *""'");
13632 : }
13633 0 : arg1 = (struct labelObj *)(argp1);
13634 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13635 0 : if (!SWIG_IsOK(ecode2)) {
13636 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minfeaturesize_set" "', argument " "2"" of type '" "int""'");
13637 : }
13638 0 : arg2 = (int)(val2);
13639 0 : if (arg1) (arg1)->minfeaturesize = arg2;
13640 0 : ST(argvi) = sv_newmortal();
13641 :
13642 :
13643 0 : XSRETURN(argvi);
13644 : fail:
13645 :
13646 :
13647 0 : SWIG_croak_null();
13648 : }
13649 : }
13650 :
13651 :
13652 0 : XS(_wrap_labelObj_minfeaturesize_get) {
13653 : {
13654 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13655 0 : void *argp1 = 0 ;
13656 : int res1 = 0 ;
13657 : int argvi = 0;
13658 : int result;
13659 0 : dXSARGS;
13660 :
13661 0 : if ((items < 1) || (items > 1)) {
13662 0 : SWIG_croak("Usage: labelObj_minfeaturesize_get(self);");
13663 : }
13664 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13665 0 : if (!SWIG_IsOK(res1)) {
13666 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minfeaturesize_get" "', argument " "1"" of type '" "struct labelObj *""'");
13667 : }
13668 0 : arg1 = (struct labelObj *)(argp1);
13669 0 : result = (int) ((arg1)->minfeaturesize);
13670 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13671 :
13672 0 : XSRETURN(argvi);
13673 : fail:
13674 :
13675 0 : SWIG_croak_null();
13676 : }
13677 : }
13678 :
13679 :
13680 0 : XS(_wrap_labelObj_autominfeaturesize_set) {
13681 : {
13682 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13683 : int arg2 ;
13684 0 : void *argp1 = 0 ;
13685 : int res1 = 0 ;
13686 : int val2 ;
13687 : int ecode2 = 0 ;
13688 : int argvi = 0;
13689 0 : dXSARGS;
13690 :
13691 0 : if ((items < 2) || (items > 2)) {
13692 0 : SWIG_croak("Usage: labelObj_autominfeaturesize_set(self,autominfeaturesize);");
13693 : }
13694 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13695 0 : if (!SWIG_IsOK(res1)) {
13696 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_autominfeaturesize_set" "', argument " "1"" of type '" "struct labelObj *""'");
13697 : }
13698 0 : arg1 = (struct labelObj *)(argp1);
13699 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13700 0 : if (!SWIG_IsOK(ecode2)) {
13701 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_autominfeaturesize_set" "', argument " "2"" of type '" "int""'");
13702 : }
13703 0 : arg2 = (int)(val2);
13704 0 : if (arg1) (arg1)->autominfeaturesize = arg2;
13705 0 : ST(argvi) = sv_newmortal();
13706 :
13707 :
13708 0 : XSRETURN(argvi);
13709 : fail:
13710 :
13711 :
13712 0 : SWIG_croak_null();
13713 : }
13714 : }
13715 :
13716 :
13717 0 : XS(_wrap_labelObj_autominfeaturesize_get) {
13718 : {
13719 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13720 0 : void *argp1 = 0 ;
13721 : int res1 = 0 ;
13722 : int argvi = 0;
13723 : int result;
13724 0 : dXSARGS;
13725 :
13726 0 : if ((items < 1) || (items > 1)) {
13727 0 : SWIG_croak("Usage: labelObj_autominfeaturesize_get(self);");
13728 : }
13729 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13730 0 : if (!SWIG_IsOK(res1)) {
13731 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_autominfeaturesize_get" "', argument " "1"" of type '" "struct labelObj *""'");
13732 : }
13733 0 : arg1 = (struct labelObj *)(argp1);
13734 0 : result = (int) ((arg1)->autominfeaturesize);
13735 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13736 :
13737 0 : XSRETURN(argvi);
13738 : fail:
13739 :
13740 0 : SWIG_croak_null();
13741 : }
13742 : }
13743 :
13744 :
13745 0 : XS(_wrap_labelObj_minscaledenom_set) {
13746 : {
13747 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13748 : double arg2 ;
13749 0 : void *argp1 = 0 ;
13750 : int res1 = 0 ;
13751 : double val2 ;
13752 : int ecode2 = 0 ;
13753 : int argvi = 0;
13754 0 : dXSARGS;
13755 :
13756 0 : if ((items < 2) || (items > 2)) {
13757 0 : SWIG_croak("Usage: labelObj_minscaledenom_set(self,minscaledenom);");
13758 : }
13759 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13760 0 : if (!SWIG_IsOK(res1)) {
13761 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minscaledenom_set" "', argument " "1"" of type '" "struct labelObj *""'");
13762 : }
13763 0 : arg1 = (struct labelObj *)(argp1);
13764 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13765 0 : if (!SWIG_IsOK(ecode2)) {
13766 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
13767 : }
13768 0 : arg2 = (double)(val2);
13769 0 : if (arg1) (arg1)->minscaledenom = arg2;
13770 0 : ST(argvi) = sv_newmortal();
13771 :
13772 :
13773 0 : XSRETURN(argvi);
13774 : fail:
13775 :
13776 :
13777 0 : SWIG_croak_null();
13778 : }
13779 : }
13780 :
13781 :
13782 0 : XS(_wrap_labelObj_minscaledenom_get) {
13783 : {
13784 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13785 0 : void *argp1 = 0 ;
13786 : int res1 = 0 ;
13787 : int argvi = 0;
13788 : double result;
13789 0 : dXSARGS;
13790 :
13791 0 : if ((items < 1) || (items > 1)) {
13792 0 : SWIG_croak("Usage: labelObj_minscaledenom_get(self);");
13793 : }
13794 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13795 0 : if (!SWIG_IsOK(res1)) {
13796 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minscaledenom_get" "', argument " "1"" of type '" "struct labelObj *""'");
13797 : }
13798 0 : arg1 = (struct labelObj *)(argp1);
13799 0 : result = (double) ((arg1)->minscaledenom);
13800 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
13801 :
13802 0 : XSRETURN(argvi);
13803 : fail:
13804 :
13805 0 : SWIG_croak_null();
13806 : }
13807 : }
13808 :
13809 :
13810 0 : XS(_wrap_labelObj_maxscaledenom_set) {
13811 : {
13812 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13813 : double arg2 ;
13814 0 : void *argp1 = 0 ;
13815 : int res1 = 0 ;
13816 : double val2 ;
13817 : int ecode2 = 0 ;
13818 : int argvi = 0;
13819 0 : dXSARGS;
13820 :
13821 0 : if ((items < 2) || (items > 2)) {
13822 0 : SWIG_croak("Usage: labelObj_maxscaledenom_set(self,maxscaledenom);");
13823 : }
13824 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13825 0 : if (!SWIG_IsOK(res1)) {
13826 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxscaledenom_set" "', argument " "1"" of type '" "struct labelObj *""'");
13827 : }
13828 0 : arg1 = (struct labelObj *)(argp1);
13829 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13830 0 : if (!SWIG_IsOK(ecode2)) {
13831 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
13832 : }
13833 0 : arg2 = (double)(val2);
13834 0 : if (arg1) (arg1)->maxscaledenom = arg2;
13835 0 : ST(argvi) = sv_newmortal();
13836 :
13837 :
13838 0 : XSRETURN(argvi);
13839 : fail:
13840 :
13841 :
13842 0 : SWIG_croak_null();
13843 : }
13844 : }
13845 :
13846 :
13847 0 : XS(_wrap_labelObj_maxscaledenom_get) {
13848 : {
13849 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13850 0 : void *argp1 = 0 ;
13851 : int res1 = 0 ;
13852 : int argvi = 0;
13853 : double result;
13854 0 : dXSARGS;
13855 :
13856 0 : if ((items < 1) || (items > 1)) {
13857 0 : SWIG_croak("Usage: labelObj_maxscaledenom_get(self);");
13858 : }
13859 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13860 0 : if (!SWIG_IsOK(res1)) {
13861 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxscaledenom_get" "', argument " "1"" of type '" "struct labelObj *""'");
13862 : }
13863 0 : arg1 = (struct labelObj *)(argp1);
13864 0 : result = (double) ((arg1)->maxscaledenom);
13865 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
13866 :
13867 0 : XSRETURN(argvi);
13868 : fail:
13869 :
13870 0 : SWIG_croak_null();
13871 : }
13872 : }
13873 :
13874 :
13875 0 : XS(_wrap_labelObj_mindistance_set) {
13876 : {
13877 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13878 : int arg2 ;
13879 0 : void *argp1 = 0 ;
13880 : int res1 = 0 ;
13881 : int val2 ;
13882 : int ecode2 = 0 ;
13883 : int argvi = 0;
13884 0 : dXSARGS;
13885 :
13886 0 : if ((items < 2) || (items > 2)) {
13887 0 : SWIG_croak("Usage: labelObj_mindistance_set(self,mindistance);");
13888 : }
13889 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13890 0 : if (!SWIG_IsOK(res1)) {
13891 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_mindistance_set" "', argument " "1"" of type '" "struct labelObj *""'");
13892 : }
13893 0 : arg1 = (struct labelObj *)(argp1);
13894 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13895 0 : if (!SWIG_IsOK(ecode2)) {
13896 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_mindistance_set" "', argument " "2"" of type '" "int""'");
13897 : }
13898 0 : arg2 = (int)(val2);
13899 0 : if (arg1) (arg1)->mindistance = arg2;
13900 0 : ST(argvi) = sv_newmortal();
13901 :
13902 :
13903 0 : XSRETURN(argvi);
13904 : fail:
13905 :
13906 :
13907 0 : SWIG_croak_null();
13908 : }
13909 : }
13910 :
13911 :
13912 0 : XS(_wrap_labelObj_mindistance_get) {
13913 : {
13914 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13915 0 : void *argp1 = 0 ;
13916 : int res1 = 0 ;
13917 : int argvi = 0;
13918 : int result;
13919 0 : dXSARGS;
13920 :
13921 0 : if ((items < 1) || (items > 1)) {
13922 0 : SWIG_croak("Usage: labelObj_mindistance_get(self);");
13923 : }
13924 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13925 0 : if (!SWIG_IsOK(res1)) {
13926 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_mindistance_get" "', argument " "1"" of type '" "struct labelObj *""'");
13927 : }
13928 0 : arg1 = (struct labelObj *)(argp1);
13929 0 : result = (int) ((arg1)->mindistance);
13930 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13931 :
13932 0 : XSRETURN(argvi);
13933 : fail:
13934 :
13935 0 : SWIG_croak_null();
13936 : }
13937 : }
13938 :
13939 :
13940 0 : XS(_wrap_labelObj_repeatdistance_set) {
13941 : {
13942 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13943 : int arg2 ;
13944 0 : void *argp1 = 0 ;
13945 : int res1 = 0 ;
13946 : int val2 ;
13947 : int ecode2 = 0 ;
13948 : int argvi = 0;
13949 0 : dXSARGS;
13950 :
13951 0 : if ((items < 2) || (items > 2)) {
13952 0 : SWIG_croak("Usage: labelObj_repeatdistance_set(self,repeatdistance);");
13953 : }
13954 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13955 0 : if (!SWIG_IsOK(res1)) {
13956 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_repeatdistance_set" "', argument " "1"" of type '" "struct labelObj *""'");
13957 : }
13958 0 : arg1 = (struct labelObj *)(argp1);
13959 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
13960 0 : if (!SWIG_IsOK(ecode2)) {
13961 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_repeatdistance_set" "', argument " "2"" of type '" "int""'");
13962 : }
13963 0 : arg2 = (int)(val2);
13964 0 : if (arg1) (arg1)->repeatdistance = arg2;
13965 0 : ST(argvi) = sv_newmortal();
13966 :
13967 :
13968 0 : XSRETURN(argvi);
13969 : fail:
13970 :
13971 :
13972 0 : SWIG_croak_null();
13973 : }
13974 : }
13975 :
13976 :
13977 0 : XS(_wrap_labelObj_repeatdistance_get) {
13978 : {
13979 : struct labelObj *arg1 = (struct labelObj *) 0 ;
13980 0 : void *argp1 = 0 ;
13981 : int res1 = 0 ;
13982 : int argvi = 0;
13983 : int result;
13984 0 : dXSARGS;
13985 :
13986 0 : if ((items < 1) || (items > 1)) {
13987 0 : SWIG_croak("Usage: labelObj_repeatdistance_get(self);");
13988 : }
13989 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
13990 0 : if (!SWIG_IsOK(res1)) {
13991 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_repeatdistance_get" "', argument " "1"" of type '" "struct labelObj *""'");
13992 : }
13993 0 : arg1 = (struct labelObj *)(argp1);
13994 0 : result = (int) ((arg1)->repeatdistance);
13995 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
13996 :
13997 0 : XSRETURN(argvi);
13998 : fail:
13999 :
14000 0 : SWIG_croak_null();
14001 : }
14002 : }
14003 :
14004 :
14005 0 : XS(_wrap_labelObj_maxoverlapangle_set) {
14006 : {
14007 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14008 : double arg2 ;
14009 0 : void *argp1 = 0 ;
14010 : int res1 = 0 ;
14011 : double val2 ;
14012 : int ecode2 = 0 ;
14013 : int argvi = 0;
14014 0 : dXSARGS;
14015 :
14016 0 : if ((items < 2) || (items > 2)) {
14017 0 : SWIG_croak("Usage: labelObj_maxoverlapangle_set(self,maxoverlapangle);");
14018 : }
14019 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14020 0 : if (!SWIG_IsOK(res1)) {
14021 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxoverlapangle_set" "', argument " "1"" of type '" "struct labelObj *""'");
14022 : }
14023 0 : arg1 = (struct labelObj *)(argp1);
14024 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14025 0 : if (!SWIG_IsOK(ecode2)) {
14026 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxoverlapangle_set" "', argument " "2"" of type '" "double""'");
14027 : }
14028 0 : arg2 = (double)(val2);
14029 0 : if (arg1) (arg1)->maxoverlapangle = arg2;
14030 0 : ST(argvi) = sv_newmortal();
14031 :
14032 :
14033 0 : XSRETURN(argvi);
14034 : fail:
14035 :
14036 :
14037 0 : SWIG_croak_null();
14038 : }
14039 : }
14040 :
14041 :
14042 0 : XS(_wrap_labelObj_maxoverlapangle_get) {
14043 : {
14044 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14045 0 : void *argp1 = 0 ;
14046 : int res1 = 0 ;
14047 : int argvi = 0;
14048 : double result;
14049 0 : dXSARGS;
14050 :
14051 0 : if ((items < 1) || (items > 1)) {
14052 0 : SWIG_croak("Usage: labelObj_maxoverlapangle_get(self);");
14053 : }
14054 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14055 0 : if (!SWIG_IsOK(res1)) {
14056 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxoverlapangle_get" "', argument " "1"" of type '" "struct labelObj *""'");
14057 : }
14058 0 : arg1 = (struct labelObj *)(argp1);
14059 0 : result = (double) ((arg1)->maxoverlapangle);
14060 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
14061 :
14062 0 : XSRETURN(argvi);
14063 : fail:
14064 :
14065 0 : SWIG_croak_null();
14066 : }
14067 : }
14068 :
14069 :
14070 0 : XS(_wrap_labelObj_partials_set) {
14071 : {
14072 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14073 : int arg2 ;
14074 0 : void *argp1 = 0 ;
14075 : int res1 = 0 ;
14076 : int val2 ;
14077 : int ecode2 = 0 ;
14078 : int argvi = 0;
14079 0 : dXSARGS;
14080 :
14081 0 : if ((items < 2) || (items > 2)) {
14082 0 : SWIG_croak("Usage: labelObj_partials_set(self,partials);");
14083 : }
14084 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14085 0 : if (!SWIG_IsOK(res1)) {
14086 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_partials_set" "', argument " "1"" of type '" "struct labelObj *""'");
14087 : }
14088 0 : arg1 = (struct labelObj *)(argp1);
14089 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14090 0 : if (!SWIG_IsOK(ecode2)) {
14091 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_partials_set" "', argument " "2"" of type '" "int""'");
14092 : }
14093 0 : arg2 = (int)(val2);
14094 0 : if (arg1) (arg1)->partials = arg2;
14095 0 : ST(argvi) = sv_newmortal();
14096 :
14097 :
14098 0 : XSRETURN(argvi);
14099 : fail:
14100 :
14101 :
14102 0 : SWIG_croak_null();
14103 : }
14104 : }
14105 :
14106 :
14107 0 : XS(_wrap_labelObj_partials_get) {
14108 : {
14109 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14110 0 : void *argp1 = 0 ;
14111 : int res1 = 0 ;
14112 : int argvi = 0;
14113 : int result;
14114 0 : dXSARGS;
14115 :
14116 0 : if ((items < 1) || (items > 1)) {
14117 0 : SWIG_croak("Usage: labelObj_partials_get(self);");
14118 : }
14119 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14120 0 : if (!SWIG_IsOK(res1)) {
14121 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_partials_get" "', argument " "1"" of type '" "struct labelObj *""'");
14122 : }
14123 0 : arg1 = (struct labelObj *)(argp1);
14124 0 : result = (int) ((arg1)->partials);
14125 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14126 :
14127 0 : XSRETURN(argvi);
14128 : fail:
14129 :
14130 0 : SWIG_croak_null();
14131 : }
14132 : }
14133 :
14134 :
14135 0 : XS(_wrap_labelObj_force_set) {
14136 : {
14137 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14138 : int arg2 ;
14139 0 : void *argp1 = 0 ;
14140 : int res1 = 0 ;
14141 : int val2 ;
14142 : int ecode2 = 0 ;
14143 : int argvi = 0;
14144 0 : dXSARGS;
14145 :
14146 0 : if ((items < 2) || (items > 2)) {
14147 0 : SWIG_croak("Usage: labelObj_force_set(self,force);");
14148 : }
14149 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14150 0 : if (!SWIG_IsOK(res1)) {
14151 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_force_set" "', argument " "1"" of type '" "struct labelObj *""'");
14152 : }
14153 0 : arg1 = (struct labelObj *)(argp1);
14154 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14155 0 : if (!SWIG_IsOK(ecode2)) {
14156 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_force_set" "', argument " "2"" of type '" "int""'");
14157 : }
14158 0 : arg2 = (int)(val2);
14159 0 : if (arg1) (arg1)->force = arg2;
14160 0 : ST(argvi) = sv_newmortal();
14161 :
14162 :
14163 0 : XSRETURN(argvi);
14164 : fail:
14165 :
14166 :
14167 0 : SWIG_croak_null();
14168 : }
14169 : }
14170 :
14171 :
14172 0 : XS(_wrap_labelObj_force_get) {
14173 : {
14174 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14175 0 : void *argp1 = 0 ;
14176 : int res1 = 0 ;
14177 : int argvi = 0;
14178 : int result;
14179 0 : dXSARGS;
14180 :
14181 0 : if ((items < 1) || (items > 1)) {
14182 0 : SWIG_croak("Usage: labelObj_force_get(self);");
14183 : }
14184 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14185 0 : if (!SWIG_IsOK(res1)) {
14186 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_force_get" "', argument " "1"" of type '" "struct labelObj *""'");
14187 : }
14188 0 : arg1 = (struct labelObj *)(argp1);
14189 0 : result = (int) ((arg1)->force);
14190 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14191 :
14192 0 : XSRETURN(argvi);
14193 : fail:
14194 :
14195 0 : SWIG_croak_null();
14196 : }
14197 : }
14198 :
14199 :
14200 0 : XS(_wrap_labelObj_encoding_set) {
14201 : {
14202 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14203 : char *arg2 = (char *) 0 ;
14204 0 : void *argp1 = 0 ;
14205 : int res1 = 0 ;
14206 : int res2 ;
14207 0 : char *buf2 = 0 ;
14208 0 : int alloc2 = 0 ;
14209 : int argvi = 0;
14210 0 : dXSARGS;
14211 :
14212 0 : if ((items < 2) || (items > 2)) {
14213 0 : SWIG_croak("Usage: labelObj_encoding_set(self,encoding);");
14214 : }
14215 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14216 0 : if (!SWIG_IsOK(res1)) {
14217 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_encoding_set" "', argument " "1"" of type '" "struct labelObj *""'");
14218 : }
14219 0 : arg1 = (struct labelObj *)(argp1);
14220 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
14221 0 : if (!SWIG_IsOK(res2)) {
14222 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_encoding_set" "', argument " "2"" of type '" "char *""'");
14223 : }
14224 0 : arg2 = (char *)(buf2);
14225 : {
14226 0 : if (arg1->encoding) free((char*)arg1->encoding);
14227 0 : if (arg2) {
14228 0 : arg1->encoding = (char *) malloc(strlen(arg2)+1);
14229 : strcpy((char*)arg1->encoding,arg2);
14230 : } else {
14231 0 : arg1->encoding = 0;
14232 : }
14233 : }
14234 0 : ST(argvi) = sv_newmortal();
14235 :
14236 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14237 0 : XSRETURN(argvi);
14238 : fail:
14239 :
14240 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14241 0 : SWIG_croak_null();
14242 : }
14243 : }
14244 :
14245 :
14246 0 : XS(_wrap_labelObj_encoding_get) {
14247 : {
14248 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14249 0 : void *argp1 = 0 ;
14250 : int res1 = 0 ;
14251 : int argvi = 0;
14252 : char *result = 0 ;
14253 0 : dXSARGS;
14254 :
14255 0 : if ((items < 1) || (items > 1)) {
14256 0 : SWIG_croak("Usage: labelObj_encoding_get(self);");
14257 : }
14258 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14259 0 : if (!SWIG_IsOK(res1)) {
14260 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_encoding_get" "', argument " "1"" of type '" "struct labelObj *""'");
14261 : }
14262 0 : arg1 = (struct labelObj *)(argp1);
14263 0 : result = (char *) ((arg1)->encoding);
14264 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
14265 :
14266 0 : XSRETURN(argvi);
14267 : fail:
14268 :
14269 0 : SWIG_croak_null();
14270 : }
14271 : }
14272 :
14273 :
14274 0 : XS(_wrap_labelObj_priority_set) {
14275 : {
14276 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14277 : int arg2 ;
14278 0 : void *argp1 = 0 ;
14279 : int res1 = 0 ;
14280 : int val2 ;
14281 : int ecode2 = 0 ;
14282 : int argvi = 0;
14283 0 : dXSARGS;
14284 :
14285 0 : if ((items < 2) || (items > 2)) {
14286 0 : SWIG_croak("Usage: labelObj_priority_set(self,priority);");
14287 : }
14288 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14289 0 : if (!SWIG_IsOK(res1)) {
14290 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_priority_set" "', argument " "1"" of type '" "struct labelObj *""'");
14291 : }
14292 0 : arg1 = (struct labelObj *)(argp1);
14293 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14294 0 : if (!SWIG_IsOK(ecode2)) {
14295 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_priority_set" "', argument " "2"" of type '" "int""'");
14296 : }
14297 0 : arg2 = (int)(val2);
14298 0 : if (arg1) (arg1)->priority = arg2;
14299 0 : ST(argvi) = sv_newmortal();
14300 :
14301 :
14302 0 : XSRETURN(argvi);
14303 : fail:
14304 :
14305 :
14306 0 : SWIG_croak_null();
14307 : }
14308 : }
14309 :
14310 :
14311 0 : XS(_wrap_labelObj_priority_get) {
14312 : {
14313 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14314 0 : void *argp1 = 0 ;
14315 : int res1 = 0 ;
14316 : int argvi = 0;
14317 : int result;
14318 0 : dXSARGS;
14319 :
14320 0 : if ((items < 1) || (items > 1)) {
14321 0 : SWIG_croak("Usage: labelObj_priority_get(self);");
14322 : }
14323 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14324 0 : if (!SWIG_IsOK(res1)) {
14325 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_priority_get" "', argument " "1"" of type '" "struct labelObj *""'");
14326 : }
14327 0 : arg1 = (struct labelObj *)(argp1);
14328 0 : result = (int) ((arg1)->priority);
14329 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14330 :
14331 0 : XSRETURN(argvi);
14332 : fail:
14333 :
14334 0 : SWIG_croak_null();
14335 : }
14336 : }
14337 :
14338 :
14339 0 : XS(_wrap_labelObj_numstyles_set) {
14340 : {
14341 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14342 : int arg2 ;
14343 0 : void *argp1 = 0 ;
14344 : int res1 = 0 ;
14345 : int val2 ;
14346 : int ecode2 = 0 ;
14347 : int argvi = 0;
14348 0 : dXSARGS;
14349 :
14350 0 : if ((items < 2) || (items > 2)) {
14351 0 : SWIG_croak("Usage: labelObj_numstyles_set(self,numstyles);");
14352 : }
14353 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14354 0 : if (!SWIG_IsOK(res1)) {
14355 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_numstyles_set" "', argument " "1"" of type '" "struct labelObj *""'");
14356 : }
14357 0 : arg1 = (struct labelObj *)(argp1);
14358 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14359 0 : if (!SWIG_IsOK(ecode2)) {
14360 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_numstyles_set" "', argument " "2"" of type '" "int""'");
14361 : }
14362 0 : arg2 = (int)(val2);
14363 0 : if (arg1) (arg1)->numstyles = arg2;
14364 0 : ST(argvi) = sv_newmortal();
14365 :
14366 :
14367 0 : XSRETURN(argvi);
14368 : fail:
14369 :
14370 :
14371 0 : SWIG_croak_null();
14372 : }
14373 : }
14374 :
14375 :
14376 0 : XS(_wrap_labelObj_numstyles_get) {
14377 : {
14378 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14379 0 : void *argp1 = 0 ;
14380 : int res1 = 0 ;
14381 : int argvi = 0;
14382 : int result;
14383 0 : dXSARGS;
14384 :
14385 0 : if ((items < 1) || (items > 1)) {
14386 0 : SWIG_croak("Usage: labelObj_numstyles_get(self);");
14387 : }
14388 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14389 0 : if (!SWIG_IsOK(res1)) {
14390 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_numstyles_get" "', argument " "1"" of type '" "struct labelObj *""'");
14391 : }
14392 0 : arg1 = (struct labelObj *)(argp1);
14393 0 : result = (int) ((arg1)->numstyles);
14394 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14395 :
14396 0 : XSRETURN(argvi);
14397 : fail:
14398 :
14399 0 : SWIG_croak_null();
14400 : }
14401 : }
14402 :
14403 :
14404 0 : XS(_wrap_labelObj_leader_set) {
14405 : {
14406 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14407 : labelLeaderObj *arg2 = (labelLeaderObj *) 0 ;
14408 0 : void *argp1 = 0 ;
14409 : int res1 = 0 ;
14410 0 : void *argp2 = 0 ;
14411 : int res2 = 0 ;
14412 : int argvi = 0;
14413 0 : dXSARGS;
14414 :
14415 0 : if ((items < 2) || (items > 2)) {
14416 0 : SWIG_croak("Usage: labelObj_leader_set(self,leader);");
14417 : }
14418 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14419 0 : if (!SWIG_IsOK(res1)) {
14420 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_leader_set" "', argument " "1"" of type '" "struct labelObj *""'");
14421 : }
14422 0 : arg1 = (struct labelObj *)(argp1);
14423 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_labelLeaderObj, SWIG_POINTER_DISOWN | 0 );
14424 0 : if (!SWIG_IsOK(res2)) {
14425 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_leader_set" "', argument " "2"" of type '" "labelLeaderObj *""'");
14426 : }
14427 0 : arg2 = (labelLeaderObj *)(argp2);
14428 0 : if (arg1) (arg1)->leader = arg2;
14429 0 : ST(argvi) = sv_newmortal();
14430 :
14431 :
14432 0 : XSRETURN(argvi);
14433 : fail:
14434 :
14435 :
14436 0 : SWIG_croak_null();
14437 : }
14438 : }
14439 :
14440 :
14441 0 : XS(_wrap_labelObj_leader_get) {
14442 : {
14443 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14444 0 : void *argp1 = 0 ;
14445 : int res1 = 0 ;
14446 : int argvi = 0;
14447 : labelLeaderObj *result = 0 ;
14448 0 : dXSARGS;
14449 :
14450 0 : if ((items < 1) || (items > 1)) {
14451 0 : SWIG_croak("Usage: labelObj_leader_get(self);");
14452 : }
14453 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14454 0 : if (!SWIG_IsOK(res1)) {
14455 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_leader_get" "', argument " "1"" of type '" "struct labelObj *""'");
14456 : }
14457 0 : arg1 = (struct labelObj *)(argp1);
14458 0 : result = (labelLeaderObj *) ((arg1)->leader);
14459 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelLeaderObj, 0 | SWIG_SHADOW); argvi++ ;
14460 :
14461 0 : XSRETURN(argvi);
14462 : fail:
14463 :
14464 0 : SWIG_croak_null();
14465 : }
14466 : }
14467 :
14468 :
14469 0 : XS(_wrap_new_labelObj) {
14470 : {
14471 : int argvi = 0;
14472 : struct labelObj *result = 0 ;
14473 0 : dXSARGS;
14474 :
14475 0 : if ((items < 0) || (items > 0)) {
14476 0 : SWIG_croak("Usage: new_labelObj();");
14477 : }
14478 0 : result = (struct labelObj *)new_labelObj();
14479 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
14480 0 : XSRETURN(argvi);
14481 : fail:
14482 0 : SWIG_croak_null();
14483 : }
14484 : }
14485 :
14486 :
14487 0 : XS(_wrap_delete_labelObj) {
14488 : {
14489 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14490 0 : void *argp1 = 0 ;
14491 : int res1 = 0 ;
14492 : int argvi = 0;
14493 0 : dXSARGS;
14494 :
14495 0 : if ((items < 1) || (items > 1)) {
14496 0 : SWIG_croak("Usage: delete_labelObj(self);");
14497 : }
14498 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, SWIG_POINTER_DISOWN | 0 );
14499 0 : if (!SWIG_IsOK(res1)) {
14500 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelObj" "', argument " "1"" of type '" "struct labelObj *""'");
14501 : }
14502 0 : arg1 = (struct labelObj *)(argp1);
14503 : delete_labelObj(arg1);
14504 0 : ST(argvi) = sv_newmortal();
14505 :
14506 0 : XSRETURN(argvi);
14507 : fail:
14508 :
14509 0 : SWIG_croak_null();
14510 : }
14511 : }
14512 :
14513 :
14514 0 : XS(_wrap_labelObj_updateFromString) {
14515 : {
14516 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14517 : char *arg2 = (char *) 0 ;
14518 0 : void *argp1 = 0 ;
14519 : int res1 = 0 ;
14520 : int res2 ;
14521 0 : char *buf2 = 0 ;
14522 0 : int alloc2 = 0 ;
14523 : int argvi = 0;
14524 : int result;
14525 0 : dXSARGS;
14526 :
14527 0 : if ((items < 2) || (items > 2)) {
14528 0 : SWIG_croak("Usage: labelObj_updateFromString(self,snippet);");
14529 : }
14530 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14531 0 : if (!SWIG_IsOK(res1)) {
14532 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_updateFromString" "', argument " "1"" of type '" "struct labelObj *""'");
14533 : }
14534 0 : arg1 = (struct labelObj *)(argp1);
14535 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
14536 0 : if (!SWIG_IsOK(res2)) {
14537 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_updateFromString" "', argument " "2"" of type '" "char *""'");
14538 : }
14539 0 : arg2 = (char *)(buf2);
14540 : result = (int)labelObj_updateFromString(arg1,arg2);
14541 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14542 :
14543 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14544 0 : XSRETURN(argvi);
14545 : fail:
14546 :
14547 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14548 0 : SWIG_croak_null();
14549 : }
14550 : }
14551 :
14552 :
14553 0 : XS(_wrap_labelObj_convertToString) {
14554 : {
14555 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14556 0 : void *argp1 = 0 ;
14557 : int res1 = 0 ;
14558 : int argvi = 0;
14559 : char *result = 0 ;
14560 0 : dXSARGS;
14561 :
14562 0 : if ((items < 1) || (items > 1)) {
14563 0 : SWIG_croak("Usage: labelObj_convertToString(self);");
14564 : }
14565 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14566 0 : if (!SWIG_IsOK(res1)) {
14567 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_convertToString" "', argument " "1"" of type '" "struct labelObj *""'");
14568 : }
14569 0 : arg1 = (struct labelObj *)(argp1);
14570 : result = (char *)labelObj_convertToString(arg1);
14571 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
14572 :
14573 0 : free((char*)result);
14574 0 : XSRETURN(argvi);
14575 : fail:
14576 :
14577 0 : SWIG_croak_null();
14578 : }
14579 : }
14580 :
14581 :
14582 0 : XS(_wrap_labelObj_removeBinding) {
14583 : {
14584 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14585 : int arg2 ;
14586 0 : void *argp1 = 0 ;
14587 : int res1 = 0 ;
14588 : int val2 ;
14589 : int ecode2 = 0 ;
14590 : int argvi = 0;
14591 : int result;
14592 0 : dXSARGS;
14593 :
14594 0 : if ((items < 2) || (items > 2)) {
14595 0 : SWIG_croak("Usage: labelObj_removeBinding(self,binding);");
14596 : }
14597 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14598 0 : if (!SWIG_IsOK(res1)) {
14599 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_removeBinding" "', argument " "1"" of type '" "struct labelObj *""'");
14600 : }
14601 0 : arg1 = (struct labelObj *)(argp1);
14602 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14603 0 : if (!SWIG_IsOK(ecode2)) {
14604 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_removeBinding" "', argument " "2"" of type '" "int""'");
14605 : }
14606 0 : arg2 = (int)(val2);
14607 0 : result = (int)labelObj_removeBinding(arg1,arg2);
14608 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14609 :
14610 :
14611 0 : XSRETURN(argvi);
14612 : fail:
14613 :
14614 :
14615 0 : SWIG_croak_null();
14616 : }
14617 : }
14618 :
14619 :
14620 0 : XS(_wrap_labelObj_getBinding) {
14621 : {
14622 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14623 : int arg2 ;
14624 0 : void *argp1 = 0 ;
14625 : int res1 = 0 ;
14626 : int val2 ;
14627 : int ecode2 = 0 ;
14628 : int argvi = 0;
14629 : char *result = 0 ;
14630 0 : dXSARGS;
14631 :
14632 0 : if ((items < 2) || (items > 2)) {
14633 0 : SWIG_croak("Usage: labelObj_getBinding(self,binding);");
14634 : }
14635 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14636 0 : if (!SWIG_IsOK(res1)) {
14637 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getBinding" "', argument " "1"" of type '" "struct labelObj *""'");
14638 : }
14639 0 : arg1 = (struct labelObj *)(argp1);
14640 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14641 0 : if (!SWIG_IsOK(ecode2)) {
14642 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_getBinding" "', argument " "2"" of type '" "int""'");
14643 : }
14644 0 : arg2 = (int)(val2);
14645 : result = (char *)labelObj_getBinding(arg1,arg2);
14646 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
14647 :
14648 :
14649 0 : XSRETURN(argvi);
14650 : fail:
14651 :
14652 :
14653 0 : SWIG_croak_null();
14654 : }
14655 : }
14656 :
14657 :
14658 0 : XS(_wrap_labelObj_setBinding) {
14659 : {
14660 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14661 : int arg2 ;
14662 : char *arg3 = (char *) 0 ;
14663 0 : void *argp1 = 0 ;
14664 : int res1 = 0 ;
14665 : int val2 ;
14666 : int ecode2 = 0 ;
14667 : int res3 ;
14668 0 : char *buf3 = 0 ;
14669 0 : int alloc3 = 0 ;
14670 : int argvi = 0;
14671 : int result;
14672 0 : dXSARGS;
14673 :
14674 0 : if ((items < 3) || (items > 3)) {
14675 0 : SWIG_croak("Usage: labelObj_setBinding(self,binding,item);");
14676 : }
14677 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14678 0 : if (!SWIG_IsOK(res1)) {
14679 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_setBinding" "', argument " "1"" of type '" "struct labelObj *""'");
14680 : }
14681 0 : arg1 = (struct labelObj *)(argp1);
14682 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14683 0 : if (!SWIG_IsOK(ecode2)) {
14684 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_setBinding" "', argument " "2"" of type '" "int""'");
14685 : }
14686 0 : arg2 = (int)(val2);
14687 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
14688 0 : if (!SWIG_IsOK(res3)) {
14689 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "labelObj_setBinding" "', argument " "3"" of type '" "char *""'");
14690 : }
14691 0 : arg3 = (char *)(buf3);
14692 0 : result = (int)labelObj_setBinding(arg1,arg2,arg3);
14693 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14694 :
14695 :
14696 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14697 0 : XSRETURN(argvi);
14698 : fail:
14699 :
14700 :
14701 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
14702 0 : SWIG_croak_null();
14703 : }
14704 : }
14705 :
14706 :
14707 0 : XS(_wrap_labelObj_setExpression) {
14708 : {
14709 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14710 : char *arg2 = (char *) 0 ;
14711 0 : void *argp1 = 0 ;
14712 : int res1 = 0 ;
14713 : int res2 ;
14714 0 : char *buf2 = 0 ;
14715 0 : int alloc2 = 0 ;
14716 : int argvi = 0;
14717 : int result;
14718 0 : dXSARGS;
14719 :
14720 0 : if ((items < 2) || (items > 2)) {
14721 0 : SWIG_croak("Usage: labelObj_setExpression(self,expression);");
14722 : }
14723 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14724 0 : if (!SWIG_IsOK(res1)) {
14725 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_setExpression" "', argument " "1"" of type '" "struct labelObj *""'");
14726 : }
14727 0 : arg1 = (struct labelObj *)(argp1);
14728 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
14729 0 : if (!SWIG_IsOK(res2)) {
14730 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_setExpression" "', argument " "2"" of type '" "char *""'");
14731 : }
14732 0 : arg2 = (char *)(buf2);
14733 0 : result = (int)labelObj_setExpression(arg1,arg2);
14734 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14735 :
14736 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14737 0 : XSRETURN(argvi);
14738 : fail:
14739 :
14740 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14741 0 : SWIG_croak_null();
14742 : }
14743 : }
14744 :
14745 :
14746 0 : XS(_wrap_labelObj_getExpressionString) {
14747 : {
14748 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14749 0 : void *argp1 = 0 ;
14750 : int res1 = 0 ;
14751 : int argvi = 0;
14752 : char *result = 0 ;
14753 0 : dXSARGS;
14754 :
14755 0 : if ((items < 1) || (items > 1)) {
14756 0 : SWIG_croak("Usage: labelObj_getExpressionString(self);");
14757 : }
14758 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14759 0 : if (!SWIG_IsOK(res1)) {
14760 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getExpressionString" "', argument " "1"" of type '" "struct labelObj *""'");
14761 : }
14762 0 : arg1 = (struct labelObj *)(argp1);
14763 : result = (char *)labelObj_getExpressionString(arg1);
14764 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
14765 :
14766 0 : free((char*)result);
14767 0 : XSRETURN(argvi);
14768 : fail:
14769 :
14770 0 : SWIG_croak_null();
14771 : }
14772 : }
14773 :
14774 :
14775 0 : XS(_wrap_labelObj_setText) {
14776 : {
14777 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14778 : char *arg2 = (char *) 0 ;
14779 0 : void *argp1 = 0 ;
14780 : int res1 = 0 ;
14781 : int res2 ;
14782 0 : char *buf2 = 0 ;
14783 0 : int alloc2 = 0 ;
14784 : int argvi = 0;
14785 : int result;
14786 0 : dXSARGS;
14787 :
14788 0 : if ((items < 2) || (items > 2)) {
14789 0 : SWIG_croak("Usage: labelObj_setText(self,text);");
14790 : }
14791 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14792 0 : if (!SWIG_IsOK(res1)) {
14793 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_setText" "', argument " "1"" of type '" "struct labelObj *""'");
14794 : }
14795 0 : arg1 = (struct labelObj *)(argp1);
14796 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
14797 0 : if (!SWIG_IsOK(res2)) {
14798 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_setText" "', argument " "2"" of type '" "char *""'");
14799 : }
14800 0 : arg2 = (char *)(buf2);
14801 0 : result = (int)labelObj_setText(arg1,arg2);
14802 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14803 :
14804 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14805 0 : XSRETURN(argvi);
14806 : fail:
14807 :
14808 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
14809 0 : SWIG_croak_null();
14810 : }
14811 : }
14812 :
14813 :
14814 0 : XS(_wrap_labelObj_getTextString) {
14815 : {
14816 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14817 0 : void *argp1 = 0 ;
14818 : int res1 = 0 ;
14819 : int argvi = 0;
14820 : char *result = 0 ;
14821 0 : dXSARGS;
14822 :
14823 0 : if ((items < 1) || (items > 1)) {
14824 0 : SWIG_croak("Usage: labelObj_getTextString(self);");
14825 : }
14826 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14827 0 : if (!SWIG_IsOK(res1)) {
14828 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getTextString" "', argument " "1"" of type '" "struct labelObj *""'");
14829 : }
14830 0 : arg1 = (struct labelObj *)(argp1);
14831 : result = (char *)labelObj_getTextString(arg1);
14832 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
14833 :
14834 0 : free((char*)result);
14835 0 : XSRETURN(argvi);
14836 : fail:
14837 :
14838 0 : SWIG_croak_null();
14839 : }
14840 : }
14841 :
14842 :
14843 0 : XS(_wrap_labelObj_getStyle) {
14844 : {
14845 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14846 : int arg2 ;
14847 0 : void *argp1 = 0 ;
14848 : int res1 = 0 ;
14849 : int val2 ;
14850 : int ecode2 = 0 ;
14851 : int argvi = 0;
14852 : styleObj *result = 0 ;
14853 0 : dXSARGS;
14854 :
14855 0 : if ((items < 2) || (items > 2)) {
14856 0 : SWIG_croak("Usage: labelObj_getStyle(self,i);");
14857 : }
14858 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14859 0 : if (!SWIG_IsOK(res1)) {
14860 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getStyle" "', argument " "1"" of type '" "struct labelObj *""'");
14861 : }
14862 0 : arg1 = (struct labelObj *)(argp1);
14863 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14864 0 : if (!SWIG_IsOK(ecode2)) {
14865 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_getStyle" "', argument " "2"" of type '" "int""'");
14866 : }
14867 0 : arg2 = (int)(val2);
14868 0 : result = (styleObj *)labelObj_getStyle(arg1,arg2);
14869 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
14870 :
14871 :
14872 0 : XSRETURN(argvi);
14873 : fail:
14874 :
14875 :
14876 0 : SWIG_croak_null();
14877 : }
14878 : }
14879 :
14880 :
14881 0 : XS(_wrap_labelObj_insertStyle) {
14882 : {
14883 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14884 : styleObj *arg2 = (styleObj *) 0 ;
14885 : int arg3 = (int) -1 ;
14886 0 : void *argp1 = 0 ;
14887 : int res1 = 0 ;
14888 0 : void *argp2 = 0 ;
14889 : int res2 = 0 ;
14890 : int val3 ;
14891 : int ecode3 = 0 ;
14892 : int argvi = 0;
14893 : int result;
14894 0 : dXSARGS;
14895 :
14896 0 : if ((items < 2) || (items > 3)) {
14897 0 : SWIG_croak("Usage: labelObj_insertStyle(self,style,index);");
14898 : }
14899 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14900 0 : if (!SWIG_IsOK(res1)) {
14901 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_insertStyle" "', argument " "1"" of type '" "struct labelObj *""'");
14902 : }
14903 0 : arg1 = (struct labelObj *)(argp1);
14904 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_styleObj, 0 | 0 );
14905 0 : if (!SWIG_IsOK(res2)) {
14906 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_insertStyle" "', argument " "2"" of type '" "styleObj *""'");
14907 : }
14908 0 : arg2 = (styleObj *)(argp2);
14909 0 : if (items > 2) {
14910 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
14911 0 : if (!SWIG_IsOK(ecode3)) {
14912 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "labelObj_insertStyle" "', argument " "3"" of type '" "int""'");
14913 : }
14914 0 : arg3 = (int)(val3);
14915 : }
14916 : result = (int)labelObj_insertStyle(arg1,arg2,arg3);
14917 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14918 :
14919 :
14920 :
14921 0 : XSRETURN(argvi);
14922 : fail:
14923 :
14924 :
14925 :
14926 0 : SWIG_croak_null();
14927 : }
14928 : }
14929 :
14930 :
14931 0 : XS(_wrap_labelObj_removeStyle) {
14932 : {
14933 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14934 : int arg2 ;
14935 0 : void *argp1 = 0 ;
14936 : int res1 = 0 ;
14937 : int val2 ;
14938 : int ecode2 = 0 ;
14939 : int argvi = 0;
14940 : styleObj *result = 0 ;
14941 0 : dXSARGS;
14942 :
14943 0 : if ((items < 2) || (items > 2)) {
14944 0 : SWIG_croak("Usage: labelObj_removeStyle(self,index);");
14945 : }
14946 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14947 0 : if (!SWIG_IsOK(res1)) {
14948 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_removeStyle" "', argument " "1"" of type '" "struct labelObj *""'");
14949 : }
14950 0 : arg1 = (struct labelObj *)(argp1);
14951 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14952 0 : if (!SWIG_IsOK(ecode2)) {
14953 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_removeStyle" "', argument " "2"" of type '" "int""'");
14954 : }
14955 0 : arg2 = (int)(val2);
14956 0 : result = (styleObj *)labelObj_removeStyle(arg1,arg2);
14957 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
14958 :
14959 :
14960 0 : XSRETURN(argvi);
14961 : fail:
14962 :
14963 :
14964 0 : SWIG_croak_null();
14965 : }
14966 : }
14967 :
14968 :
14969 0 : XS(_wrap_labelObj_moveStyleUp) {
14970 : {
14971 : struct labelObj *arg1 = (struct labelObj *) 0 ;
14972 : int arg2 ;
14973 0 : void *argp1 = 0 ;
14974 : int res1 = 0 ;
14975 : int val2 ;
14976 : int ecode2 = 0 ;
14977 : int argvi = 0;
14978 : int result;
14979 0 : dXSARGS;
14980 :
14981 0 : if ((items < 2) || (items > 2)) {
14982 0 : SWIG_croak("Usage: labelObj_moveStyleUp(self,index);");
14983 : }
14984 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
14985 0 : if (!SWIG_IsOK(res1)) {
14986 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_moveStyleUp" "', argument " "1"" of type '" "struct labelObj *""'");
14987 : }
14988 0 : arg1 = (struct labelObj *)(argp1);
14989 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
14990 0 : if (!SWIG_IsOK(ecode2)) {
14991 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_moveStyleUp" "', argument " "2"" of type '" "int""'");
14992 : }
14993 0 : arg2 = (int)(val2);
14994 : result = (int)labelObj_moveStyleUp(arg1,arg2);
14995 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
14996 :
14997 :
14998 0 : XSRETURN(argvi);
14999 : fail:
15000 :
15001 :
15002 0 : SWIG_croak_null();
15003 : }
15004 : }
15005 :
15006 :
15007 0 : XS(_wrap_labelObj_moveStyleDown) {
15008 : {
15009 : struct labelObj *arg1 = (struct labelObj *) 0 ;
15010 : int arg2 ;
15011 0 : void *argp1 = 0 ;
15012 : int res1 = 0 ;
15013 : int val2 ;
15014 : int ecode2 = 0 ;
15015 : int argvi = 0;
15016 : int result;
15017 0 : dXSARGS;
15018 :
15019 0 : if ((items < 2) || (items > 2)) {
15020 0 : SWIG_croak("Usage: labelObj_moveStyleDown(self,index);");
15021 : }
15022 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 | 0 );
15023 0 : if (!SWIG_IsOK(res1)) {
15024 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_moveStyleDown" "', argument " "1"" of type '" "struct labelObj *""'");
15025 : }
15026 0 : arg1 = (struct labelObj *)(argp1);
15027 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15028 0 : if (!SWIG_IsOK(ecode2)) {
15029 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_moveStyleDown" "', argument " "2"" of type '" "int""'");
15030 : }
15031 0 : arg2 = (int)(val2);
15032 : result = (int)labelObj_moveStyleDown(arg1,arg2);
15033 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15034 :
15035 :
15036 0 : XSRETURN(argvi);
15037 : fail:
15038 :
15039 :
15040 0 : SWIG_croak_null();
15041 : }
15042 : }
15043 :
15044 :
15045 0 : XS(_wrap_classObj_status_set) {
15046 : {
15047 : struct classObj *arg1 = (struct classObj *) 0 ;
15048 : int arg2 ;
15049 0 : void *argp1 = 0 ;
15050 : int res1 = 0 ;
15051 : int val2 ;
15052 : int ecode2 = 0 ;
15053 : int argvi = 0;
15054 0 : dXSARGS;
15055 :
15056 0 : if ((items < 2) || (items > 2)) {
15057 0 : SWIG_croak("Usage: classObj_status_set(self,status);");
15058 : }
15059 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15060 0 : if (!SWIG_IsOK(res1)) {
15061 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_status_set" "', argument " "1"" of type '" "struct classObj *""'");
15062 : }
15063 0 : arg1 = (struct classObj *)(argp1);
15064 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15065 0 : if (!SWIG_IsOK(ecode2)) {
15066 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_status_set" "', argument " "2"" of type '" "int""'");
15067 : }
15068 0 : arg2 = (int)(val2);
15069 0 : if (arg1) (arg1)->status = arg2;
15070 0 : ST(argvi) = sv_newmortal();
15071 :
15072 :
15073 0 : XSRETURN(argvi);
15074 : fail:
15075 :
15076 :
15077 0 : SWIG_croak_null();
15078 : }
15079 : }
15080 :
15081 :
15082 0 : XS(_wrap_classObj_status_get) {
15083 : {
15084 : struct classObj *arg1 = (struct classObj *) 0 ;
15085 0 : void *argp1 = 0 ;
15086 : int res1 = 0 ;
15087 : int argvi = 0;
15088 : int result;
15089 0 : dXSARGS;
15090 :
15091 0 : if ((items < 1) || (items > 1)) {
15092 0 : SWIG_croak("Usage: classObj_status_get(self);");
15093 : }
15094 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15095 0 : if (!SWIG_IsOK(res1)) {
15096 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_status_get" "', argument " "1"" of type '" "struct classObj *""'");
15097 : }
15098 0 : arg1 = (struct classObj *)(argp1);
15099 0 : result = (int) ((arg1)->status);
15100 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15101 :
15102 0 : XSRETURN(argvi);
15103 : fail:
15104 :
15105 0 : SWIG_croak_null();
15106 : }
15107 : }
15108 :
15109 :
15110 0 : XS(_wrap_classObj_numstyles_get) {
15111 : {
15112 : struct classObj *arg1 = (struct classObj *) 0 ;
15113 0 : void *argp1 = 0 ;
15114 : int res1 = 0 ;
15115 : int argvi = 0;
15116 : int result;
15117 0 : dXSARGS;
15118 :
15119 0 : if ((items < 1) || (items > 1)) {
15120 0 : SWIG_croak("Usage: classObj_numstyles_get(self);");
15121 : }
15122 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15123 0 : if (!SWIG_IsOK(res1)) {
15124 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_numstyles_get" "', argument " "1"" of type '" "struct classObj *""'");
15125 : }
15126 0 : arg1 = (struct classObj *)(argp1);
15127 0 : result = (int) ((arg1)->numstyles);
15128 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15129 :
15130 0 : XSRETURN(argvi);
15131 : fail:
15132 :
15133 0 : SWIG_croak_null();
15134 : }
15135 : }
15136 :
15137 :
15138 0 : XS(_wrap_classObj_numlabels_set) {
15139 : {
15140 : struct classObj *arg1 = (struct classObj *) 0 ;
15141 : int arg2 ;
15142 0 : void *argp1 = 0 ;
15143 : int res1 = 0 ;
15144 : int val2 ;
15145 : int ecode2 = 0 ;
15146 : int argvi = 0;
15147 0 : dXSARGS;
15148 :
15149 0 : if ((items < 2) || (items > 2)) {
15150 0 : SWIG_croak("Usage: classObj_numlabels_set(self,numlabels);");
15151 : }
15152 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15153 0 : if (!SWIG_IsOK(res1)) {
15154 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_numlabels_set" "', argument " "1"" of type '" "struct classObj *""'");
15155 : }
15156 0 : arg1 = (struct classObj *)(argp1);
15157 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15158 0 : if (!SWIG_IsOK(ecode2)) {
15159 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_numlabels_set" "', argument " "2"" of type '" "int""'");
15160 : }
15161 0 : arg2 = (int)(val2);
15162 0 : if (arg1) (arg1)->numlabels = arg2;
15163 0 : ST(argvi) = sv_newmortal();
15164 :
15165 :
15166 0 : XSRETURN(argvi);
15167 : fail:
15168 :
15169 :
15170 0 : SWIG_croak_null();
15171 : }
15172 : }
15173 :
15174 :
15175 0 : XS(_wrap_classObj_numlabels_get) {
15176 : {
15177 : struct classObj *arg1 = (struct classObj *) 0 ;
15178 0 : void *argp1 = 0 ;
15179 : int res1 = 0 ;
15180 : int argvi = 0;
15181 : int result;
15182 0 : dXSARGS;
15183 :
15184 0 : if ((items < 1) || (items > 1)) {
15185 0 : SWIG_croak("Usage: classObj_numlabels_get(self);");
15186 : }
15187 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15188 0 : if (!SWIG_IsOK(res1)) {
15189 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_numlabels_get" "', argument " "1"" of type '" "struct classObj *""'");
15190 : }
15191 0 : arg1 = (struct classObj *)(argp1);
15192 0 : result = (int) ((arg1)->numlabels);
15193 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15194 :
15195 0 : XSRETURN(argvi);
15196 : fail:
15197 :
15198 0 : SWIG_croak_null();
15199 : }
15200 : }
15201 :
15202 :
15203 0 : XS(_wrap_classObj_name_set) {
15204 : {
15205 : struct classObj *arg1 = (struct classObj *) 0 ;
15206 : char *arg2 = (char *) 0 ;
15207 0 : void *argp1 = 0 ;
15208 : int res1 = 0 ;
15209 : int res2 ;
15210 0 : char *buf2 = 0 ;
15211 0 : int alloc2 = 0 ;
15212 : int argvi = 0;
15213 0 : dXSARGS;
15214 :
15215 0 : if ((items < 2) || (items > 2)) {
15216 0 : SWIG_croak("Usage: classObj_name_set(self,name);");
15217 : }
15218 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15219 0 : if (!SWIG_IsOK(res1)) {
15220 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_name_set" "', argument " "1"" of type '" "struct classObj *""'");
15221 : }
15222 0 : arg1 = (struct classObj *)(argp1);
15223 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
15224 0 : if (!SWIG_IsOK(res2)) {
15225 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_name_set" "', argument " "2"" of type '" "char *""'");
15226 : }
15227 0 : arg2 = (char *)(buf2);
15228 : {
15229 0 : if (arg1->name) free((char*)arg1->name);
15230 0 : if (arg2) {
15231 0 : arg1->name = (char *) malloc(strlen(arg2)+1);
15232 : strcpy((char*)arg1->name,arg2);
15233 : } else {
15234 0 : arg1->name = 0;
15235 : }
15236 : }
15237 0 : ST(argvi) = sv_newmortal();
15238 :
15239 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15240 0 : XSRETURN(argvi);
15241 : fail:
15242 :
15243 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15244 0 : SWIG_croak_null();
15245 : }
15246 : }
15247 :
15248 :
15249 0 : XS(_wrap_classObj_name_get) {
15250 : {
15251 : struct classObj *arg1 = (struct classObj *) 0 ;
15252 0 : void *argp1 = 0 ;
15253 : int res1 = 0 ;
15254 : int argvi = 0;
15255 : char *result = 0 ;
15256 0 : dXSARGS;
15257 :
15258 0 : if ((items < 1) || (items > 1)) {
15259 0 : SWIG_croak("Usage: classObj_name_get(self);");
15260 : }
15261 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15262 0 : if (!SWIG_IsOK(res1)) {
15263 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_name_get" "', argument " "1"" of type '" "struct classObj *""'");
15264 : }
15265 0 : arg1 = (struct classObj *)(argp1);
15266 0 : result = (char *) ((arg1)->name);
15267 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
15268 :
15269 0 : XSRETURN(argvi);
15270 : fail:
15271 :
15272 0 : SWIG_croak_null();
15273 : }
15274 : }
15275 :
15276 :
15277 0 : XS(_wrap_classObj_title_set) {
15278 : {
15279 : struct classObj *arg1 = (struct classObj *) 0 ;
15280 : char *arg2 = (char *) 0 ;
15281 0 : void *argp1 = 0 ;
15282 : int res1 = 0 ;
15283 : int res2 ;
15284 0 : char *buf2 = 0 ;
15285 0 : int alloc2 = 0 ;
15286 : int argvi = 0;
15287 0 : dXSARGS;
15288 :
15289 0 : if ((items < 2) || (items > 2)) {
15290 0 : SWIG_croak("Usage: classObj_title_set(self,title);");
15291 : }
15292 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15293 0 : if (!SWIG_IsOK(res1)) {
15294 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_title_set" "', argument " "1"" of type '" "struct classObj *""'");
15295 : }
15296 0 : arg1 = (struct classObj *)(argp1);
15297 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
15298 0 : if (!SWIG_IsOK(res2)) {
15299 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_title_set" "', argument " "2"" of type '" "char *""'");
15300 : }
15301 0 : arg2 = (char *)(buf2);
15302 : {
15303 0 : if (arg1->title) free((char*)arg1->title);
15304 0 : if (arg2) {
15305 0 : arg1->title = (char *) malloc(strlen(arg2)+1);
15306 : strcpy((char*)arg1->title,arg2);
15307 : } else {
15308 0 : arg1->title = 0;
15309 : }
15310 : }
15311 0 : ST(argvi) = sv_newmortal();
15312 :
15313 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15314 0 : XSRETURN(argvi);
15315 : fail:
15316 :
15317 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15318 0 : SWIG_croak_null();
15319 : }
15320 : }
15321 :
15322 :
15323 0 : XS(_wrap_classObj_title_get) {
15324 : {
15325 : struct classObj *arg1 = (struct classObj *) 0 ;
15326 0 : void *argp1 = 0 ;
15327 : int res1 = 0 ;
15328 : int argvi = 0;
15329 : char *result = 0 ;
15330 0 : dXSARGS;
15331 :
15332 0 : if ((items < 1) || (items > 1)) {
15333 0 : SWIG_croak("Usage: classObj_title_get(self);");
15334 : }
15335 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15336 0 : if (!SWIG_IsOK(res1)) {
15337 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_title_get" "', argument " "1"" of type '" "struct classObj *""'");
15338 : }
15339 0 : arg1 = (struct classObj *)(argp1);
15340 0 : result = (char *) ((arg1)->title);
15341 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
15342 :
15343 0 : XSRETURN(argvi);
15344 : fail:
15345 :
15346 0 : SWIG_croak_null();
15347 : }
15348 : }
15349 :
15350 :
15351 0 : XS(_wrap_classObj_template_set) {
15352 : {
15353 : struct classObj *arg1 = (struct classObj *) 0 ;
15354 : char *arg2 = (char *) 0 ;
15355 0 : void *argp1 = 0 ;
15356 : int res1 = 0 ;
15357 : int res2 ;
15358 0 : char *buf2 = 0 ;
15359 0 : int alloc2 = 0 ;
15360 : int argvi = 0;
15361 0 : dXSARGS;
15362 :
15363 0 : if ((items < 2) || (items > 2)) {
15364 0 : SWIG_croak("Usage: classObj_template_set(self,template);");
15365 : }
15366 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15367 0 : if (!SWIG_IsOK(res1)) {
15368 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_template_set" "', argument " "1"" of type '" "struct classObj *""'");
15369 : }
15370 0 : arg1 = (struct classObj *)(argp1);
15371 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
15372 0 : if (!SWIG_IsOK(res2)) {
15373 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_template_set" "', argument " "2"" of type '" "char *""'");
15374 : }
15375 0 : arg2 = (char *)(buf2);
15376 : {
15377 0 : if (arg1->template) free((char*)arg1->template);
15378 0 : if (arg2) {
15379 0 : arg1->template = (char *) malloc(strlen(arg2)+1);
15380 : strcpy((char*)arg1->template,arg2);
15381 : } else {
15382 0 : arg1->template = 0;
15383 : }
15384 : }
15385 0 : ST(argvi) = sv_newmortal();
15386 :
15387 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15388 0 : XSRETURN(argvi);
15389 : fail:
15390 :
15391 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15392 0 : SWIG_croak_null();
15393 : }
15394 : }
15395 :
15396 :
15397 0 : XS(_wrap_classObj_template_get) {
15398 : {
15399 : struct classObj *arg1 = (struct classObj *) 0 ;
15400 0 : void *argp1 = 0 ;
15401 : int res1 = 0 ;
15402 : int argvi = 0;
15403 : char *result = 0 ;
15404 0 : dXSARGS;
15405 :
15406 0 : if ((items < 1) || (items > 1)) {
15407 0 : SWIG_croak("Usage: classObj_template_get(self);");
15408 : }
15409 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15410 0 : if (!SWIG_IsOK(res1)) {
15411 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_template_get" "', argument " "1"" of type '" "struct classObj *""'");
15412 : }
15413 0 : arg1 = (struct classObj *)(argp1);
15414 0 : result = (char *) ((arg1)->template);
15415 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
15416 :
15417 0 : XSRETURN(argvi);
15418 : fail:
15419 :
15420 0 : SWIG_croak_null();
15421 : }
15422 : }
15423 :
15424 :
15425 0 : XS(_wrap_classObj_metadata_get) {
15426 : {
15427 : struct classObj *arg1 = (struct classObj *) 0 ;
15428 0 : void *argp1 = 0 ;
15429 : int res1 = 0 ;
15430 : int argvi = 0;
15431 : hashTableObj *result = 0 ;
15432 0 : dXSARGS;
15433 :
15434 0 : if ((items < 1) || (items > 1)) {
15435 0 : SWIG_croak("Usage: classObj_metadata_get(self);");
15436 : }
15437 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15438 0 : if (!SWIG_IsOK(res1)) {
15439 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_metadata_get" "', argument " "1"" of type '" "struct classObj *""'");
15440 : }
15441 0 : arg1 = (struct classObj *)(argp1);
15442 0 : result = (hashTableObj *)& ((arg1)->metadata);
15443 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
15444 :
15445 0 : XSRETURN(argvi);
15446 : fail:
15447 :
15448 0 : SWIG_croak_null();
15449 : }
15450 : }
15451 :
15452 :
15453 0 : XS(_wrap_classObj_validation_get) {
15454 : {
15455 : struct classObj *arg1 = (struct classObj *) 0 ;
15456 0 : void *argp1 = 0 ;
15457 : int res1 = 0 ;
15458 : int argvi = 0;
15459 : hashTableObj *result = 0 ;
15460 0 : dXSARGS;
15461 :
15462 0 : if ((items < 1) || (items > 1)) {
15463 0 : SWIG_croak("Usage: classObj_validation_get(self);");
15464 : }
15465 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15466 0 : if (!SWIG_IsOK(res1)) {
15467 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_validation_get" "', argument " "1"" of type '" "struct classObj *""'");
15468 : }
15469 0 : arg1 = (struct classObj *)(argp1);
15470 0 : result = (hashTableObj *)& ((arg1)->validation);
15471 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
15472 :
15473 0 : XSRETURN(argvi);
15474 : fail:
15475 :
15476 0 : SWIG_croak_null();
15477 : }
15478 : }
15479 :
15480 :
15481 0 : XS(_wrap_classObj_minscaledenom_set) {
15482 : {
15483 : struct classObj *arg1 = (struct classObj *) 0 ;
15484 : double arg2 ;
15485 0 : void *argp1 = 0 ;
15486 : int res1 = 0 ;
15487 : double val2 ;
15488 : int ecode2 = 0 ;
15489 : int argvi = 0;
15490 0 : dXSARGS;
15491 :
15492 0 : if ((items < 2) || (items > 2)) {
15493 0 : SWIG_croak("Usage: classObj_minscaledenom_set(self,minscaledenom);");
15494 : }
15495 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15496 0 : if (!SWIG_IsOK(res1)) {
15497 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minscaledenom_set" "', argument " "1"" of type '" "struct classObj *""'");
15498 : }
15499 0 : arg1 = (struct classObj *)(argp1);
15500 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15501 0 : if (!SWIG_IsOK(ecode2)) {
15502 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
15503 : }
15504 0 : arg2 = (double)(val2);
15505 0 : if (arg1) (arg1)->minscaledenom = arg2;
15506 0 : ST(argvi) = sv_newmortal();
15507 :
15508 :
15509 0 : XSRETURN(argvi);
15510 : fail:
15511 :
15512 :
15513 0 : SWIG_croak_null();
15514 : }
15515 : }
15516 :
15517 :
15518 0 : XS(_wrap_classObj_minscaledenom_get) {
15519 : {
15520 : struct classObj *arg1 = (struct classObj *) 0 ;
15521 0 : void *argp1 = 0 ;
15522 : int res1 = 0 ;
15523 : int argvi = 0;
15524 : double result;
15525 0 : dXSARGS;
15526 :
15527 0 : if ((items < 1) || (items > 1)) {
15528 0 : SWIG_croak("Usage: classObj_minscaledenom_get(self);");
15529 : }
15530 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15531 0 : if (!SWIG_IsOK(res1)) {
15532 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minscaledenom_get" "', argument " "1"" of type '" "struct classObj *""'");
15533 : }
15534 0 : arg1 = (struct classObj *)(argp1);
15535 0 : result = (double) ((arg1)->minscaledenom);
15536 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
15537 :
15538 0 : XSRETURN(argvi);
15539 : fail:
15540 :
15541 0 : SWIG_croak_null();
15542 : }
15543 : }
15544 :
15545 :
15546 0 : XS(_wrap_classObj_maxscaledenom_set) {
15547 : {
15548 : struct classObj *arg1 = (struct classObj *) 0 ;
15549 : double arg2 ;
15550 0 : void *argp1 = 0 ;
15551 : int res1 = 0 ;
15552 : double val2 ;
15553 : int ecode2 = 0 ;
15554 : int argvi = 0;
15555 0 : dXSARGS;
15556 :
15557 0 : if ((items < 2) || (items > 2)) {
15558 0 : SWIG_croak("Usage: classObj_maxscaledenom_set(self,maxscaledenom);");
15559 : }
15560 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15561 0 : if (!SWIG_IsOK(res1)) {
15562 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_maxscaledenom_set" "', argument " "1"" of type '" "struct classObj *""'");
15563 : }
15564 0 : arg1 = (struct classObj *)(argp1);
15565 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15566 0 : if (!SWIG_IsOK(ecode2)) {
15567 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
15568 : }
15569 0 : arg2 = (double)(val2);
15570 0 : if (arg1) (arg1)->maxscaledenom = arg2;
15571 0 : ST(argvi) = sv_newmortal();
15572 :
15573 :
15574 0 : XSRETURN(argvi);
15575 : fail:
15576 :
15577 :
15578 0 : SWIG_croak_null();
15579 : }
15580 : }
15581 :
15582 :
15583 0 : XS(_wrap_classObj_maxscaledenom_get) {
15584 : {
15585 : struct classObj *arg1 = (struct classObj *) 0 ;
15586 0 : void *argp1 = 0 ;
15587 : int res1 = 0 ;
15588 : int argvi = 0;
15589 : double result;
15590 0 : dXSARGS;
15591 :
15592 0 : if ((items < 1) || (items > 1)) {
15593 0 : SWIG_croak("Usage: classObj_maxscaledenom_get(self);");
15594 : }
15595 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15596 0 : if (!SWIG_IsOK(res1)) {
15597 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_maxscaledenom_get" "', argument " "1"" of type '" "struct classObj *""'");
15598 : }
15599 0 : arg1 = (struct classObj *)(argp1);
15600 0 : result = (double) ((arg1)->maxscaledenom);
15601 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
15602 :
15603 0 : XSRETURN(argvi);
15604 : fail:
15605 :
15606 0 : SWIG_croak_null();
15607 : }
15608 : }
15609 :
15610 :
15611 0 : XS(_wrap_classObj_minfeaturesize_set) {
15612 : {
15613 : struct classObj *arg1 = (struct classObj *) 0 ;
15614 : int arg2 ;
15615 0 : void *argp1 = 0 ;
15616 : int res1 = 0 ;
15617 : int val2 ;
15618 : int ecode2 = 0 ;
15619 : int argvi = 0;
15620 0 : dXSARGS;
15621 :
15622 0 : if ((items < 2) || (items > 2)) {
15623 0 : SWIG_croak("Usage: classObj_minfeaturesize_set(self,minfeaturesize);");
15624 : }
15625 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15626 0 : if (!SWIG_IsOK(res1)) {
15627 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minfeaturesize_set" "', argument " "1"" of type '" "struct classObj *""'");
15628 : }
15629 0 : arg1 = (struct classObj *)(argp1);
15630 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15631 0 : if (!SWIG_IsOK(ecode2)) {
15632 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_minfeaturesize_set" "', argument " "2"" of type '" "int""'");
15633 : }
15634 0 : arg2 = (int)(val2);
15635 0 : if (arg1) (arg1)->minfeaturesize = arg2;
15636 0 : ST(argvi) = sv_newmortal();
15637 :
15638 :
15639 0 : XSRETURN(argvi);
15640 : fail:
15641 :
15642 :
15643 0 : SWIG_croak_null();
15644 : }
15645 : }
15646 :
15647 :
15648 0 : XS(_wrap_classObj_minfeaturesize_get) {
15649 : {
15650 : struct classObj *arg1 = (struct classObj *) 0 ;
15651 0 : void *argp1 = 0 ;
15652 : int res1 = 0 ;
15653 : int argvi = 0;
15654 : int result;
15655 0 : dXSARGS;
15656 :
15657 0 : if ((items < 1) || (items > 1)) {
15658 0 : SWIG_croak("Usage: classObj_minfeaturesize_get(self);");
15659 : }
15660 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15661 0 : if (!SWIG_IsOK(res1)) {
15662 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minfeaturesize_get" "', argument " "1"" of type '" "struct classObj *""'");
15663 : }
15664 0 : arg1 = (struct classObj *)(argp1);
15665 0 : result = (int) ((arg1)->minfeaturesize);
15666 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15667 :
15668 0 : XSRETURN(argvi);
15669 : fail:
15670 :
15671 0 : SWIG_croak_null();
15672 : }
15673 : }
15674 :
15675 :
15676 0 : XS(_wrap_classObj_refcount_get) {
15677 : {
15678 : struct classObj *arg1 = (struct classObj *) 0 ;
15679 0 : void *argp1 = 0 ;
15680 : int res1 = 0 ;
15681 : int argvi = 0;
15682 : int result;
15683 0 : dXSARGS;
15684 :
15685 0 : if ((items < 1) || (items > 1)) {
15686 0 : SWIG_croak("Usage: classObj_refcount_get(self);");
15687 : }
15688 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15689 0 : if (!SWIG_IsOK(res1)) {
15690 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_refcount_get" "', argument " "1"" of type '" "struct classObj *""'");
15691 : }
15692 0 : arg1 = (struct classObj *)(argp1);
15693 0 : result = (int) ((arg1)->refcount);
15694 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15695 :
15696 0 : XSRETURN(argvi);
15697 : fail:
15698 :
15699 0 : SWIG_croak_null();
15700 : }
15701 : }
15702 :
15703 :
15704 1 : XS(_wrap_classObj_layer_get) {
15705 : {
15706 : struct classObj *arg1 = (struct classObj *) 0 ;
15707 1 : void *argp1 = 0 ;
15708 : int res1 = 0 ;
15709 : int argvi = 0;
15710 : struct layerObj *result = 0 ;
15711 1 : dXSARGS;
15712 :
15713 1 : if ((items < 1) || (items > 1)) {
15714 0 : SWIG_croak("Usage: classObj_layer_get(self);");
15715 : }
15716 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15717 1 : if (!SWIG_IsOK(res1)) {
15718 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_layer_get" "', argument " "1"" of type '" "struct classObj *""'");
15719 : }
15720 1 : arg1 = (struct classObj *)(argp1);
15721 : {
15722 : /* Accessing layer */
15723 1 : result = (struct layerObj *) ((arg1)->layer);;
15724 1 : MS_REFCNT_INCR(result);
15725 : }
15726 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, 0 | SWIG_SHADOW); argvi++ ;
15727 :
15728 1 : XSRETURN(argvi);
15729 : fail:
15730 :
15731 0 : SWIG_croak_null();
15732 : }
15733 : }
15734 :
15735 :
15736 0 : XS(_wrap_classObj_debug_set) {
15737 : {
15738 : struct classObj *arg1 = (struct classObj *) 0 ;
15739 : int arg2 ;
15740 0 : void *argp1 = 0 ;
15741 : int res1 = 0 ;
15742 : int val2 ;
15743 : int ecode2 = 0 ;
15744 : int argvi = 0;
15745 0 : dXSARGS;
15746 :
15747 0 : if ((items < 2) || (items > 2)) {
15748 0 : SWIG_croak("Usage: classObj_debug_set(self,debug);");
15749 : }
15750 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15751 0 : if (!SWIG_IsOK(res1)) {
15752 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_debug_set" "', argument " "1"" of type '" "struct classObj *""'");
15753 : }
15754 0 : arg1 = (struct classObj *)(argp1);
15755 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
15756 0 : if (!SWIG_IsOK(ecode2)) {
15757 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_debug_set" "', argument " "2"" of type '" "int""'");
15758 : }
15759 0 : arg2 = (int)(val2);
15760 0 : if (arg1) (arg1)->debug = arg2;
15761 0 : ST(argvi) = sv_newmortal();
15762 :
15763 :
15764 0 : XSRETURN(argvi);
15765 : fail:
15766 :
15767 :
15768 0 : SWIG_croak_null();
15769 : }
15770 : }
15771 :
15772 :
15773 0 : XS(_wrap_classObj_debug_get) {
15774 : {
15775 : struct classObj *arg1 = (struct classObj *) 0 ;
15776 0 : void *argp1 = 0 ;
15777 : int res1 = 0 ;
15778 : int argvi = 0;
15779 : int result;
15780 0 : dXSARGS;
15781 :
15782 0 : if ((items < 1) || (items > 1)) {
15783 0 : SWIG_croak("Usage: classObj_debug_get(self);");
15784 : }
15785 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15786 0 : if (!SWIG_IsOK(res1)) {
15787 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_debug_get" "', argument " "1"" of type '" "struct classObj *""'");
15788 : }
15789 0 : arg1 = (struct classObj *)(argp1);
15790 0 : result = (int) ((arg1)->debug);
15791 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
15792 :
15793 0 : XSRETURN(argvi);
15794 : fail:
15795 :
15796 0 : SWIG_croak_null();
15797 : }
15798 : }
15799 :
15800 :
15801 0 : XS(_wrap_classObj_keyimage_set) {
15802 : {
15803 : struct classObj *arg1 = (struct classObj *) 0 ;
15804 : char *arg2 = (char *) 0 ;
15805 0 : void *argp1 = 0 ;
15806 : int res1 = 0 ;
15807 : int res2 ;
15808 0 : char *buf2 = 0 ;
15809 0 : int alloc2 = 0 ;
15810 : int argvi = 0;
15811 0 : dXSARGS;
15812 :
15813 0 : if ((items < 2) || (items > 2)) {
15814 0 : SWIG_croak("Usage: classObj_keyimage_set(self,keyimage);");
15815 : }
15816 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15817 0 : if (!SWIG_IsOK(res1)) {
15818 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_keyimage_set" "', argument " "1"" of type '" "struct classObj *""'");
15819 : }
15820 0 : arg1 = (struct classObj *)(argp1);
15821 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
15822 0 : if (!SWIG_IsOK(res2)) {
15823 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_keyimage_set" "', argument " "2"" of type '" "char *""'");
15824 : }
15825 0 : arg2 = (char *)(buf2);
15826 : {
15827 0 : if (arg1->keyimage) free((char*)arg1->keyimage);
15828 0 : if (arg2) {
15829 0 : arg1->keyimage = (char *) malloc(strlen(arg2)+1);
15830 : strcpy((char*)arg1->keyimage,arg2);
15831 : } else {
15832 0 : arg1->keyimage = 0;
15833 : }
15834 : }
15835 0 : ST(argvi) = sv_newmortal();
15836 :
15837 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15838 0 : XSRETURN(argvi);
15839 : fail:
15840 :
15841 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15842 0 : SWIG_croak_null();
15843 : }
15844 : }
15845 :
15846 :
15847 0 : XS(_wrap_classObj_keyimage_get) {
15848 : {
15849 : struct classObj *arg1 = (struct classObj *) 0 ;
15850 0 : void *argp1 = 0 ;
15851 : int res1 = 0 ;
15852 : int argvi = 0;
15853 : char *result = 0 ;
15854 0 : dXSARGS;
15855 :
15856 0 : if ((items < 1) || (items > 1)) {
15857 0 : SWIG_croak("Usage: classObj_keyimage_get(self);");
15858 : }
15859 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15860 0 : if (!SWIG_IsOK(res1)) {
15861 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_keyimage_get" "', argument " "1"" of type '" "struct classObj *""'");
15862 : }
15863 0 : arg1 = (struct classObj *)(argp1);
15864 0 : result = (char *) ((arg1)->keyimage);
15865 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
15866 :
15867 0 : XSRETURN(argvi);
15868 : fail:
15869 :
15870 0 : SWIG_croak_null();
15871 : }
15872 : }
15873 :
15874 :
15875 0 : XS(_wrap_classObj_group_set) {
15876 : {
15877 : struct classObj *arg1 = (struct classObj *) 0 ;
15878 : char *arg2 = (char *) 0 ;
15879 0 : void *argp1 = 0 ;
15880 : int res1 = 0 ;
15881 : int res2 ;
15882 0 : char *buf2 = 0 ;
15883 0 : int alloc2 = 0 ;
15884 : int argvi = 0;
15885 0 : dXSARGS;
15886 :
15887 0 : if ((items < 2) || (items > 2)) {
15888 0 : SWIG_croak("Usage: classObj_group_set(self,group);");
15889 : }
15890 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15891 0 : if (!SWIG_IsOK(res1)) {
15892 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_group_set" "', argument " "1"" of type '" "struct classObj *""'");
15893 : }
15894 0 : arg1 = (struct classObj *)(argp1);
15895 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
15896 0 : if (!SWIG_IsOK(res2)) {
15897 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_group_set" "', argument " "2"" of type '" "char *""'");
15898 : }
15899 0 : arg2 = (char *)(buf2);
15900 : {
15901 0 : if (arg1->group) free((char*)arg1->group);
15902 0 : if (arg2) {
15903 0 : arg1->group = (char *) malloc(strlen(arg2)+1);
15904 : strcpy((char*)arg1->group,arg2);
15905 : } else {
15906 0 : arg1->group = 0;
15907 : }
15908 : }
15909 0 : ST(argvi) = sv_newmortal();
15910 :
15911 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15912 0 : XSRETURN(argvi);
15913 : fail:
15914 :
15915 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
15916 0 : SWIG_croak_null();
15917 : }
15918 : }
15919 :
15920 :
15921 0 : XS(_wrap_classObj_group_get) {
15922 : {
15923 : struct classObj *arg1 = (struct classObj *) 0 ;
15924 0 : void *argp1 = 0 ;
15925 : int res1 = 0 ;
15926 : int argvi = 0;
15927 : char *result = 0 ;
15928 0 : dXSARGS;
15929 :
15930 0 : if ((items < 1) || (items > 1)) {
15931 0 : SWIG_croak("Usage: classObj_group_get(self);");
15932 : }
15933 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15934 0 : if (!SWIG_IsOK(res1)) {
15935 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_group_get" "', argument " "1"" of type '" "struct classObj *""'");
15936 : }
15937 0 : arg1 = (struct classObj *)(argp1);
15938 0 : result = (char *) ((arg1)->group);
15939 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
15940 :
15941 0 : XSRETURN(argvi);
15942 : fail:
15943 :
15944 0 : SWIG_croak_null();
15945 : }
15946 : }
15947 :
15948 :
15949 0 : XS(_wrap_classObj_leader_set) {
15950 : {
15951 : struct classObj *arg1 = (struct classObj *) 0 ;
15952 : labelLeaderObj *arg2 = (labelLeaderObj *) 0 ;
15953 0 : void *argp1 = 0 ;
15954 : int res1 = 0 ;
15955 0 : void *argp2 = 0 ;
15956 : int res2 = 0 ;
15957 : int argvi = 0;
15958 0 : dXSARGS;
15959 :
15960 0 : if ((items < 2) || (items > 2)) {
15961 0 : SWIG_croak("Usage: classObj_leader_set(self,leader);");
15962 : }
15963 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15964 0 : if (!SWIG_IsOK(res1)) {
15965 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_leader_set" "', argument " "1"" of type '" "struct classObj *""'");
15966 : }
15967 0 : arg1 = (struct classObj *)(argp1);
15968 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_labelLeaderObj, SWIG_POINTER_DISOWN | 0 );
15969 0 : if (!SWIG_IsOK(res2)) {
15970 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_leader_set" "', argument " "2"" of type '" "labelLeaderObj *""'");
15971 : }
15972 0 : arg2 = (labelLeaderObj *)(argp2);
15973 0 : if (arg1) (arg1)->leader = arg2;
15974 0 : ST(argvi) = sv_newmortal();
15975 :
15976 :
15977 0 : XSRETURN(argvi);
15978 : fail:
15979 :
15980 :
15981 0 : SWIG_croak_null();
15982 : }
15983 : }
15984 :
15985 :
15986 0 : XS(_wrap_classObj_leader_get) {
15987 : {
15988 : struct classObj *arg1 = (struct classObj *) 0 ;
15989 0 : void *argp1 = 0 ;
15990 : int res1 = 0 ;
15991 : int argvi = 0;
15992 : labelLeaderObj *result = 0 ;
15993 0 : dXSARGS;
15994 :
15995 0 : if ((items < 1) || (items > 1)) {
15996 0 : SWIG_croak("Usage: classObj_leader_get(self);");
15997 : }
15998 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
15999 0 : if (!SWIG_IsOK(res1)) {
16000 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_leader_get" "', argument " "1"" of type '" "struct classObj *""'");
16001 : }
16002 0 : arg1 = (struct classObj *)(argp1);
16003 0 : result = (labelLeaderObj *) ((arg1)->leader);
16004 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelLeaderObj, 0 | SWIG_SHADOW); argvi++ ;
16005 :
16006 0 : XSRETURN(argvi);
16007 : fail:
16008 :
16009 0 : SWIG_croak_null();
16010 : }
16011 : }
16012 :
16013 :
16014 1 : XS(_wrap_new_classObj) {
16015 : {
16016 : layerObj *arg1 = (layerObj *) NULL ;
16017 1 : void *argp1 = 0 ;
16018 : int res1 = 0 ;
16019 : int argvi = 0;
16020 : struct classObj *result = 0 ;
16021 1 : dXSARGS;
16022 :
16023 1 : if ((items < 0) || (items > 1)) {
16024 0 : SWIG_croak("Usage: new_classObj(layer);");
16025 : }
16026 1 : if (items > 0) {
16027 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
16028 1 : if (!SWIG_IsOK(res1)) {
16029 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_classObj" "', argument " "1"" of type '" "layerObj *""'");
16030 : }
16031 1 : arg1 = (layerObj *)(argp1);
16032 : }
16033 1 : result = (struct classObj *)new_classObj(arg1);
16034 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16035 :
16036 1 : XSRETURN(argvi);
16037 : fail:
16038 :
16039 0 : SWIG_croak_null();
16040 : }
16041 : }
16042 :
16043 :
16044 1 : XS(_wrap_delete_classObj) {
16045 : {
16046 : struct classObj *arg1 = (struct classObj *) 0 ;
16047 1 : void *argp1 = 0 ;
16048 : int res1 = 0 ;
16049 : int argvi = 0;
16050 1 : dXSARGS;
16051 :
16052 1 : if ((items < 1) || (items > 1)) {
16053 0 : SWIG_croak("Usage: delete_classObj(self);");
16054 : }
16055 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, SWIG_POINTER_DISOWN | 0 );
16056 1 : if (!SWIG_IsOK(res1)) {
16057 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_classObj" "', argument " "1"" of type '" "struct classObj *""'");
16058 : }
16059 1 : arg1 = (struct classObj *)(argp1);
16060 1 : delete_classObj(arg1);
16061 1 : ST(argvi) = sv_newmortal();
16062 :
16063 1 : XSRETURN(argvi);
16064 : fail:
16065 :
16066 0 : SWIG_croak_null();
16067 : }
16068 : }
16069 :
16070 :
16071 0 : XS(_wrap_classObj_updateFromString) {
16072 : {
16073 : struct classObj *arg1 = (struct classObj *) 0 ;
16074 : char *arg2 = (char *) 0 ;
16075 0 : void *argp1 = 0 ;
16076 : int res1 = 0 ;
16077 : int res2 ;
16078 0 : char *buf2 = 0 ;
16079 0 : int alloc2 = 0 ;
16080 : int argvi = 0;
16081 : int result;
16082 0 : dXSARGS;
16083 :
16084 0 : if ((items < 2) || (items > 2)) {
16085 0 : SWIG_croak("Usage: classObj_updateFromString(self,snippet);");
16086 : }
16087 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16088 0 : if (!SWIG_IsOK(res1)) {
16089 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_updateFromString" "', argument " "1"" of type '" "struct classObj *""'");
16090 : }
16091 0 : arg1 = (struct classObj *)(argp1);
16092 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16093 0 : if (!SWIG_IsOK(res2)) {
16094 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_updateFromString" "', argument " "2"" of type '" "char *""'");
16095 : }
16096 0 : arg2 = (char *)(buf2);
16097 : result = (int)classObj_updateFromString(arg1,arg2);
16098 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16099 :
16100 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16101 0 : XSRETURN(argvi);
16102 : fail:
16103 :
16104 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16105 0 : SWIG_croak_null();
16106 : }
16107 : }
16108 :
16109 :
16110 0 : XS(_wrap_classObj_convertToString) {
16111 : {
16112 : struct classObj *arg1 = (struct classObj *) 0 ;
16113 0 : void *argp1 = 0 ;
16114 : int res1 = 0 ;
16115 : int argvi = 0;
16116 : char *result = 0 ;
16117 0 : dXSARGS;
16118 :
16119 0 : if ((items < 1) || (items > 1)) {
16120 0 : SWIG_croak("Usage: classObj_convertToString(self);");
16121 : }
16122 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16123 0 : if (!SWIG_IsOK(res1)) {
16124 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_convertToString" "', argument " "1"" of type '" "struct classObj *""'");
16125 : }
16126 0 : arg1 = (struct classObj *)(argp1);
16127 : result = (char *)classObj_convertToString(arg1);
16128 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16129 :
16130 0 : free((char*)result);
16131 0 : XSRETURN(argvi);
16132 : fail:
16133 :
16134 0 : SWIG_croak_null();
16135 : }
16136 : }
16137 :
16138 :
16139 0 : XS(_wrap_classObj_clone) {
16140 : {
16141 : struct classObj *arg1 = (struct classObj *) 0 ;
16142 0 : void *argp1 = 0 ;
16143 : int res1 = 0 ;
16144 : int argvi = 0;
16145 : classObj *result = 0 ;
16146 0 : dXSARGS;
16147 :
16148 0 : if ((items < 1) || (items > 1)) {
16149 0 : SWIG_croak("Usage: classObj_clone(self);");
16150 : }
16151 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16152 0 : if (!SWIG_IsOK(res1)) {
16153 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_clone" "', argument " "1"" of type '" "struct classObj *""'");
16154 : }
16155 0 : arg1 = (struct classObj *)(argp1);
16156 0 : result = (classObj *)classObj_clone(arg1);
16157 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16158 :
16159 0 : XSRETURN(argvi);
16160 : fail:
16161 :
16162 0 : SWIG_croak_null();
16163 : }
16164 : }
16165 :
16166 :
16167 0 : XS(_wrap_classObj_setExpression) {
16168 : {
16169 : struct classObj *arg1 = (struct classObj *) 0 ;
16170 : char *arg2 = (char *) 0 ;
16171 0 : void *argp1 = 0 ;
16172 : int res1 = 0 ;
16173 : int res2 ;
16174 0 : char *buf2 = 0 ;
16175 0 : int alloc2 = 0 ;
16176 : int argvi = 0;
16177 : int result;
16178 0 : dXSARGS;
16179 :
16180 0 : if ((items < 2) || (items > 2)) {
16181 0 : SWIG_croak("Usage: classObj_setExpression(self,expression);");
16182 : }
16183 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16184 0 : if (!SWIG_IsOK(res1)) {
16185 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_setExpression" "', argument " "1"" of type '" "struct classObj *""'");
16186 : }
16187 0 : arg1 = (struct classObj *)(argp1);
16188 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16189 0 : if (!SWIG_IsOK(res2)) {
16190 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_setExpression" "', argument " "2"" of type '" "char *""'");
16191 : }
16192 0 : arg2 = (char *)(buf2);
16193 0 : result = (int)classObj_setExpression(arg1,arg2);
16194 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16195 :
16196 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16197 0 : XSRETURN(argvi);
16198 : fail:
16199 :
16200 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16201 0 : SWIG_croak_null();
16202 : }
16203 : }
16204 :
16205 :
16206 0 : XS(_wrap_classObj_getExpressionString) {
16207 : {
16208 : struct classObj *arg1 = (struct classObj *) 0 ;
16209 0 : void *argp1 = 0 ;
16210 : int res1 = 0 ;
16211 : int argvi = 0;
16212 : char *result = 0 ;
16213 0 : dXSARGS;
16214 :
16215 0 : if ((items < 1) || (items > 1)) {
16216 0 : SWIG_croak("Usage: classObj_getExpressionString(self);");
16217 : }
16218 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16219 0 : if (!SWIG_IsOK(res1)) {
16220 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getExpressionString" "', argument " "1"" of type '" "struct classObj *""'");
16221 : }
16222 0 : arg1 = (struct classObj *)(argp1);
16223 : result = (char *)classObj_getExpressionString(arg1);
16224 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16225 :
16226 0 : free((char*)result);
16227 0 : XSRETURN(argvi);
16228 : fail:
16229 :
16230 0 : SWIG_croak_null();
16231 : }
16232 : }
16233 :
16234 :
16235 0 : XS(_wrap_classObj_setText) {
16236 : {
16237 : struct classObj *arg1 = (struct classObj *) 0 ;
16238 : char *arg2 = (char *) 0 ;
16239 0 : void *argp1 = 0 ;
16240 : int res1 = 0 ;
16241 : int res2 ;
16242 0 : char *buf2 = 0 ;
16243 0 : int alloc2 = 0 ;
16244 : int argvi = 0;
16245 : int result;
16246 0 : dXSARGS;
16247 :
16248 0 : if ((items < 2) || (items > 2)) {
16249 0 : SWIG_croak("Usage: classObj_setText(self,text);");
16250 : }
16251 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16252 0 : if (!SWIG_IsOK(res1)) {
16253 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_setText" "', argument " "1"" of type '" "struct classObj *""'");
16254 : }
16255 0 : arg1 = (struct classObj *)(argp1);
16256 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16257 0 : if (!SWIG_IsOK(res2)) {
16258 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_setText" "', argument " "2"" of type '" "char *""'");
16259 : }
16260 0 : arg2 = (char *)(buf2);
16261 0 : result = (int)classObj_setText(arg1,arg2);
16262 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16263 :
16264 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16265 0 : XSRETURN(argvi);
16266 : fail:
16267 :
16268 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16269 0 : SWIG_croak_null();
16270 : }
16271 : }
16272 :
16273 :
16274 0 : XS(_wrap_classObj_getTextString) {
16275 : {
16276 : struct classObj *arg1 = (struct classObj *) 0 ;
16277 0 : void *argp1 = 0 ;
16278 : int res1 = 0 ;
16279 : int argvi = 0;
16280 : char *result = 0 ;
16281 0 : dXSARGS;
16282 :
16283 0 : if ((items < 1) || (items > 1)) {
16284 0 : SWIG_croak("Usage: classObj_getTextString(self);");
16285 : }
16286 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16287 0 : if (!SWIG_IsOK(res1)) {
16288 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getTextString" "', argument " "1"" of type '" "struct classObj *""'");
16289 : }
16290 0 : arg1 = (struct classObj *)(argp1);
16291 : result = (char *)classObj_getTextString(arg1);
16292 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16293 :
16294 0 : free((char*)result);
16295 0 : XSRETURN(argvi);
16296 : fail:
16297 :
16298 0 : SWIG_croak_null();
16299 : }
16300 : }
16301 :
16302 :
16303 0 : XS(_wrap_classObj_getMetaData) {
16304 : {
16305 : struct classObj *arg1 = (struct classObj *) 0 ;
16306 : char *arg2 = (char *) 0 ;
16307 0 : void *argp1 = 0 ;
16308 : int res1 = 0 ;
16309 : int res2 ;
16310 0 : char *buf2 = 0 ;
16311 0 : int alloc2 = 0 ;
16312 : int argvi = 0;
16313 : char *result = 0 ;
16314 0 : dXSARGS;
16315 :
16316 0 : if ((items < 2) || (items > 2)) {
16317 0 : SWIG_croak("Usage: classObj_getMetaData(self,name);");
16318 : }
16319 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16320 0 : if (!SWIG_IsOK(res1)) {
16321 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getMetaData" "', argument " "1"" of type '" "struct classObj *""'");
16322 : }
16323 0 : arg1 = (struct classObj *)(argp1);
16324 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16325 0 : if (!SWIG_IsOK(res2)) {
16326 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_getMetaData" "', argument " "2"" of type '" "char *""'");
16327 : }
16328 0 : arg2 = (char *)(buf2);
16329 0 : result = (char *)classObj_getMetaData(arg1,arg2);
16330 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16331 :
16332 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16333 0 : XSRETURN(argvi);
16334 : fail:
16335 :
16336 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16337 0 : SWIG_croak_null();
16338 : }
16339 : }
16340 :
16341 :
16342 0 : XS(_wrap_classObj_setMetaData) {
16343 : {
16344 : struct classObj *arg1 = (struct classObj *) 0 ;
16345 : char *arg2 = (char *) 0 ;
16346 : char *arg3 = (char *) 0 ;
16347 0 : void *argp1 = 0 ;
16348 : int res1 = 0 ;
16349 : int res2 ;
16350 0 : char *buf2 = 0 ;
16351 0 : int alloc2 = 0 ;
16352 : int res3 ;
16353 0 : char *buf3 = 0 ;
16354 0 : int alloc3 = 0 ;
16355 : int argvi = 0;
16356 : int result;
16357 0 : dXSARGS;
16358 :
16359 0 : if ((items < 3) || (items > 3)) {
16360 0 : SWIG_croak("Usage: classObj_setMetaData(self,name,value);");
16361 : }
16362 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16363 0 : if (!SWIG_IsOK(res1)) {
16364 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_setMetaData" "', argument " "1"" of type '" "struct classObj *""'");
16365 : }
16366 0 : arg1 = (struct classObj *)(argp1);
16367 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16368 0 : if (!SWIG_IsOK(res2)) {
16369 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_setMetaData" "', argument " "2"" of type '" "char *""'");
16370 : }
16371 0 : arg2 = (char *)(buf2);
16372 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
16373 0 : if (!SWIG_IsOK(res3)) {
16374 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "classObj_setMetaData" "', argument " "3"" of type '" "char *""'");
16375 : }
16376 0 : arg3 = (char *)(buf3);
16377 : result = (int)classObj_setMetaData(arg1,arg2,arg3);
16378 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16379 :
16380 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16381 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
16382 0 : XSRETURN(argvi);
16383 : fail:
16384 :
16385 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16386 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
16387 0 : SWIG_croak_null();
16388 : }
16389 : }
16390 :
16391 :
16392 0 : XS(_wrap_classObj_getFirstMetaDataKey) {
16393 : {
16394 : struct classObj *arg1 = (struct classObj *) 0 ;
16395 0 : void *argp1 = 0 ;
16396 : int res1 = 0 ;
16397 : int argvi = 0;
16398 : char *result = 0 ;
16399 0 : dXSARGS;
16400 :
16401 0 : if ((items < 1) || (items > 1)) {
16402 0 : SWIG_croak("Usage: classObj_getFirstMetaDataKey(self);");
16403 : }
16404 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16405 0 : if (!SWIG_IsOK(res1)) {
16406 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getFirstMetaDataKey" "', argument " "1"" of type '" "struct classObj *""'");
16407 : }
16408 0 : arg1 = (struct classObj *)(argp1);
16409 : result = (char *)classObj_getFirstMetaDataKey(arg1);
16410 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16411 :
16412 0 : XSRETURN(argvi);
16413 : fail:
16414 :
16415 0 : SWIG_croak_null();
16416 : }
16417 : }
16418 :
16419 :
16420 0 : XS(_wrap_classObj_getNextMetaDataKey) {
16421 : {
16422 : struct classObj *arg1 = (struct classObj *) 0 ;
16423 : char *arg2 = (char *) 0 ;
16424 0 : void *argp1 = 0 ;
16425 : int res1 = 0 ;
16426 : int res2 ;
16427 0 : char *buf2 = 0 ;
16428 0 : int alloc2 = 0 ;
16429 : int argvi = 0;
16430 : char *result = 0 ;
16431 0 : dXSARGS;
16432 :
16433 0 : if ((items < 2) || (items > 2)) {
16434 0 : SWIG_croak("Usage: classObj_getNextMetaDataKey(self,lastkey);");
16435 : }
16436 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16437 0 : if (!SWIG_IsOK(res1)) {
16438 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getNextMetaDataKey" "', argument " "1"" of type '" "struct classObj *""'");
16439 : }
16440 0 : arg1 = (struct classObj *)(argp1);
16441 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
16442 0 : if (!SWIG_IsOK(res2)) {
16443 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_getNextMetaDataKey" "', argument " "2"" of type '" "char *""'");
16444 : }
16445 0 : arg2 = (char *)(buf2);
16446 : result = (char *)classObj_getNextMetaDataKey(arg1,arg2);
16447 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
16448 :
16449 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16450 0 : XSRETURN(argvi);
16451 : fail:
16452 :
16453 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
16454 0 : SWIG_croak_null();
16455 : }
16456 : }
16457 :
16458 :
16459 0 : XS(_wrap_classObj_drawLegendIcon) {
16460 : {
16461 : struct classObj *arg1 = (struct classObj *) 0 ;
16462 : mapObj *arg2 = (mapObj *) 0 ;
16463 : layerObj *arg3 = (layerObj *) 0 ;
16464 : int arg4 ;
16465 : int arg5 ;
16466 : imageObj *arg6 = (imageObj *) 0 ;
16467 : int arg7 ;
16468 : int arg8 ;
16469 0 : void *argp1 = 0 ;
16470 : int res1 = 0 ;
16471 0 : void *argp2 = 0 ;
16472 : int res2 = 0 ;
16473 0 : void *argp3 = 0 ;
16474 : int res3 = 0 ;
16475 : int val4 ;
16476 : int ecode4 = 0 ;
16477 : int val5 ;
16478 : int ecode5 = 0 ;
16479 0 : void *argp6 = 0 ;
16480 : int res6 = 0 ;
16481 : int val7 ;
16482 : int ecode7 = 0 ;
16483 : int val8 ;
16484 : int ecode8 = 0 ;
16485 : int argvi = 0;
16486 : int result;
16487 0 : dXSARGS;
16488 :
16489 0 : if ((items < 8) || (items > 8)) {
16490 0 : SWIG_croak("Usage: classObj_drawLegendIcon(self,map,layer,width,height,dstImage,dstX,dstY);");
16491 : }
16492 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16493 0 : if (!SWIG_IsOK(res1)) {
16494 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_drawLegendIcon" "', argument " "1"" of type '" "struct classObj *""'");
16495 : }
16496 0 : arg1 = (struct classObj *)(argp1);
16497 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
16498 0 : if (!SWIG_IsOK(res2)) {
16499 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_drawLegendIcon" "', argument " "2"" of type '" "mapObj *""'");
16500 : }
16501 0 : arg2 = (mapObj *)(argp2);
16502 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 | 0 );
16503 0 : if (!SWIG_IsOK(res3)) {
16504 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "classObj_drawLegendIcon" "', argument " "3"" of type '" "layerObj *""'");
16505 : }
16506 0 : arg3 = (layerObj *)(argp3);
16507 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
16508 0 : if (!SWIG_IsOK(ecode4)) {
16509 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "classObj_drawLegendIcon" "', argument " "4"" of type '" "int""'");
16510 : }
16511 0 : arg4 = (int)(val4);
16512 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
16513 0 : if (!SWIG_IsOK(ecode5)) {
16514 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "classObj_drawLegendIcon" "', argument " "5"" of type '" "int""'");
16515 : }
16516 0 : arg5 = (int)(val5);
16517 0 : res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_imageObj, 0 | 0 );
16518 0 : if (!SWIG_IsOK(res6)) {
16519 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "classObj_drawLegendIcon" "', argument " "6"" of type '" "imageObj *""'");
16520 : }
16521 0 : arg6 = (imageObj *)(argp6);
16522 0 : ecode7 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(6), &val7);
16523 0 : if (!SWIG_IsOK(ecode7)) {
16524 0 : SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "classObj_drawLegendIcon" "', argument " "7"" of type '" "int""'");
16525 : }
16526 0 : arg7 = (int)(val7);
16527 0 : ecode8 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(7), &val8);
16528 0 : if (!SWIG_IsOK(ecode8)) {
16529 0 : SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "classObj_drawLegendIcon" "', argument " "8"" of type '" "int""'");
16530 : }
16531 0 : arg8 = (int)(val8);
16532 0 : result = (int)classObj_drawLegendIcon(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
16533 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16534 :
16535 :
16536 :
16537 :
16538 :
16539 :
16540 :
16541 :
16542 0 : XSRETURN(argvi);
16543 : fail:
16544 :
16545 :
16546 :
16547 :
16548 :
16549 :
16550 :
16551 :
16552 0 : SWIG_croak_null();
16553 : }
16554 : }
16555 :
16556 :
16557 0 : XS(_wrap_classObj_createLegendIcon) {
16558 : {
16559 : struct classObj *arg1 = (struct classObj *) 0 ;
16560 : mapObj *arg2 = (mapObj *) 0 ;
16561 : layerObj *arg3 = (layerObj *) 0 ;
16562 : int arg4 ;
16563 : int arg5 ;
16564 0 : void *argp1 = 0 ;
16565 : int res1 = 0 ;
16566 0 : void *argp2 = 0 ;
16567 : int res2 = 0 ;
16568 0 : void *argp3 = 0 ;
16569 : int res3 = 0 ;
16570 : int val4 ;
16571 : int ecode4 = 0 ;
16572 : int val5 ;
16573 : int ecode5 = 0 ;
16574 : int argvi = 0;
16575 : imageObj *result = 0 ;
16576 0 : dXSARGS;
16577 :
16578 0 : if ((items < 5) || (items > 5)) {
16579 0 : SWIG_croak("Usage: classObj_createLegendIcon(self,map,layer,width,height);");
16580 : }
16581 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16582 0 : if (!SWIG_IsOK(res1)) {
16583 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_createLegendIcon" "', argument " "1"" of type '" "struct classObj *""'");
16584 : }
16585 0 : arg1 = (struct classObj *)(argp1);
16586 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
16587 0 : if (!SWIG_IsOK(res2)) {
16588 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_createLegendIcon" "', argument " "2"" of type '" "mapObj *""'");
16589 : }
16590 0 : arg2 = (mapObj *)(argp2);
16591 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 | 0 );
16592 0 : if (!SWIG_IsOK(res3)) {
16593 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "classObj_createLegendIcon" "', argument " "3"" of type '" "layerObj *""'");
16594 : }
16595 0 : arg3 = (layerObj *)(argp3);
16596 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
16597 0 : if (!SWIG_IsOK(ecode4)) {
16598 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "classObj_createLegendIcon" "', argument " "4"" of type '" "int""'");
16599 : }
16600 0 : arg4 = (int)(val4);
16601 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
16602 0 : if (!SWIG_IsOK(ecode5)) {
16603 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "classObj_createLegendIcon" "', argument " "5"" of type '" "int""'");
16604 : }
16605 0 : arg5 = (int)(val5);
16606 : result = (imageObj *)classObj_createLegendIcon(arg1,arg2,arg3,arg4,arg5);
16607 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16608 :
16609 :
16610 :
16611 :
16612 :
16613 0 : XSRETURN(argvi);
16614 : fail:
16615 :
16616 :
16617 :
16618 :
16619 :
16620 0 : SWIG_croak_null();
16621 : }
16622 : }
16623 :
16624 :
16625 0 : XS(_wrap_classObj_getLabel) {
16626 : {
16627 : struct classObj *arg1 = (struct classObj *) 0 ;
16628 : int arg2 ;
16629 0 : void *argp1 = 0 ;
16630 : int res1 = 0 ;
16631 : int val2 ;
16632 : int ecode2 = 0 ;
16633 : int argvi = 0;
16634 : labelObj *result = 0 ;
16635 0 : dXSARGS;
16636 :
16637 0 : if ((items < 2) || (items > 2)) {
16638 0 : SWIG_croak("Usage: classObj_getLabel(self,i);");
16639 : }
16640 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16641 0 : if (!SWIG_IsOK(res1)) {
16642 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getLabel" "', argument " "1"" of type '" "struct classObj *""'");
16643 : }
16644 0 : arg1 = (struct classObj *)(argp1);
16645 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16646 0 : if (!SWIG_IsOK(ecode2)) {
16647 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_getLabel" "', argument " "2"" of type '" "int""'");
16648 : }
16649 0 : arg2 = (int)(val2);
16650 0 : result = (labelObj *)classObj_getLabel(arg1,arg2);
16651 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16652 :
16653 :
16654 0 : XSRETURN(argvi);
16655 : fail:
16656 :
16657 :
16658 0 : SWIG_croak_null();
16659 : }
16660 : }
16661 :
16662 :
16663 0 : XS(_wrap_classObj_addLabel) {
16664 : {
16665 : struct classObj *arg1 = (struct classObj *) 0 ;
16666 : labelObj *arg2 = (labelObj *) 0 ;
16667 0 : void *argp1 = 0 ;
16668 : int res1 = 0 ;
16669 0 : void *argp2 = 0 ;
16670 : int res2 = 0 ;
16671 : int argvi = 0;
16672 : int result;
16673 0 : dXSARGS;
16674 :
16675 0 : if ((items < 2) || (items > 2)) {
16676 0 : SWIG_croak("Usage: classObj_addLabel(self,label);");
16677 : }
16678 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16679 0 : if (!SWIG_IsOK(res1)) {
16680 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_addLabel" "', argument " "1"" of type '" "struct classObj *""'");
16681 : }
16682 0 : arg1 = (struct classObj *)(argp1);
16683 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_labelObj, 0 | 0 );
16684 0 : if (!SWIG_IsOK(res2)) {
16685 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_addLabel" "', argument " "2"" of type '" "labelObj *""'");
16686 : }
16687 0 : arg2 = (labelObj *)(argp2);
16688 : result = (int)classObj_addLabel(arg1,arg2);
16689 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16690 :
16691 :
16692 0 : XSRETURN(argvi);
16693 : fail:
16694 :
16695 :
16696 0 : SWIG_croak_null();
16697 : }
16698 : }
16699 :
16700 :
16701 0 : XS(_wrap_classObj_removeLabel) {
16702 : {
16703 : struct classObj *arg1 = (struct classObj *) 0 ;
16704 : int arg2 ;
16705 0 : void *argp1 = 0 ;
16706 : int res1 = 0 ;
16707 : int val2 ;
16708 : int ecode2 = 0 ;
16709 : int argvi = 0;
16710 : labelObj *result = 0 ;
16711 0 : dXSARGS;
16712 :
16713 0 : if ((items < 2) || (items > 2)) {
16714 0 : SWIG_croak("Usage: classObj_removeLabel(self,index);");
16715 : }
16716 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16717 0 : if (!SWIG_IsOK(res1)) {
16718 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_removeLabel" "', argument " "1"" of type '" "struct classObj *""'");
16719 : }
16720 0 : arg1 = (struct classObj *)(argp1);
16721 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16722 0 : if (!SWIG_IsOK(ecode2)) {
16723 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_removeLabel" "', argument " "2"" of type '" "int""'");
16724 : }
16725 0 : arg2 = (int)(val2);
16726 0 : result = (labelObj *)classObj_removeLabel(arg1,arg2);
16727 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16728 :
16729 :
16730 0 : XSRETURN(argvi);
16731 : fail:
16732 :
16733 :
16734 0 : SWIG_croak_null();
16735 : }
16736 : }
16737 :
16738 :
16739 0 : XS(_wrap_classObj_getStyle) {
16740 : {
16741 : struct classObj *arg1 = (struct classObj *) 0 ;
16742 : int arg2 ;
16743 0 : void *argp1 = 0 ;
16744 : int res1 = 0 ;
16745 : int val2 ;
16746 : int ecode2 = 0 ;
16747 : int argvi = 0;
16748 : styleObj *result = 0 ;
16749 0 : dXSARGS;
16750 :
16751 0 : if ((items < 2) || (items > 2)) {
16752 0 : SWIG_croak("Usage: classObj_getStyle(self,i);");
16753 : }
16754 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16755 0 : if (!SWIG_IsOK(res1)) {
16756 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getStyle" "', argument " "1"" of type '" "struct classObj *""'");
16757 : }
16758 0 : arg1 = (struct classObj *)(argp1);
16759 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16760 0 : if (!SWIG_IsOK(ecode2)) {
16761 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_getStyle" "', argument " "2"" of type '" "int""'");
16762 : }
16763 0 : arg2 = (int)(val2);
16764 0 : result = (styleObj *)classObj_getStyle(arg1,arg2);
16765 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16766 :
16767 :
16768 0 : XSRETURN(argvi);
16769 : fail:
16770 :
16771 :
16772 0 : SWIG_croak_null();
16773 : }
16774 : }
16775 :
16776 :
16777 0 : XS(_wrap_classObj_insertStyle) {
16778 : {
16779 : struct classObj *arg1 = (struct classObj *) 0 ;
16780 : styleObj *arg2 = (styleObj *) 0 ;
16781 : int arg3 = (int) -1 ;
16782 0 : void *argp1 = 0 ;
16783 : int res1 = 0 ;
16784 0 : void *argp2 = 0 ;
16785 : int res2 = 0 ;
16786 : int val3 ;
16787 : int ecode3 = 0 ;
16788 : int argvi = 0;
16789 : int result;
16790 0 : dXSARGS;
16791 :
16792 0 : if ((items < 2) || (items > 3)) {
16793 0 : SWIG_croak("Usage: classObj_insertStyle(self,style,index);");
16794 : }
16795 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16796 0 : if (!SWIG_IsOK(res1)) {
16797 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_insertStyle" "', argument " "1"" of type '" "struct classObj *""'");
16798 : }
16799 0 : arg1 = (struct classObj *)(argp1);
16800 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_styleObj, 0 | 0 );
16801 0 : if (!SWIG_IsOK(res2)) {
16802 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_insertStyle" "', argument " "2"" of type '" "styleObj *""'");
16803 : }
16804 0 : arg2 = (styleObj *)(argp2);
16805 0 : if (items > 2) {
16806 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
16807 0 : if (!SWIG_IsOK(ecode3)) {
16808 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "classObj_insertStyle" "', argument " "3"" of type '" "int""'");
16809 : }
16810 0 : arg3 = (int)(val3);
16811 : }
16812 : result = (int)classObj_insertStyle(arg1,arg2,arg3);
16813 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16814 :
16815 :
16816 :
16817 0 : XSRETURN(argvi);
16818 : fail:
16819 :
16820 :
16821 :
16822 0 : SWIG_croak_null();
16823 : }
16824 : }
16825 :
16826 :
16827 0 : XS(_wrap_classObj_removeStyle) {
16828 : {
16829 : struct classObj *arg1 = (struct classObj *) 0 ;
16830 : int arg2 ;
16831 0 : void *argp1 = 0 ;
16832 : int res1 = 0 ;
16833 : int val2 ;
16834 : int ecode2 = 0 ;
16835 : int argvi = 0;
16836 : styleObj *result = 0 ;
16837 0 : dXSARGS;
16838 :
16839 0 : if ((items < 2) || (items > 2)) {
16840 0 : SWIG_croak("Usage: classObj_removeStyle(self,index);");
16841 : }
16842 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16843 0 : if (!SWIG_IsOK(res1)) {
16844 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_removeStyle" "', argument " "1"" of type '" "struct classObj *""'");
16845 : }
16846 0 : arg1 = (struct classObj *)(argp1);
16847 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16848 0 : if (!SWIG_IsOK(ecode2)) {
16849 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_removeStyle" "', argument " "2"" of type '" "int""'");
16850 : }
16851 0 : arg2 = (int)(val2);
16852 0 : result = (styleObj *)classObj_removeStyle(arg1,arg2);
16853 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
16854 :
16855 :
16856 0 : XSRETURN(argvi);
16857 : fail:
16858 :
16859 :
16860 0 : SWIG_croak_null();
16861 : }
16862 : }
16863 :
16864 :
16865 0 : XS(_wrap_classObj_moveStyleUp) {
16866 : {
16867 : struct classObj *arg1 = (struct classObj *) 0 ;
16868 : int arg2 ;
16869 0 : void *argp1 = 0 ;
16870 : int res1 = 0 ;
16871 : int val2 ;
16872 : int ecode2 = 0 ;
16873 : int argvi = 0;
16874 : int result;
16875 0 : dXSARGS;
16876 :
16877 0 : if ((items < 2) || (items > 2)) {
16878 0 : SWIG_croak("Usage: classObj_moveStyleUp(self,index);");
16879 : }
16880 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16881 0 : if (!SWIG_IsOK(res1)) {
16882 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_moveStyleUp" "', argument " "1"" of type '" "struct classObj *""'");
16883 : }
16884 0 : arg1 = (struct classObj *)(argp1);
16885 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16886 0 : if (!SWIG_IsOK(ecode2)) {
16887 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_moveStyleUp" "', argument " "2"" of type '" "int""'");
16888 : }
16889 0 : arg2 = (int)(val2);
16890 : result = (int)classObj_moveStyleUp(arg1,arg2);
16891 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16892 :
16893 :
16894 0 : XSRETURN(argvi);
16895 : fail:
16896 :
16897 :
16898 0 : SWIG_croak_null();
16899 : }
16900 : }
16901 :
16902 :
16903 0 : XS(_wrap_classObj_moveStyleDown) {
16904 : {
16905 : struct classObj *arg1 = (struct classObj *) 0 ;
16906 : int arg2 ;
16907 0 : void *argp1 = 0 ;
16908 : int res1 = 0 ;
16909 : int val2 ;
16910 : int ecode2 = 0 ;
16911 : int argvi = 0;
16912 : int result;
16913 0 : dXSARGS;
16914 :
16915 0 : if ((items < 2) || (items > 2)) {
16916 0 : SWIG_croak("Usage: classObj_moveStyleDown(self,index);");
16917 : }
16918 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 | 0 );
16919 0 : if (!SWIG_IsOK(res1)) {
16920 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_moveStyleDown" "', argument " "1"" of type '" "struct classObj *""'");
16921 : }
16922 0 : arg1 = (struct classObj *)(argp1);
16923 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
16924 0 : if (!SWIG_IsOK(ecode2)) {
16925 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_moveStyleDown" "', argument " "2"" of type '" "int""'");
16926 : }
16927 0 : arg2 = (int)(val2);
16928 : result = (int)classObj_moveStyleDown(arg1,arg2);
16929 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16930 :
16931 :
16932 0 : XSRETURN(argvi);
16933 : fail:
16934 :
16935 :
16936 0 : SWIG_croak_null();
16937 : }
16938 : }
16939 :
16940 :
16941 0 : XS(_wrap_labelCacheMemberObj_textsymbols_get) {
16942 : {
16943 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
16944 0 : void *argp1 = 0 ;
16945 : int res1 = 0 ;
16946 : int argvi = 0;
16947 : textSymbolObj **result = 0 ;
16948 0 : dXSARGS;
16949 :
16950 0 : if ((items < 1) || (items > 1)) {
16951 0 : SWIG_croak("Usage: labelCacheMemberObj_textsymbols_get(self);");
16952 : }
16953 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
16954 0 : if (!SWIG_IsOK(res1)) {
16955 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_textsymbols_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
16956 : }
16957 0 : arg1 = (labelCacheMemberObj *)(argp1);
16958 0 : result = (textSymbolObj **) ((arg1)->textsymbols);
16959 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_textSymbolObj, 0 | 0); argvi++ ;
16960 :
16961 0 : XSRETURN(argvi);
16962 : fail:
16963 :
16964 0 : SWIG_croak_null();
16965 : }
16966 : }
16967 :
16968 :
16969 0 : XS(_wrap_labelCacheMemberObj_numtextsymbols_get) {
16970 : {
16971 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
16972 0 : void *argp1 = 0 ;
16973 : int res1 = 0 ;
16974 : int argvi = 0;
16975 : int result;
16976 0 : dXSARGS;
16977 :
16978 0 : if ((items < 1) || (items > 1)) {
16979 0 : SWIG_croak("Usage: labelCacheMemberObj_numtextsymbols_get(self);");
16980 : }
16981 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
16982 0 : if (!SWIG_IsOK(res1)) {
16983 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_numtextsymbols_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
16984 : }
16985 0 : arg1 = (labelCacheMemberObj *)(argp1);
16986 0 : result = (int) ((arg1)->numtextsymbols);
16987 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
16988 :
16989 0 : XSRETURN(argvi);
16990 : fail:
16991 :
16992 0 : SWIG_croak_null();
16993 : }
16994 : }
16995 :
16996 :
16997 0 : XS(_wrap_labelCacheMemberObj_layerindex_get) {
16998 : {
16999 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17000 0 : void *argp1 = 0 ;
17001 : int res1 = 0 ;
17002 : int argvi = 0;
17003 : int result;
17004 0 : dXSARGS;
17005 :
17006 0 : if ((items < 1) || (items > 1)) {
17007 0 : SWIG_croak("Usage: labelCacheMemberObj_layerindex_get(self);");
17008 : }
17009 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17010 0 : if (!SWIG_IsOK(res1)) {
17011 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_layerindex_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17012 : }
17013 0 : arg1 = (labelCacheMemberObj *)(argp1);
17014 0 : result = (int) ((arg1)->layerindex);
17015 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17016 :
17017 0 : XSRETURN(argvi);
17018 : fail:
17019 :
17020 0 : SWIG_croak_null();
17021 : }
17022 : }
17023 :
17024 :
17025 0 : XS(_wrap_labelCacheMemberObj_classindex_get) {
17026 : {
17027 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17028 0 : void *argp1 = 0 ;
17029 : int res1 = 0 ;
17030 : int argvi = 0;
17031 : int result;
17032 0 : dXSARGS;
17033 :
17034 0 : if ((items < 1) || (items > 1)) {
17035 0 : SWIG_croak("Usage: labelCacheMemberObj_classindex_get(self);");
17036 : }
17037 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17038 0 : if (!SWIG_IsOK(res1)) {
17039 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_classindex_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17040 : }
17041 0 : arg1 = (labelCacheMemberObj *)(argp1);
17042 0 : result = (int) ((arg1)->classindex);
17043 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17044 :
17045 0 : XSRETURN(argvi);
17046 : fail:
17047 :
17048 0 : SWIG_croak_null();
17049 : }
17050 : }
17051 :
17052 :
17053 0 : XS(_wrap_labelCacheMemberObj_point_get) {
17054 : {
17055 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17056 0 : void *argp1 = 0 ;
17057 : int res1 = 0 ;
17058 : int argvi = 0;
17059 : pointObj *result = 0 ;
17060 0 : dXSARGS;
17061 :
17062 0 : if ((items < 1) || (items > 1)) {
17063 0 : SWIG_croak("Usage: labelCacheMemberObj_point_get(self);");
17064 : }
17065 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17066 0 : if (!SWIG_IsOK(res1)) {
17067 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_point_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17068 : }
17069 0 : arg1 = (labelCacheMemberObj *)(argp1);
17070 0 : result = (pointObj *)& ((arg1)->point);
17071 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, 0 | SWIG_SHADOW); argvi++ ;
17072 :
17073 0 : XSRETURN(argvi);
17074 : fail:
17075 :
17076 0 : SWIG_croak_null();
17077 : }
17078 : }
17079 :
17080 :
17081 0 : XS(_wrap_labelCacheMemberObj_bbox_get) {
17082 : {
17083 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17084 0 : void *argp1 = 0 ;
17085 : int res1 = 0 ;
17086 : int argvi = 0;
17087 : rectObj *result = 0 ;
17088 0 : dXSARGS;
17089 :
17090 0 : if ((items < 1) || (items > 1)) {
17091 0 : SWIG_croak("Usage: labelCacheMemberObj_bbox_get(self);");
17092 : }
17093 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17094 0 : if (!SWIG_IsOK(res1)) {
17095 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_bbox_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17096 : }
17097 0 : arg1 = (labelCacheMemberObj *)(argp1);
17098 0 : result = (rectObj *)& ((arg1)->bbox);
17099 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
17100 :
17101 0 : XSRETURN(argvi);
17102 : fail:
17103 :
17104 0 : SWIG_croak_null();
17105 : }
17106 : }
17107 :
17108 :
17109 0 : XS(_wrap_labelCacheMemberObj_status_get) {
17110 : {
17111 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17112 0 : void *argp1 = 0 ;
17113 : int res1 = 0 ;
17114 : int argvi = 0;
17115 : int result;
17116 0 : dXSARGS;
17117 :
17118 0 : if ((items < 1) || (items > 1)) {
17119 0 : SWIG_croak("Usage: labelCacheMemberObj_status_get(self);");
17120 : }
17121 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17122 0 : if (!SWIG_IsOK(res1)) {
17123 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_status_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17124 : }
17125 0 : arg1 = (labelCacheMemberObj *)(argp1);
17126 0 : result = (int) ((arg1)->status);
17127 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17128 :
17129 0 : XSRETURN(argvi);
17130 : fail:
17131 :
17132 0 : SWIG_croak_null();
17133 : }
17134 : }
17135 :
17136 :
17137 0 : XS(_wrap_labelCacheMemberObj_markerid_get) {
17138 : {
17139 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17140 0 : void *argp1 = 0 ;
17141 : int res1 = 0 ;
17142 : int argvi = 0;
17143 : int result;
17144 0 : dXSARGS;
17145 :
17146 0 : if ((items < 1) || (items > 1)) {
17147 0 : SWIG_croak("Usage: labelCacheMemberObj_markerid_get(self);");
17148 : }
17149 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17150 0 : if (!SWIG_IsOK(res1)) {
17151 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_markerid_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17152 : }
17153 0 : arg1 = (labelCacheMemberObj *)(argp1);
17154 0 : result = (int) ((arg1)->markerid);
17155 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17156 :
17157 0 : XSRETURN(argvi);
17158 : fail:
17159 :
17160 0 : SWIG_croak_null();
17161 : }
17162 : }
17163 :
17164 :
17165 0 : XS(_wrap_labelCacheMemberObj_leaderline_get) {
17166 : {
17167 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17168 0 : void *argp1 = 0 ;
17169 : int res1 = 0 ;
17170 : int argvi = 0;
17171 : lineObj *result = 0 ;
17172 0 : dXSARGS;
17173 :
17174 0 : if ((items < 1) || (items > 1)) {
17175 0 : SWIG_croak("Usage: labelCacheMemberObj_leaderline_get(self);");
17176 : }
17177 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17178 0 : if (!SWIG_IsOK(res1)) {
17179 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_leaderline_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17180 : }
17181 0 : arg1 = (labelCacheMemberObj *)(argp1);
17182 0 : result = (lineObj *) ((arg1)->leaderline);
17183 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, 0 | SWIG_SHADOW); argvi++ ;
17184 :
17185 0 : XSRETURN(argvi);
17186 : fail:
17187 :
17188 0 : SWIG_croak_null();
17189 : }
17190 : }
17191 :
17192 :
17193 0 : XS(_wrap_labelCacheMemberObj_leaderbbox_get) {
17194 : {
17195 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17196 0 : void *argp1 = 0 ;
17197 : int res1 = 0 ;
17198 : int argvi = 0;
17199 : rectObj *result = 0 ;
17200 0 : dXSARGS;
17201 :
17202 0 : if ((items < 1) || (items > 1)) {
17203 0 : SWIG_croak("Usage: labelCacheMemberObj_leaderbbox_get(self);");
17204 : }
17205 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 | 0 );
17206 0 : if (!SWIG_IsOK(res1)) {
17207 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_leaderbbox_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17208 : }
17209 0 : arg1 = (labelCacheMemberObj *)(argp1);
17210 0 : result = (rectObj *) ((arg1)->leaderbbox);
17211 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
17212 :
17213 0 : XSRETURN(argvi);
17214 : fail:
17215 :
17216 0 : SWIG_croak_null();
17217 : }
17218 : }
17219 :
17220 :
17221 0 : XS(_wrap_new_labelCacheMemberObj) {
17222 : {
17223 : int argvi = 0;
17224 : labelCacheMemberObj *result = 0 ;
17225 0 : dXSARGS;
17226 :
17227 0 : if ((items < 0) || (items > 0)) {
17228 0 : SWIG_croak("Usage: new_labelCacheMemberObj();");
17229 : }
17230 0 : result = (labelCacheMemberObj *)calloc(1, sizeof(labelCacheMemberObj));
17231 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheMemberObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
17232 0 : XSRETURN(argvi);
17233 : fail:
17234 0 : SWIG_croak_null();
17235 : }
17236 : }
17237 :
17238 :
17239 0 : XS(_wrap_delete_labelCacheMemberObj) {
17240 : {
17241 : labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
17242 0 : void *argp1 = 0 ;
17243 : int res1 = 0 ;
17244 : int argvi = 0;
17245 0 : dXSARGS;
17246 :
17247 0 : if ((items < 1) || (items > 1)) {
17248 0 : SWIG_croak("Usage: delete_labelCacheMemberObj(self);");
17249 : }
17250 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, SWIG_POINTER_DISOWN | 0 );
17251 0 : if (!SWIG_IsOK(res1)) {
17252 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelCacheMemberObj" "', argument " "1"" of type '" "labelCacheMemberObj *""'");
17253 : }
17254 0 : arg1 = (labelCacheMemberObj *)(argp1);
17255 0 : free((char *) arg1);
17256 0 : ST(argvi) = sv_newmortal();
17257 :
17258 0 : XSRETURN(argvi);
17259 : fail:
17260 :
17261 0 : SWIG_croak_null();
17262 : }
17263 : }
17264 :
17265 :
17266 0 : XS(_wrap_markerCacheMemberObj_id_get) {
17267 : {
17268 : markerCacheMemberObj *arg1 = (markerCacheMemberObj *) 0 ;
17269 0 : void *argp1 = 0 ;
17270 : int res1 = 0 ;
17271 : int argvi = 0;
17272 : int result;
17273 0 : dXSARGS;
17274 :
17275 0 : if ((items < 1) || (items > 1)) {
17276 0 : SWIG_croak("Usage: markerCacheMemberObj_id_get(self);");
17277 : }
17278 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_markerCacheMemberObj, 0 | 0 );
17279 0 : if (!SWIG_IsOK(res1)) {
17280 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "markerCacheMemberObj_id_get" "', argument " "1"" of type '" "markerCacheMemberObj *""'");
17281 : }
17282 0 : arg1 = (markerCacheMemberObj *)(argp1);
17283 0 : result = (int) ((arg1)->id);
17284 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17285 :
17286 0 : XSRETURN(argvi);
17287 : fail:
17288 :
17289 0 : SWIG_croak_null();
17290 : }
17291 : }
17292 :
17293 :
17294 0 : XS(_wrap_markerCacheMemberObj_bounds_get) {
17295 : {
17296 : markerCacheMemberObj *arg1 = (markerCacheMemberObj *) 0 ;
17297 0 : void *argp1 = 0 ;
17298 : int res1 = 0 ;
17299 : int argvi = 0;
17300 : rectObj *result = 0 ;
17301 0 : dXSARGS;
17302 :
17303 0 : if ((items < 1) || (items > 1)) {
17304 0 : SWIG_croak("Usage: markerCacheMemberObj_bounds_get(self);");
17305 : }
17306 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_markerCacheMemberObj, 0 | 0 );
17307 0 : if (!SWIG_IsOK(res1)) {
17308 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "markerCacheMemberObj_bounds_get" "', argument " "1"" of type '" "markerCacheMemberObj *""'");
17309 : }
17310 0 : arg1 = (markerCacheMemberObj *)(argp1);
17311 0 : result = (rectObj *)& ((arg1)->bounds);
17312 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
17313 :
17314 0 : XSRETURN(argvi);
17315 : fail:
17316 :
17317 0 : SWIG_croak_null();
17318 : }
17319 : }
17320 :
17321 :
17322 0 : XS(_wrap_new_markerCacheMemberObj) {
17323 : {
17324 : int argvi = 0;
17325 : markerCacheMemberObj *result = 0 ;
17326 0 : dXSARGS;
17327 :
17328 0 : if ((items < 0) || (items > 0)) {
17329 0 : SWIG_croak("Usage: new_markerCacheMemberObj();");
17330 : }
17331 0 : result = (markerCacheMemberObj *)calloc(1, sizeof(markerCacheMemberObj));
17332 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_markerCacheMemberObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
17333 0 : XSRETURN(argvi);
17334 : fail:
17335 0 : SWIG_croak_null();
17336 : }
17337 : }
17338 :
17339 :
17340 0 : XS(_wrap_delete_markerCacheMemberObj) {
17341 : {
17342 : markerCacheMemberObj *arg1 = (markerCacheMemberObj *) 0 ;
17343 0 : void *argp1 = 0 ;
17344 : int res1 = 0 ;
17345 : int argvi = 0;
17346 0 : dXSARGS;
17347 :
17348 0 : if ((items < 1) || (items > 1)) {
17349 0 : SWIG_croak("Usage: delete_markerCacheMemberObj(self);");
17350 : }
17351 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_markerCacheMemberObj, SWIG_POINTER_DISOWN | 0 );
17352 0 : if (!SWIG_IsOK(res1)) {
17353 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_markerCacheMemberObj" "', argument " "1"" of type '" "markerCacheMemberObj *""'");
17354 : }
17355 0 : arg1 = (markerCacheMemberObj *)(argp1);
17356 0 : free((char *) arg1);
17357 0 : ST(argvi) = sv_newmortal();
17358 :
17359 0 : XSRETURN(argvi);
17360 : fail:
17361 :
17362 0 : SWIG_croak_null();
17363 : }
17364 : }
17365 :
17366 :
17367 0 : XS(_wrap_labelCacheSlotObj_labels_get) {
17368 : {
17369 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17370 0 : void *argp1 = 0 ;
17371 : int res1 = 0 ;
17372 : int argvi = 0;
17373 : labelCacheMemberObj *result = 0 ;
17374 0 : dXSARGS;
17375 :
17376 0 : if ((items < 1) || (items > 1)) {
17377 0 : SWIG_croak("Usage: labelCacheSlotObj_labels_get(self);");
17378 : }
17379 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 | 0 );
17380 0 : if (!SWIG_IsOK(res1)) {
17381 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_labels_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17382 : }
17383 0 : arg1 = (labelCacheSlotObj *)(argp1);
17384 0 : result = (labelCacheMemberObj *) ((arg1)->labels);
17385 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheMemberObj, 0 | SWIG_SHADOW); argvi++ ;
17386 :
17387 0 : XSRETURN(argvi);
17388 : fail:
17389 :
17390 0 : SWIG_croak_null();
17391 : }
17392 : }
17393 :
17394 :
17395 0 : XS(_wrap_labelCacheSlotObj_numlabels_get) {
17396 : {
17397 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17398 0 : void *argp1 = 0 ;
17399 : int res1 = 0 ;
17400 : int argvi = 0;
17401 : int result;
17402 0 : dXSARGS;
17403 :
17404 0 : if ((items < 1) || (items > 1)) {
17405 0 : SWIG_croak("Usage: labelCacheSlotObj_numlabels_get(self);");
17406 : }
17407 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 | 0 );
17408 0 : if (!SWIG_IsOK(res1)) {
17409 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_numlabels_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17410 : }
17411 0 : arg1 = (labelCacheSlotObj *)(argp1);
17412 0 : result = (int) ((arg1)->numlabels);
17413 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17414 :
17415 0 : XSRETURN(argvi);
17416 : fail:
17417 :
17418 0 : SWIG_croak_null();
17419 : }
17420 : }
17421 :
17422 :
17423 0 : XS(_wrap_labelCacheSlotObj_cachesize_get) {
17424 : {
17425 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17426 0 : void *argp1 = 0 ;
17427 : int res1 = 0 ;
17428 : int argvi = 0;
17429 : int result;
17430 0 : dXSARGS;
17431 :
17432 0 : if ((items < 1) || (items > 1)) {
17433 0 : SWIG_croak("Usage: labelCacheSlotObj_cachesize_get(self);");
17434 : }
17435 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 | 0 );
17436 0 : if (!SWIG_IsOK(res1)) {
17437 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_cachesize_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17438 : }
17439 0 : arg1 = (labelCacheSlotObj *)(argp1);
17440 0 : result = (int) ((arg1)->cachesize);
17441 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17442 :
17443 0 : XSRETURN(argvi);
17444 : fail:
17445 :
17446 0 : SWIG_croak_null();
17447 : }
17448 : }
17449 :
17450 :
17451 0 : XS(_wrap_labelCacheSlotObj_markers_get) {
17452 : {
17453 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17454 0 : void *argp1 = 0 ;
17455 : int res1 = 0 ;
17456 : int argvi = 0;
17457 : markerCacheMemberObj *result = 0 ;
17458 0 : dXSARGS;
17459 :
17460 0 : if ((items < 1) || (items > 1)) {
17461 0 : SWIG_croak("Usage: labelCacheSlotObj_markers_get(self);");
17462 : }
17463 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 | 0 );
17464 0 : if (!SWIG_IsOK(res1)) {
17465 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_markers_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17466 : }
17467 0 : arg1 = (labelCacheSlotObj *)(argp1);
17468 0 : result = (markerCacheMemberObj *) ((arg1)->markers);
17469 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_markerCacheMemberObj, 0 | SWIG_SHADOW); argvi++ ;
17470 :
17471 0 : XSRETURN(argvi);
17472 : fail:
17473 :
17474 0 : SWIG_croak_null();
17475 : }
17476 : }
17477 :
17478 :
17479 0 : XS(_wrap_labelCacheSlotObj_nummarkers_get) {
17480 : {
17481 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17482 0 : void *argp1 = 0 ;
17483 : int res1 = 0 ;
17484 : int argvi = 0;
17485 : int result;
17486 0 : dXSARGS;
17487 :
17488 0 : if ((items < 1) || (items > 1)) {
17489 0 : SWIG_croak("Usage: labelCacheSlotObj_nummarkers_get(self);");
17490 : }
17491 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 | 0 );
17492 0 : if (!SWIG_IsOK(res1)) {
17493 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_nummarkers_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17494 : }
17495 0 : arg1 = (labelCacheSlotObj *)(argp1);
17496 0 : result = (int) ((arg1)->nummarkers);
17497 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17498 :
17499 0 : XSRETURN(argvi);
17500 : fail:
17501 :
17502 0 : SWIG_croak_null();
17503 : }
17504 : }
17505 :
17506 :
17507 0 : XS(_wrap_labelCacheSlotObj_markercachesize_get) {
17508 : {
17509 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17510 0 : void *argp1 = 0 ;
17511 : int res1 = 0 ;
17512 : int argvi = 0;
17513 : int result;
17514 0 : dXSARGS;
17515 :
17516 0 : if ((items < 1) || (items > 1)) {
17517 0 : SWIG_croak("Usage: labelCacheSlotObj_markercachesize_get(self);");
17518 : }
17519 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 | 0 );
17520 0 : if (!SWIG_IsOK(res1)) {
17521 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_markercachesize_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17522 : }
17523 0 : arg1 = (labelCacheSlotObj *)(argp1);
17524 0 : result = (int) ((arg1)->markercachesize);
17525 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17526 :
17527 0 : XSRETURN(argvi);
17528 : fail:
17529 :
17530 0 : SWIG_croak_null();
17531 : }
17532 : }
17533 :
17534 :
17535 0 : XS(_wrap_new_labelCacheSlotObj) {
17536 : {
17537 : int argvi = 0;
17538 : labelCacheSlotObj *result = 0 ;
17539 0 : dXSARGS;
17540 :
17541 0 : if ((items < 0) || (items > 0)) {
17542 0 : SWIG_croak("Usage: new_labelCacheSlotObj();");
17543 : }
17544 0 : result = (labelCacheSlotObj *)calloc(1, sizeof(labelCacheSlotObj));
17545 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheSlotObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
17546 0 : XSRETURN(argvi);
17547 : fail:
17548 0 : SWIG_croak_null();
17549 : }
17550 : }
17551 :
17552 :
17553 0 : XS(_wrap_delete_labelCacheSlotObj) {
17554 : {
17555 : labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
17556 0 : void *argp1 = 0 ;
17557 : int res1 = 0 ;
17558 : int argvi = 0;
17559 0 : dXSARGS;
17560 :
17561 0 : if ((items < 1) || (items > 1)) {
17562 0 : SWIG_croak("Usage: delete_labelCacheSlotObj(self);");
17563 : }
17564 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, SWIG_POINTER_DISOWN | 0 );
17565 0 : if (!SWIG_IsOK(res1)) {
17566 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelCacheSlotObj" "', argument " "1"" of type '" "labelCacheSlotObj *""'");
17567 : }
17568 0 : arg1 = (labelCacheSlotObj *)(argp1);
17569 0 : free((char *) arg1);
17570 0 : ST(argvi) = sv_newmortal();
17571 :
17572 0 : XSRETURN(argvi);
17573 : fail:
17574 :
17575 0 : SWIG_croak_null();
17576 : }
17577 : }
17578 :
17579 :
17580 0 : XS(_wrap_labelCacheObj_slots_get) {
17581 : {
17582 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17583 0 : void *argp1 = 0 ;
17584 : int res1 = 0 ;
17585 : int argvi = 0;
17586 : labelCacheSlotObj *result = 0 ;
17587 0 : dXSARGS;
17588 :
17589 0 : if ((items < 1) || (items > 1)) {
17590 0 : SWIG_croak("Usage: labelCacheObj_slots_get(self);");
17591 : }
17592 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 | 0 );
17593 0 : if (!SWIG_IsOK(res1)) {
17594 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_slots_get" "', argument " "1"" of type '" "labelCacheObj *""'");
17595 : }
17596 0 : arg1 = (labelCacheObj *)(argp1);
17597 0 : result = (labelCacheSlotObj *)(labelCacheSlotObj *) ((arg1)->slots);
17598 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheSlotObj, 0 | SWIG_SHADOW); argvi++ ;
17599 :
17600 0 : XSRETURN(argvi);
17601 : fail:
17602 :
17603 0 : SWIG_croak_null();
17604 : }
17605 : }
17606 :
17607 :
17608 0 : XS(_wrap_labelCacheObj_gutter_get) {
17609 : {
17610 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17611 0 : void *argp1 = 0 ;
17612 : int res1 = 0 ;
17613 : int argvi = 0;
17614 : int result;
17615 0 : dXSARGS;
17616 :
17617 0 : if ((items < 1) || (items > 1)) {
17618 0 : SWIG_croak("Usage: labelCacheObj_gutter_get(self);");
17619 : }
17620 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 | 0 );
17621 0 : if (!SWIG_IsOK(res1)) {
17622 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_gutter_get" "', argument " "1"" of type '" "labelCacheObj *""'");
17623 : }
17624 0 : arg1 = (labelCacheObj *)(argp1);
17625 0 : result = (int) ((arg1)->gutter);
17626 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17627 :
17628 0 : XSRETURN(argvi);
17629 : fail:
17630 :
17631 0 : SWIG_croak_null();
17632 : }
17633 : }
17634 :
17635 :
17636 0 : XS(_wrap_labelCacheObj_rendered_text_symbols_get) {
17637 : {
17638 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17639 0 : void *argp1 = 0 ;
17640 : int res1 = 0 ;
17641 : int argvi = 0;
17642 : labelCacheMemberObj **result = 0 ;
17643 0 : dXSARGS;
17644 :
17645 0 : if ((items < 1) || (items > 1)) {
17646 0 : SWIG_croak("Usage: labelCacheObj_rendered_text_symbols_get(self);");
17647 : }
17648 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 | 0 );
17649 0 : if (!SWIG_IsOK(res1)) {
17650 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_rendered_text_symbols_get" "', argument " "1"" of type '" "labelCacheObj *""'");
17651 : }
17652 0 : arg1 = (labelCacheObj *)(argp1);
17653 0 : result = (labelCacheMemberObj **) ((arg1)->rendered_text_symbols);
17654 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_labelCacheMemberObj, 0 | 0); argvi++ ;
17655 :
17656 0 : XSRETURN(argvi);
17657 : fail:
17658 :
17659 0 : SWIG_croak_null();
17660 : }
17661 : }
17662 :
17663 :
17664 0 : XS(_wrap_labelCacheObj_num_allocated_rendered_members_get) {
17665 : {
17666 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17667 0 : void *argp1 = 0 ;
17668 : int res1 = 0 ;
17669 : int argvi = 0;
17670 : int result;
17671 0 : dXSARGS;
17672 :
17673 0 : if ((items < 1) || (items > 1)) {
17674 0 : SWIG_croak("Usage: labelCacheObj_num_allocated_rendered_members_get(self);");
17675 : }
17676 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 | 0 );
17677 0 : if (!SWIG_IsOK(res1)) {
17678 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_num_allocated_rendered_members_get" "', argument " "1"" of type '" "labelCacheObj *""'");
17679 : }
17680 0 : arg1 = (labelCacheObj *)(argp1);
17681 0 : result = (int) ((arg1)->num_allocated_rendered_members);
17682 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17683 :
17684 0 : XSRETURN(argvi);
17685 : fail:
17686 :
17687 0 : SWIG_croak_null();
17688 : }
17689 : }
17690 :
17691 :
17692 0 : XS(_wrap_labelCacheObj_num_rendered_members_get) {
17693 : {
17694 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17695 0 : void *argp1 = 0 ;
17696 : int res1 = 0 ;
17697 : int argvi = 0;
17698 : int result;
17699 0 : dXSARGS;
17700 :
17701 0 : if ((items < 1) || (items > 1)) {
17702 0 : SWIG_croak("Usage: labelCacheObj_num_rendered_members_get(self);");
17703 : }
17704 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 | 0 );
17705 0 : if (!SWIG_IsOK(res1)) {
17706 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_num_rendered_members_get" "', argument " "1"" of type '" "labelCacheObj *""'");
17707 : }
17708 0 : arg1 = (labelCacheObj *)(argp1);
17709 0 : result = (int) ((arg1)->num_rendered_members);
17710 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17711 :
17712 0 : XSRETURN(argvi);
17713 : fail:
17714 :
17715 0 : SWIG_croak_null();
17716 : }
17717 : }
17718 :
17719 :
17720 0 : XS(_wrap_labelCacheObj_freeCache) {
17721 : {
17722 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17723 0 : void *argp1 = 0 ;
17724 : int res1 = 0 ;
17725 : int argvi = 0;
17726 0 : dXSARGS;
17727 :
17728 0 : if ((items < 1) || (items > 1)) {
17729 0 : SWIG_croak("Usage: labelCacheObj_freeCache(self);");
17730 : }
17731 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 | 0 );
17732 0 : if (!SWIG_IsOK(res1)) {
17733 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_freeCache" "', argument " "1"" of type '" "labelCacheObj *""'");
17734 : }
17735 0 : arg1 = (labelCacheObj *)(argp1);
17736 : labelCacheObj_freeCache(arg1);
17737 0 : ST(argvi) = sv_newmortal();
17738 :
17739 0 : XSRETURN(argvi);
17740 : fail:
17741 :
17742 0 : SWIG_croak_null();
17743 : }
17744 : }
17745 :
17746 :
17747 0 : XS(_wrap_new_labelCacheObj) {
17748 : {
17749 : int argvi = 0;
17750 : labelCacheObj *result = 0 ;
17751 0 : dXSARGS;
17752 :
17753 0 : if ((items < 0) || (items > 0)) {
17754 0 : SWIG_croak("Usage: new_labelCacheObj();");
17755 : }
17756 0 : result = (labelCacheObj *)calloc(1, sizeof(labelCacheObj));
17757 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
17758 0 : XSRETURN(argvi);
17759 : fail:
17760 0 : SWIG_croak_null();
17761 : }
17762 : }
17763 :
17764 :
17765 0 : XS(_wrap_delete_labelCacheObj) {
17766 : {
17767 : labelCacheObj *arg1 = (labelCacheObj *) 0 ;
17768 0 : void *argp1 = 0 ;
17769 : int res1 = 0 ;
17770 : int argvi = 0;
17771 0 : dXSARGS;
17772 :
17773 0 : if ((items < 1) || (items > 1)) {
17774 0 : SWIG_croak("Usage: delete_labelCacheObj(self);");
17775 : }
17776 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, SWIG_POINTER_DISOWN | 0 );
17777 0 : if (!SWIG_IsOK(res1)) {
17778 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelCacheObj" "', argument " "1"" of type '" "labelCacheObj *""'");
17779 : }
17780 0 : arg1 = (labelCacheObj *)(argp1);
17781 0 : free((char *) arg1);
17782 0 : ST(argvi) = sv_newmortal();
17783 :
17784 0 : XSRETURN(argvi);
17785 : fail:
17786 :
17787 0 : SWIG_croak_null();
17788 : }
17789 : }
17790 :
17791 :
17792 0 : XS(_wrap_resultObj_shapeindex_get) {
17793 : {
17794 : resultObj *arg1 = (resultObj *) 0 ;
17795 0 : void *argp1 = 0 ;
17796 : int res1 = 0 ;
17797 : int argvi = 0;
17798 : long result;
17799 0 : dXSARGS;
17800 :
17801 0 : if ((items < 1) || (items > 1)) {
17802 0 : SWIG_croak("Usage: resultObj_shapeindex_get(self);");
17803 : }
17804 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 | 0 );
17805 0 : if (!SWIG_IsOK(res1)) {
17806 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_shapeindex_get" "', argument " "1"" of type '" "resultObj *""'");
17807 : }
17808 0 : arg1 = (resultObj *)(argp1);
17809 0 : result = (long) ((arg1)->shapeindex);
17810 0 : ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((long)(result)); argvi++ ;
17811 :
17812 0 : XSRETURN(argvi);
17813 : fail:
17814 :
17815 0 : SWIG_croak_null();
17816 : }
17817 : }
17818 :
17819 :
17820 0 : XS(_wrap_resultObj_tileindex_get) {
17821 : {
17822 : resultObj *arg1 = (resultObj *) 0 ;
17823 0 : void *argp1 = 0 ;
17824 : int res1 = 0 ;
17825 : int argvi = 0;
17826 : int result;
17827 0 : dXSARGS;
17828 :
17829 0 : if ((items < 1) || (items > 1)) {
17830 0 : SWIG_croak("Usage: resultObj_tileindex_get(self);");
17831 : }
17832 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 | 0 );
17833 0 : if (!SWIG_IsOK(res1)) {
17834 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_tileindex_get" "', argument " "1"" of type '" "resultObj *""'");
17835 : }
17836 0 : arg1 = (resultObj *)(argp1);
17837 0 : result = (int) ((arg1)->tileindex);
17838 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17839 :
17840 0 : XSRETURN(argvi);
17841 : fail:
17842 :
17843 0 : SWIG_croak_null();
17844 : }
17845 : }
17846 :
17847 :
17848 0 : XS(_wrap_resultObj_resultindex_get) {
17849 : {
17850 : resultObj *arg1 = (resultObj *) 0 ;
17851 0 : void *argp1 = 0 ;
17852 : int res1 = 0 ;
17853 : int argvi = 0;
17854 : int result;
17855 0 : dXSARGS;
17856 :
17857 0 : if ((items < 1) || (items > 1)) {
17858 0 : SWIG_croak("Usage: resultObj_resultindex_get(self);");
17859 : }
17860 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 | 0 );
17861 0 : if (!SWIG_IsOK(res1)) {
17862 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_resultindex_get" "', argument " "1"" of type '" "resultObj *""'");
17863 : }
17864 0 : arg1 = (resultObj *)(argp1);
17865 0 : result = (int) ((arg1)->resultindex);
17866 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17867 :
17868 0 : XSRETURN(argvi);
17869 : fail:
17870 :
17871 0 : SWIG_croak_null();
17872 : }
17873 : }
17874 :
17875 :
17876 0 : XS(_wrap_resultObj_classindex_get) {
17877 : {
17878 : resultObj *arg1 = (resultObj *) 0 ;
17879 0 : void *argp1 = 0 ;
17880 : int res1 = 0 ;
17881 : int argvi = 0;
17882 : int result;
17883 0 : dXSARGS;
17884 :
17885 0 : if ((items < 1) || (items > 1)) {
17886 0 : SWIG_croak("Usage: resultObj_classindex_get(self);");
17887 : }
17888 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 | 0 );
17889 0 : if (!SWIG_IsOK(res1)) {
17890 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_classindex_get" "', argument " "1"" of type '" "resultObj *""'");
17891 : }
17892 0 : arg1 = (resultObj *)(argp1);
17893 0 : result = (int) ((arg1)->classindex);
17894 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17895 :
17896 0 : XSRETURN(argvi);
17897 : fail:
17898 :
17899 0 : SWIG_croak_null();
17900 : }
17901 : }
17902 :
17903 :
17904 0 : XS(_wrap_new_resultObj) {
17905 : {
17906 : long arg1 ;
17907 : long val1 ;
17908 : int ecode1 = 0 ;
17909 : int argvi = 0;
17910 : resultObj *result = 0 ;
17911 0 : dXSARGS;
17912 :
17913 0 : if ((items < 1) || (items > 1)) {
17914 0 : SWIG_croak("Usage: new_resultObj(shapeindex);");
17915 : }
17916 0 : ecode1 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
17917 0 : if (!SWIG_IsOK(ecode1)) {
17918 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_resultObj" "', argument " "1"" of type '" "long""'");
17919 : }
17920 0 : arg1 = (long)(val1);
17921 : result = (resultObj *)new_resultObj(arg1);
17922 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
17923 :
17924 0 : XSRETURN(argvi);
17925 : fail:
17926 :
17927 0 : SWIG_croak_null();
17928 : }
17929 : }
17930 :
17931 :
17932 0 : XS(_wrap_delete_resultObj) {
17933 : {
17934 : resultObj *arg1 = (resultObj *) 0 ;
17935 0 : void *argp1 = 0 ;
17936 : int res1 = 0 ;
17937 : int argvi = 0;
17938 0 : dXSARGS;
17939 :
17940 0 : if ((items < 1) || (items > 1)) {
17941 0 : SWIG_croak("Usage: delete_resultObj(self);");
17942 : }
17943 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, SWIG_POINTER_DISOWN | 0 );
17944 0 : if (!SWIG_IsOK(res1)) {
17945 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_resultObj" "', argument " "1"" of type '" "resultObj *""'");
17946 : }
17947 0 : arg1 = (resultObj *)(argp1);
17948 : delete_resultObj(arg1);
17949 0 : ST(argvi) = sv_newmortal();
17950 :
17951 0 : XSRETURN(argvi);
17952 : fail:
17953 :
17954 0 : SWIG_croak_null();
17955 : }
17956 : }
17957 :
17958 :
17959 0 : XS(_wrap_resultCacheObj_numresults_get) {
17960 : {
17961 : resultCacheObj *arg1 = (resultCacheObj *) 0 ;
17962 0 : void *argp1 = 0 ;
17963 : int res1 = 0 ;
17964 : int argvi = 0;
17965 : int result;
17966 0 : dXSARGS;
17967 :
17968 0 : if ((items < 1) || (items > 1)) {
17969 0 : SWIG_croak("Usage: resultCacheObj_numresults_get(self);");
17970 : }
17971 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 | 0 );
17972 0 : if (!SWIG_IsOK(res1)) {
17973 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_numresults_get" "', argument " "1"" of type '" "resultCacheObj *""'");
17974 : }
17975 0 : arg1 = (resultCacheObj *)(argp1);
17976 0 : result = (int) ((arg1)->numresults);
17977 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
17978 :
17979 0 : XSRETURN(argvi);
17980 : fail:
17981 :
17982 0 : SWIG_croak_null();
17983 : }
17984 : }
17985 :
17986 :
17987 0 : XS(_wrap_resultCacheObj_bounds_get) {
17988 : {
17989 : resultCacheObj *arg1 = (resultCacheObj *) 0 ;
17990 0 : void *argp1 = 0 ;
17991 : int res1 = 0 ;
17992 : int argvi = 0;
17993 : rectObj *result = 0 ;
17994 0 : dXSARGS;
17995 :
17996 0 : if ((items < 1) || (items > 1)) {
17997 0 : SWIG_croak("Usage: resultCacheObj_bounds_get(self);");
17998 : }
17999 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 | 0 );
18000 0 : if (!SWIG_IsOK(res1)) {
18001 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_bounds_get" "', argument " "1"" of type '" "resultCacheObj *""'");
18002 : }
18003 0 : arg1 = (resultCacheObj *)(argp1);
18004 0 : result = (rectObj *)& ((arg1)->bounds);
18005 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
18006 :
18007 0 : XSRETURN(argvi);
18008 : fail:
18009 :
18010 0 : SWIG_croak_null();
18011 : }
18012 : }
18013 :
18014 :
18015 0 : XS(_wrap_resultCacheObj_usegetshape_set) {
18016 : {
18017 : resultCacheObj *arg1 = (resultCacheObj *) 0 ;
18018 : int arg2 ;
18019 0 : void *argp1 = 0 ;
18020 : int res1 = 0 ;
18021 : int val2 ;
18022 : int ecode2 = 0 ;
18023 : int argvi = 0;
18024 0 : dXSARGS;
18025 :
18026 0 : if ((items < 2) || (items > 2)) {
18027 0 : SWIG_croak("Usage: resultCacheObj_usegetshape_set(self,usegetshape);");
18028 : }
18029 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 | 0 );
18030 0 : if (!SWIG_IsOK(res1)) {
18031 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_usegetshape_set" "', argument " "1"" of type '" "resultCacheObj *""'");
18032 : }
18033 0 : arg1 = (resultCacheObj *)(argp1);
18034 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18035 0 : if (!SWIG_IsOK(ecode2)) {
18036 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "resultCacheObj_usegetshape_set" "', argument " "2"" of type '" "int""'");
18037 : }
18038 0 : arg2 = (int)(val2);
18039 0 : if (arg1) (arg1)->usegetshape = arg2;
18040 0 : ST(argvi) = sv_newmortal();
18041 :
18042 :
18043 0 : XSRETURN(argvi);
18044 : fail:
18045 :
18046 :
18047 0 : SWIG_croak_null();
18048 : }
18049 : }
18050 :
18051 :
18052 0 : XS(_wrap_resultCacheObj_usegetshape_get) {
18053 : {
18054 : resultCacheObj *arg1 = (resultCacheObj *) 0 ;
18055 0 : void *argp1 = 0 ;
18056 : int res1 = 0 ;
18057 : int argvi = 0;
18058 : int result;
18059 0 : dXSARGS;
18060 :
18061 0 : if ((items < 1) || (items > 1)) {
18062 0 : SWIG_croak("Usage: resultCacheObj_usegetshape_get(self);");
18063 : }
18064 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 | 0 );
18065 0 : if (!SWIG_IsOK(res1)) {
18066 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_usegetshape_get" "', argument " "1"" of type '" "resultCacheObj *""'");
18067 : }
18068 0 : arg1 = (resultCacheObj *)(argp1);
18069 0 : result = (int) ((arg1)->usegetshape);
18070 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18071 :
18072 0 : XSRETURN(argvi);
18073 : fail:
18074 :
18075 0 : SWIG_croak_null();
18076 : }
18077 : }
18078 :
18079 :
18080 0 : XS(_wrap_resultCacheObj_getResult) {
18081 : {
18082 : resultCacheObj *arg1 = (resultCacheObj *) 0 ;
18083 : int arg2 ;
18084 0 : void *argp1 = 0 ;
18085 : int res1 = 0 ;
18086 : int val2 ;
18087 : int ecode2 = 0 ;
18088 : int argvi = 0;
18089 : resultObj *result = 0 ;
18090 0 : dXSARGS;
18091 :
18092 0 : if ((items < 2) || (items > 2)) {
18093 0 : SWIG_croak("Usage: resultCacheObj_getResult(self,i);");
18094 : }
18095 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 | 0 );
18096 0 : if (!SWIG_IsOK(res1)) {
18097 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_getResult" "', argument " "1"" of type '" "resultCacheObj *""'");
18098 : }
18099 0 : arg1 = (resultCacheObj *)(argp1);
18100 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18101 0 : if (!SWIG_IsOK(ecode2)) {
18102 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "resultCacheObj_getResult" "', argument " "2"" of type '" "int""'");
18103 : }
18104 0 : arg2 = (int)(val2);
18105 : result = (resultObj *)resultCacheObj_getResult(arg1,arg2);
18106 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultObj, 0 | SWIG_SHADOW); argvi++ ;
18107 :
18108 :
18109 0 : XSRETURN(argvi);
18110 : fail:
18111 :
18112 :
18113 0 : SWIG_croak_null();
18114 : }
18115 : }
18116 :
18117 :
18118 0 : XS(_wrap_new_resultCacheObj) {
18119 : {
18120 : int argvi = 0;
18121 : resultCacheObj *result = 0 ;
18122 0 : dXSARGS;
18123 :
18124 0 : if ((items < 0) || (items > 0)) {
18125 0 : SWIG_croak("Usage: new_resultCacheObj();");
18126 : }
18127 0 : result = (resultCacheObj *)calloc(1, sizeof(resultCacheObj));
18128 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultCacheObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
18129 0 : XSRETURN(argvi);
18130 : fail:
18131 0 : SWIG_croak_null();
18132 : }
18133 : }
18134 :
18135 :
18136 0 : XS(_wrap_delete_resultCacheObj) {
18137 : {
18138 : resultCacheObj *arg1 = (resultCacheObj *) 0 ;
18139 0 : void *argp1 = 0 ;
18140 : int res1 = 0 ;
18141 : int argvi = 0;
18142 0 : dXSARGS;
18143 :
18144 0 : if ((items < 1) || (items > 1)) {
18145 0 : SWIG_croak("Usage: delete_resultCacheObj(self);");
18146 : }
18147 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, SWIG_POINTER_DISOWN | 0 );
18148 0 : if (!SWIG_IsOK(res1)) {
18149 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_resultCacheObj" "', argument " "1"" of type '" "resultCacheObj *""'");
18150 : }
18151 0 : arg1 = (resultCacheObj *)(argp1);
18152 0 : free((char *) arg1);
18153 0 : ST(argvi) = sv_newmortal();
18154 :
18155 0 : XSRETURN(argvi);
18156 : fail:
18157 :
18158 0 : SWIG_croak_null();
18159 : }
18160 : }
18161 :
18162 :
18163 0 : XS(_wrap_symbolSetObj_filename_set) {
18164 : {
18165 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18166 : char *arg2 = (char *) 0 ;
18167 0 : void *argp1 = 0 ;
18168 : int res1 = 0 ;
18169 : int res2 ;
18170 0 : char *buf2 = 0 ;
18171 0 : int alloc2 = 0 ;
18172 : int argvi = 0;
18173 0 : dXSARGS;
18174 :
18175 0 : if ((items < 2) || (items > 2)) {
18176 0 : SWIG_croak("Usage: symbolSetObj_filename_set(self,filename);");
18177 : }
18178 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18179 0 : if (!SWIG_IsOK(res1)) {
18180 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_filename_set" "', argument " "1"" of type '" "symbolSetObj *""'");
18181 : }
18182 0 : arg1 = (symbolSetObj *)(argp1);
18183 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
18184 0 : if (!SWIG_IsOK(res2)) {
18185 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_filename_set" "', argument " "2"" of type '" "char *""'");
18186 : }
18187 0 : arg2 = (char *)(buf2);
18188 : {
18189 0 : if (arg1->filename) free((char*)arg1->filename);
18190 0 : if (arg2) {
18191 0 : arg1->filename = (char *) malloc(strlen(arg2)+1);
18192 : strcpy((char*)arg1->filename,arg2);
18193 : } else {
18194 0 : arg1->filename = 0;
18195 : }
18196 : }
18197 0 : ST(argvi) = sv_newmortal();
18198 :
18199 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18200 0 : XSRETURN(argvi);
18201 : fail:
18202 :
18203 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18204 0 : SWIG_croak_null();
18205 : }
18206 : }
18207 :
18208 :
18209 0 : XS(_wrap_symbolSetObj_filename_get) {
18210 : {
18211 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18212 0 : void *argp1 = 0 ;
18213 : int res1 = 0 ;
18214 : int argvi = 0;
18215 : char *result = 0 ;
18216 0 : dXSARGS;
18217 :
18218 0 : if ((items < 1) || (items > 1)) {
18219 0 : SWIG_croak("Usage: symbolSetObj_filename_get(self);");
18220 : }
18221 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18222 0 : if (!SWIG_IsOK(res1)) {
18223 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_filename_get" "', argument " "1"" of type '" "symbolSetObj *""'");
18224 : }
18225 0 : arg1 = (symbolSetObj *)(argp1);
18226 0 : result = (char *) ((arg1)->filename);
18227 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
18228 :
18229 0 : XSRETURN(argvi);
18230 : fail:
18231 :
18232 0 : SWIG_croak_null();
18233 : }
18234 : }
18235 :
18236 :
18237 0 : XS(_wrap_symbolSetObj_imagecachesize_set) {
18238 : {
18239 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18240 : int arg2 ;
18241 0 : void *argp1 = 0 ;
18242 : int res1 = 0 ;
18243 : int val2 ;
18244 : int ecode2 = 0 ;
18245 : int argvi = 0;
18246 0 : dXSARGS;
18247 :
18248 0 : if ((items < 2) || (items > 2)) {
18249 0 : SWIG_croak("Usage: symbolSetObj_imagecachesize_set(self,imagecachesize);");
18250 : }
18251 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18252 0 : if (!SWIG_IsOK(res1)) {
18253 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_imagecachesize_set" "', argument " "1"" of type '" "symbolSetObj *""'");
18254 : }
18255 0 : arg1 = (symbolSetObj *)(argp1);
18256 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18257 0 : if (!SWIG_IsOK(ecode2)) {
18258 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolSetObj_imagecachesize_set" "', argument " "2"" of type '" "int""'");
18259 : }
18260 0 : arg2 = (int)(val2);
18261 0 : if (arg1) (arg1)->imagecachesize = arg2;
18262 0 : ST(argvi) = sv_newmortal();
18263 :
18264 :
18265 0 : XSRETURN(argvi);
18266 : fail:
18267 :
18268 :
18269 0 : SWIG_croak_null();
18270 : }
18271 : }
18272 :
18273 :
18274 0 : XS(_wrap_symbolSetObj_imagecachesize_get) {
18275 : {
18276 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18277 0 : void *argp1 = 0 ;
18278 : int res1 = 0 ;
18279 : int argvi = 0;
18280 : int result;
18281 0 : dXSARGS;
18282 :
18283 0 : if ((items < 1) || (items > 1)) {
18284 0 : SWIG_croak("Usage: symbolSetObj_imagecachesize_get(self);");
18285 : }
18286 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18287 0 : if (!SWIG_IsOK(res1)) {
18288 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_imagecachesize_get" "', argument " "1"" of type '" "symbolSetObj *""'");
18289 : }
18290 0 : arg1 = (symbolSetObj *)(argp1);
18291 0 : result = (int) ((arg1)->imagecachesize);
18292 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18293 :
18294 0 : XSRETURN(argvi);
18295 : fail:
18296 :
18297 0 : SWIG_croak_null();
18298 : }
18299 : }
18300 :
18301 :
18302 0 : XS(_wrap_symbolSetObj_numsymbols_get) {
18303 : {
18304 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18305 0 : void *argp1 = 0 ;
18306 : int res1 = 0 ;
18307 : int argvi = 0;
18308 : int result;
18309 0 : dXSARGS;
18310 :
18311 0 : if ((items < 1) || (items > 1)) {
18312 0 : SWIG_croak("Usage: symbolSetObj_numsymbols_get(self);");
18313 : }
18314 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18315 0 : if (!SWIG_IsOK(res1)) {
18316 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_numsymbols_get" "', argument " "1"" of type '" "symbolSetObj *""'");
18317 : }
18318 0 : arg1 = (symbolSetObj *)(argp1);
18319 0 : result = (int) ((arg1)->numsymbols);
18320 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18321 :
18322 0 : XSRETURN(argvi);
18323 : fail:
18324 :
18325 0 : SWIG_croak_null();
18326 : }
18327 : }
18328 :
18329 :
18330 0 : XS(_wrap_symbolSetObj_maxsymbols_get) {
18331 : {
18332 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18333 0 : void *argp1 = 0 ;
18334 : int res1 = 0 ;
18335 : int argvi = 0;
18336 : int result;
18337 0 : dXSARGS;
18338 :
18339 0 : if ((items < 1) || (items > 1)) {
18340 0 : SWIG_croak("Usage: symbolSetObj_maxsymbols_get(self);");
18341 : }
18342 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18343 0 : if (!SWIG_IsOK(res1)) {
18344 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_maxsymbols_get" "', argument " "1"" of type '" "symbolSetObj *""'");
18345 : }
18346 0 : arg1 = (symbolSetObj *)(argp1);
18347 0 : result = (int) ((arg1)->maxsymbols);
18348 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18349 :
18350 0 : XSRETURN(argvi);
18351 : fail:
18352 :
18353 0 : SWIG_croak_null();
18354 : }
18355 : }
18356 :
18357 :
18358 0 : XS(_wrap_new_symbolSetObj) {
18359 : {
18360 : char *arg1 = (char *) NULL ;
18361 : int res1 ;
18362 0 : char *buf1 = 0 ;
18363 0 : int alloc1 = 0 ;
18364 : int argvi = 0;
18365 : symbolSetObj *result = 0 ;
18366 0 : dXSARGS;
18367 :
18368 0 : if ((items < 0) || (items > 1)) {
18369 0 : SWIG_croak("Usage: new_symbolSetObj(symbolfile);");
18370 : }
18371 0 : if (items > 0) {
18372 0 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
18373 0 : if (!SWIG_IsOK(res1)) {
18374 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_symbolSetObj" "', argument " "1"" of type '" "char const *""'");
18375 : }
18376 0 : arg1 = (char *)(buf1);
18377 : }
18378 0 : result = (symbolSetObj *)new_symbolSetObj((char const *)arg1);
18379 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolSetObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
18380 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18381 0 : XSRETURN(argvi);
18382 : fail:
18383 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
18384 0 : SWIG_croak_null();
18385 : }
18386 : }
18387 :
18388 :
18389 0 : XS(_wrap_delete_symbolSetObj) {
18390 : {
18391 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18392 0 : void *argp1 = 0 ;
18393 : int res1 = 0 ;
18394 : int argvi = 0;
18395 0 : dXSARGS;
18396 :
18397 0 : if ((items < 1) || (items > 1)) {
18398 0 : SWIG_croak("Usage: delete_symbolSetObj(self);");
18399 : }
18400 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, SWIG_POINTER_DISOWN | 0 );
18401 0 : if (!SWIG_IsOK(res1)) {
18402 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_symbolSetObj" "', argument " "1"" of type '" "symbolSetObj *""'");
18403 : }
18404 0 : arg1 = (symbolSetObj *)(argp1);
18405 0 : delete_symbolSetObj(arg1);
18406 0 : ST(argvi) = sv_newmortal();
18407 :
18408 0 : XSRETURN(argvi);
18409 : fail:
18410 :
18411 0 : SWIG_croak_null();
18412 : }
18413 : }
18414 :
18415 :
18416 0 : XS(_wrap_symbolSetObj_getSymbol) {
18417 : {
18418 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18419 : int arg2 ;
18420 0 : void *argp1 = 0 ;
18421 : int res1 = 0 ;
18422 : int val2 ;
18423 : int ecode2 = 0 ;
18424 : int argvi = 0;
18425 : symbolObj *result = 0 ;
18426 0 : dXSARGS;
18427 :
18428 0 : if ((items < 2) || (items > 2)) {
18429 0 : SWIG_croak("Usage: symbolSetObj_getSymbol(self,i);");
18430 : }
18431 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18432 0 : if (!SWIG_IsOK(res1)) {
18433 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_getSymbol" "', argument " "1"" of type '" "symbolSetObj *""'");
18434 : }
18435 0 : arg1 = (symbolSetObj *)(argp1);
18436 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18437 0 : if (!SWIG_IsOK(ecode2)) {
18438 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolSetObj_getSymbol" "', argument " "2"" of type '" "int""'");
18439 : }
18440 0 : arg2 = (int)(val2);
18441 0 : result = (symbolObj *)symbolSetObj_getSymbol(arg1,arg2);
18442 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
18443 :
18444 :
18445 0 : XSRETURN(argvi);
18446 : fail:
18447 :
18448 :
18449 0 : SWIG_croak_null();
18450 : }
18451 : }
18452 :
18453 :
18454 0 : XS(_wrap_symbolSetObj_getSymbolByName) {
18455 : {
18456 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18457 : char *arg2 = (char *) 0 ;
18458 0 : void *argp1 = 0 ;
18459 : int res1 = 0 ;
18460 : int res2 ;
18461 0 : char *buf2 = 0 ;
18462 0 : int alloc2 = 0 ;
18463 : int argvi = 0;
18464 : symbolObj *result = 0 ;
18465 0 : dXSARGS;
18466 :
18467 0 : if ((items < 2) || (items > 2)) {
18468 0 : SWIG_croak("Usage: symbolSetObj_getSymbolByName(self,symbolname);");
18469 : }
18470 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18471 0 : if (!SWIG_IsOK(res1)) {
18472 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_getSymbolByName" "', argument " "1"" of type '" "symbolSetObj *""'");
18473 : }
18474 0 : arg1 = (symbolSetObj *)(argp1);
18475 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
18476 0 : if (!SWIG_IsOK(res2)) {
18477 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_getSymbolByName" "', argument " "2"" of type '" "char *""'");
18478 : }
18479 0 : arg2 = (char *)(buf2);
18480 0 : result = (symbolObj *)symbolSetObj_getSymbolByName(arg1,arg2);
18481 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
18482 :
18483 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18484 0 : XSRETURN(argvi);
18485 : fail:
18486 :
18487 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18488 0 : SWIG_croak_null();
18489 : }
18490 : }
18491 :
18492 :
18493 0 : XS(_wrap_symbolSetObj_index) {
18494 : {
18495 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18496 : char *arg2 = (char *) 0 ;
18497 0 : void *argp1 = 0 ;
18498 : int res1 = 0 ;
18499 : int res2 ;
18500 0 : char *buf2 = 0 ;
18501 0 : int alloc2 = 0 ;
18502 : int argvi = 0;
18503 : int result;
18504 0 : dXSARGS;
18505 :
18506 0 : if ((items < 2) || (items > 2)) {
18507 0 : SWIG_croak("Usage: symbolSetObj_index(self,symbolname);");
18508 : }
18509 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18510 0 : if (!SWIG_IsOK(res1)) {
18511 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_index" "', argument " "1"" of type '" "symbolSetObj *""'");
18512 : }
18513 0 : arg1 = (symbolSetObj *)(argp1);
18514 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
18515 0 : if (!SWIG_IsOK(res2)) {
18516 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_index" "', argument " "2"" of type '" "char *""'");
18517 : }
18518 0 : arg2 = (char *)(buf2);
18519 : result = (int)symbolSetObj_index(arg1,arg2);
18520 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18521 :
18522 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18523 0 : XSRETURN(argvi);
18524 : fail:
18525 :
18526 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18527 0 : SWIG_croak_null();
18528 : }
18529 : }
18530 :
18531 :
18532 0 : XS(_wrap_symbolSetObj_appendSymbol) {
18533 : {
18534 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18535 : symbolObj *arg2 = (symbolObj *) 0 ;
18536 0 : void *argp1 = 0 ;
18537 : int res1 = 0 ;
18538 0 : void *argp2 = 0 ;
18539 : int res2 = 0 ;
18540 : int argvi = 0;
18541 : int result;
18542 0 : dXSARGS;
18543 :
18544 0 : if ((items < 2) || (items > 2)) {
18545 0 : SWIG_croak("Usage: symbolSetObj_appendSymbol(self,symbol);");
18546 : }
18547 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18548 0 : if (!SWIG_IsOK(res1)) {
18549 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_appendSymbol" "', argument " "1"" of type '" "symbolSetObj *""'");
18550 : }
18551 0 : arg1 = (symbolSetObj *)(argp1);
18552 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_symbolObj, 0 | 0 );
18553 0 : if (!SWIG_IsOK(res2)) {
18554 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_appendSymbol" "', argument " "2"" of type '" "symbolObj *""'");
18555 : }
18556 0 : arg2 = (symbolObj *)(argp2);
18557 : result = (int)symbolSetObj_appendSymbol(arg1,arg2);
18558 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18559 :
18560 :
18561 0 : XSRETURN(argvi);
18562 : fail:
18563 :
18564 :
18565 0 : SWIG_croak_null();
18566 : }
18567 : }
18568 :
18569 :
18570 0 : XS(_wrap_symbolSetObj_removeSymbol) {
18571 : {
18572 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18573 : int arg2 ;
18574 0 : void *argp1 = 0 ;
18575 : int res1 = 0 ;
18576 : int val2 ;
18577 : int ecode2 = 0 ;
18578 : int argvi = 0;
18579 : symbolObj *result = 0 ;
18580 0 : dXSARGS;
18581 :
18582 0 : if ((items < 2) || (items > 2)) {
18583 0 : SWIG_croak("Usage: symbolSetObj_removeSymbol(self,index);");
18584 : }
18585 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18586 0 : if (!SWIG_IsOK(res1)) {
18587 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_removeSymbol" "', argument " "1"" of type '" "symbolSetObj *""'");
18588 : }
18589 0 : arg1 = (symbolSetObj *)(argp1);
18590 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18591 0 : if (!SWIG_IsOK(ecode2)) {
18592 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolSetObj_removeSymbol" "', argument " "2"" of type '" "int""'");
18593 : }
18594 0 : arg2 = (int)(val2);
18595 0 : result = (symbolObj *)symbolSetObj_removeSymbol(arg1,arg2);
18596 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
18597 :
18598 :
18599 0 : XSRETURN(argvi);
18600 : fail:
18601 :
18602 :
18603 0 : SWIG_croak_null();
18604 : }
18605 : }
18606 :
18607 :
18608 0 : XS(_wrap_symbolSetObj_save) {
18609 : {
18610 : symbolSetObj *arg1 = (symbolSetObj *) 0 ;
18611 : char *arg2 = (char *) 0 ;
18612 0 : void *argp1 = 0 ;
18613 : int res1 = 0 ;
18614 : int res2 ;
18615 0 : char *buf2 = 0 ;
18616 0 : int alloc2 = 0 ;
18617 : int argvi = 0;
18618 : int result;
18619 0 : dXSARGS;
18620 :
18621 0 : if ((items < 2) || (items > 2)) {
18622 0 : SWIG_croak("Usage: symbolSetObj_save(self,filename);");
18623 : }
18624 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 | 0 );
18625 0 : if (!SWIG_IsOK(res1)) {
18626 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_save" "', argument " "1"" of type '" "symbolSetObj *""'");
18627 : }
18628 0 : arg1 = (symbolSetObj *)(argp1);
18629 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
18630 0 : if (!SWIG_IsOK(res2)) {
18631 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_save" "', argument " "2"" of type '" "char const *""'");
18632 : }
18633 0 : arg2 = (char *)(buf2);
18634 : result = (int)symbolSetObj_save(arg1,(char const *)arg2);
18635 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18636 :
18637 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18638 0 : XSRETURN(argvi);
18639 : fail:
18640 :
18641 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
18642 0 : SWIG_croak_null();
18643 : }
18644 : }
18645 :
18646 :
18647 0 : XS(_wrap_referenceMapObj_extent_set) {
18648 : {
18649 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18650 : rectObj *arg2 = (rectObj *) 0 ;
18651 0 : void *argp1 = 0 ;
18652 : int res1 = 0 ;
18653 0 : void *argp2 = 0 ;
18654 : int res2 = 0 ;
18655 : int argvi = 0;
18656 0 : dXSARGS;
18657 :
18658 0 : if ((items < 2) || (items > 2)) {
18659 0 : SWIG_croak("Usage: referenceMapObj_extent_set(self,extent);");
18660 : }
18661 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18662 0 : if (!SWIG_IsOK(res1)) {
18663 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_extent_set" "', argument " "1"" of type '" "referenceMapObj *""'");
18664 : }
18665 0 : arg1 = (referenceMapObj *)(argp1);
18666 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 | 0 );
18667 0 : if (!SWIG_IsOK(res2)) {
18668 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_extent_set" "', argument " "2"" of type '" "rectObj *""'");
18669 : }
18670 0 : arg2 = (rectObj *)(argp2);
18671 0 : if (arg1) (arg1)->extent = *arg2;
18672 0 : ST(argvi) = sv_newmortal();
18673 :
18674 :
18675 0 : XSRETURN(argvi);
18676 : fail:
18677 :
18678 :
18679 0 : SWIG_croak_null();
18680 : }
18681 : }
18682 :
18683 :
18684 0 : XS(_wrap_referenceMapObj_extent_get) {
18685 : {
18686 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18687 0 : void *argp1 = 0 ;
18688 : int res1 = 0 ;
18689 : int argvi = 0;
18690 : rectObj *result = 0 ;
18691 0 : dXSARGS;
18692 :
18693 0 : if ((items < 1) || (items > 1)) {
18694 0 : SWIG_croak("Usage: referenceMapObj_extent_get(self);");
18695 : }
18696 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18697 0 : if (!SWIG_IsOK(res1)) {
18698 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_extent_get" "', argument " "1"" of type '" "referenceMapObj *""'");
18699 : }
18700 0 : arg1 = (referenceMapObj *)(argp1);
18701 0 : result = (rectObj *)& ((arg1)->extent);
18702 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
18703 :
18704 0 : XSRETURN(argvi);
18705 : fail:
18706 :
18707 0 : SWIG_croak_null();
18708 : }
18709 : }
18710 :
18711 :
18712 0 : XS(_wrap_referenceMapObj_height_set) {
18713 : {
18714 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18715 : int arg2 ;
18716 0 : void *argp1 = 0 ;
18717 : int res1 = 0 ;
18718 : int val2 ;
18719 : int ecode2 = 0 ;
18720 : int argvi = 0;
18721 0 : dXSARGS;
18722 :
18723 0 : if ((items < 2) || (items > 2)) {
18724 0 : SWIG_croak("Usage: referenceMapObj_height_set(self,height);");
18725 : }
18726 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18727 0 : if (!SWIG_IsOK(res1)) {
18728 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_height_set" "', argument " "1"" of type '" "referenceMapObj *""'");
18729 : }
18730 0 : arg1 = (referenceMapObj *)(argp1);
18731 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18732 0 : if (!SWIG_IsOK(ecode2)) {
18733 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_height_set" "', argument " "2"" of type '" "int""'");
18734 : }
18735 0 : arg2 = (int)(val2);
18736 0 : if (arg1) (arg1)->height = arg2;
18737 0 : ST(argvi) = sv_newmortal();
18738 :
18739 :
18740 0 : XSRETURN(argvi);
18741 : fail:
18742 :
18743 :
18744 0 : SWIG_croak_null();
18745 : }
18746 : }
18747 :
18748 :
18749 0 : XS(_wrap_referenceMapObj_height_get) {
18750 : {
18751 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18752 0 : void *argp1 = 0 ;
18753 : int res1 = 0 ;
18754 : int argvi = 0;
18755 : int result;
18756 0 : dXSARGS;
18757 :
18758 0 : if ((items < 1) || (items > 1)) {
18759 0 : SWIG_croak("Usage: referenceMapObj_height_get(self);");
18760 : }
18761 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18762 0 : if (!SWIG_IsOK(res1)) {
18763 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_height_get" "', argument " "1"" of type '" "referenceMapObj *""'");
18764 : }
18765 0 : arg1 = (referenceMapObj *)(argp1);
18766 0 : result = (int) ((arg1)->height);
18767 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18768 :
18769 0 : XSRETURN(argvi);
18770 : fail:
18771 :
18772 0 : SWIG_croak_null();
18773 : }
18774 : }
18775 :
18776 :
18777 0 : XS(_wrap_referenceMapObj_width_set) {
18778 : {
18779 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18780 : int arg2 ;
18781 0 : void *argp1 = 0 ;
18782 : int res1 = 0 ;
18783 : int val2 ;
18784 : int ecode2 = 0 ;
18785 : int argvi = 0;
18786 0 : dXSARGS;
18787 :
18788 0 : if ((items < 2) || (items > 2)) {
18789 0 : SWIG_croak("Usage: referenceMapObj_width_set(self,width);");
18790 : }
18791 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18792 0 : if (!SWIG_IsOK(res1)) {
18793 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_width_set" "', argument " "1"" of type '" "referenceMapObj *""'");
18794 : }
18795 0 : arg1 = (referenceMapObj *)(argp1);
18796 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
18797 0 : if (!SWIG_IsOK(ecode2)) {
18798 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_width_set" "', argument " "2"" of type '" "int""'");
18799 : }
18800 0 : arg2 = (int)(val2);
18801 0 : if (arg1) (arg1)->width = arg2;
18802 0 : ST(argvi) = sv_newmortal();
18803 :
18804 :
18805 0 : XSRETURN(argvi);
18806 : fail:
18807 :
18808 :
18809 0 : SWIG_croak_null();
18810 : }
18811 : }
18812 :
18813 :
18814 0 : XS(_wrap_referenceMapObj_width_get) {
18815 : {
18816 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18817 0 : void *argp1 = 0 ;
18818 : int res1 = 0 ;
18819 : int argvi = 0;
18820 : int result;
18821 0 : dXSARGS;
18822 :
18823 0 : if ((items < 1) || (items > 1)) {
18824 0 : SWIG_croak("Usage: referenceMapObj_width_get(self);");
18825 : }
18826 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18827 0 : if (!SWIG_IsOK(res1)) {
18828 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_width_get" "', argument " "1"" of type '" "referenceMapObj *""'");
18829 : }
18830 0 : arg1 = (referenceMapObj *)(argp1);
18831 0 : result = (int) ((arg1)->width);
18832 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
18833 :
18834 0 : XSRETURN(argvi);
18835 : fail:
18836 :
18837 0 : SWIG_croak_null();
18838 : }
18839 : }
18840 :
18841 :
18842 0 : XS(_wrap_referenceMapObj_color_set) {
18843 : {
18844 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18845 : colorObj *arg2 = (colorObj *) 0 ;
18846 0 : void *argp1 = 0 ;
18847 : int res1 = 0 ;
18848 0 : void *argp2 = 0 ;
18849 : int res2 = 0 ;
18850 : int argvi = 0;
18851 0 : dXSARGS;
18852 :
18853 0 : if ((items < 2) || (items > 2)) {
18854 0 : SWIG_croak("Usage: referenceMapObj_color_set(self,color);");
18855 : }
18856 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18857 0 : if (!SWIG_IsOK(res1)) {
18858 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_color_set" "', argument " "1"" of type '" "referenceMapObj *""'");
18859 : }
18860 0 : arg1 = (referenceMapObj *)(argp1);
18861 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
18862 0 : if (!SWIG_IsOK(res2)) {
18863 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_color_set" "', argument " "2"" of type '" "colorObj *""'");
18864 : }
18865 0 : arg2 = (colorObj *)(argp2);
18866 0 : if (arg1) (arg1)->color = *arg2;
18867 0 : ST(argvi) = sv_newmortal();
18868 :
18869 :
18870 0 : XSRETURN(argvi);
18871 : fail:
18872 :
18873 :
18874 0 : SWIG_croak_null();
18875 : }
18876 : }
18877 :
18878 :
18879 0 : XS(_wrap_referenceMapObj_color_get) {
18880 : {
18881 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18882 0 : void *argp1 = 0 ;
18883 : int res1 = 0 ;
18884 : int argvi = 0;
18885 : colorObj *result = 0 ;
18886 0 : dXSARGS;
18887 :
18888 0 : if ((items < 1) || (items > 1)) {
18889 0 : SWIG_croak("Usage: referenceMapObj_color_get(self);");
18890 : }
18891 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18892 0 : if (!SWIG_IsOK(res1)) {
18893 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_color_get" "', argument " "1"" of type '" "referenceMapObj *""'");
18894 : }
18895 0 : arg1 = (referenceMapObj *)(argp1);
18896 0 : result = (colorObj *)& ((arg1)->color);
18897 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
18898 :
18899 0 : XSRETURN(argvi);
18900 : fail:
18901 :
18902 0 : SWIG_croak_null();
18903 : }
18904 : }
18905 :
18906 :
18907 0 : XS(_wrap_referenceMapObj_outlinecolor_set) {
18908 : {
18909 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18910 : colorObj *arg2 = (colorObj *) 0 ;
18911 0 : void *argp1 = 0 ;
18912 : int res1 = 0 ;
18913 0 : void *argp2 = 0 ;
18914 : int res2 = 0 ;
18915 : int argvi = 0;
18916 0 : dXSARGS;
18917 :
18918 0 : if ((items < 2) || (items > 2)) {
18919 0 : SWIG_croak("Usage: referenceMapObj_outlinecolor_set(self,outlinecolor);");
18920 : }
18921 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18922 0 : if (!SWIG_IsOK(res1)) {
18923 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_outlinecolor_set" "', argument " "1"" of type '" "referenceMapObj *""'");
18924 : }
18925 0 : arg1 = (referenceMapObj *)(argp1);
18926 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
18927 0 : if (!SWIG_IsOK(res2)) {
18928 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'");
18929 : }
18930 0 : arg2 = (colorObj *)(argp2);
18931 0 : if (arg1) (arg1)->outlinecolor = *arg2;
18932 0 : ST(argvi) = sv_newmortal();
18933 :
18934 :
18935 0 : XSRETURN(argvi);
18936 : fail:
18937 :
18938 :
18939 0 : SWIG_croak_null();
18940 : }
18941 : }
18942 :
18943 :
18944 0 : XS(_wrap_referenceMapObj_outlinecolor_get) {
18945 : {
18946 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18947 0 : void *argp1 = 0 ;
18948 : int res1 = 0 ;
18949 : int argvi = 0;
18950 : colorObj *result = 0 ;
18951 0 : dXSARGS;
18952 :
18953 0 : if ((items < 1) || (items > 1)) {
18954 0 : SWIG_croak("Usage: referenceMapObj_outlinecolor_get(self);");
18955 : }
18956 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18957 0 : if (!SWIG_IsOK(res1)) {
18958 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_outlinecolor_get" "', argument " "1"" of type '" "referenceMapObj *""'");
18959 : }
18960 0 : arg1 = (referenceMapObj *)(argp1);
18961 0 : result = (colorObj *)& ((arg1)->outlinecolor);
18962 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
18963 :
18964 0 : XSRETURN(argvi);
18965 : fail:
18966 :
18967 0 : SWIG_croak_null();
18968 : }
18969 : }
18970 :
18971 :
18972 0 : XS(_wrap_referenceMapObj_image_set) {
18973 : {
18974 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
18975 : char *arg2 = (char *) 0 ;
18976 0 : void *argp1 = 0 ;
18977 : int res1 = 0 ;
18978 : int res2 ;
18979 0 : char *buf2 = 0 ;
18980 0 : int alloc2 = 0 ;
18981 : int argvi = 0;
18982 0 : dXSARGS;
18983 :
18984 0 : if ((items < 2) || (items > 2)) {
18985 0 : SWIG_croak("Usage: referenceMapObj_image_set(self,image);");
18986 : }
18987 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
18988 0 : if (!SWIG_IsOK(res1)) {
18989 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_image_set" "', argument " "1"" of type '" "referenceMapObj *""'");
18990 : }
18991 0 : arg1 = (referenceMapObj *)(argp1);
18992 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
18993 0 : if (!SWIG_IsOK(res2)) {
18994 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_image_set" "', argument " "2"" of type '" "char *""'");
18995 : }
18996 0 : arg2 = (char *)(buf2);
18997 : {
18998 0 : if (arg1->image) free((char*)arg1->image);
18999 0 : if (arg2) {
19000 0 : arg1->image = (char *) malloc(strlen(arg2)+1);
19001 : strcpy((char*)arg1->image,arg2);
19002 : } else {
19003 0 : arg1->image = 0;
19004 : }
19005 : }
19006 0 : ST(argvi) = sv_newmortal();
19007 :
19008 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19009 0 : XSRETURN(argvi);
19010 : fail:
19011 :
19012 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19013 0 : SWIG_croak_null();
19014 : }
19015 : }
19016 :
19017 :
19018 0 : XS(_wrap_referenceMapObj_image_get) {
19019 : {
19020 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19021 0 : void *argp1 = 0 ;
19022 : int res1 = 0 ;
19023 : int argvi = 0;
19024 : char *result = 0 ;
19025 0 : dXSARGS;
19026 :
19027 0 : if ((items < 1) || (items > 1)) {
19028 0 : SWIG_croak("Usage: referenceMapObj_image_get(self);");
19029 : }
19030 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19031 0 : if (!SWIG_IsOK(res1)) {
19032 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_image_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19033 : }
19034 0 : arg1 = (referenceMapObj *)(argp1);
19035 0 : result = (char *) ((arg1)->image);
19036 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
19037 :
19038 0 : XSRETURN(argvi);
19039 : fail:
19040 :
19041 0 : SWIG_croak_null();
19042 : }
19043 : }
19044 :
19045 :
19046 0 : XS(_wrap_referenceMapObj_status_set) {
19047 : {
19048 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19049 : int arg2 ;
19050 0 : void *argp1 = 0 ;
19051 : int res1 = 0 ;
19052 : int val2 ;
19053 : int ecode2 = 0 ;
19054 : int argvi = 0;
19055 0 : dXSARGS;
19056 :
19057 0 : if ((items < 2) || (items > 2)) {
19058 0 : SWIG_croak("Usage: referenceMapObj_status_set(self,status);");
19059 : }
19060 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19061 0 : if (!SWIG_IsOK(res1)) {
19062 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_status_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19063 : }
19064 0 : arg1 = (referenceMapObj *)(argp1);
19065 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19066 0 : if (!SWIG_IsOK(ecode2)) {
19067 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_status_set" "', argument " "2"" of type '" "int""'");
19068 : }
19069 0 : arg2 = (int)(val2);
19070 0 : if (arg1) (arg1)->status = arg2;
19071 0 : ST(argvi) = sv_newmortal();
19072 :
19073 :
19074 0 : XSRETURN(argvi);
19075 : fail:
19076 :
19077 :
19078 0 : SWIG_croak_null();
19079 : }
19080 : }
19081 :
19082 :
19083 0 : XS(_wrap_referenceMapObj_status_get) {
19084 : {
19085 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19086 0 : void *argp1 = 0 ;
19087 : int res1 = 0 ;
19088 : int argvi = 0;
19089 : int result;
19090 0 : dXSARGS;
19091 :
19092 0 : if ((items < 1) || (items > 1)) {
19093 0 : SWIG_croak("Usage: referenceMapObj_status_get(self);");
19094 : }
19095 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19096 0 : if (!SWIG_IsOK(res1)) {
19097 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_status_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19098 : }
19099 0 : arg1 = (referenceMapObj *)(argp1);
19100 0 : result = (int) ((arg1)->status);
19101 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19102 :
19103 0 : XSRETURN(argvi);
19104 : fail:
19105 :
19106 0 : SWIG_croak_null();
19107 : }
19108 : }
19109 :
19110 :
19111 0 : XS(_wrap_referenceMapObj_marker_set) {
19112 : {
19113 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19114 : int arg2 ;
19115 0 : void *argp1 = 0 ;
19116 : int res1 = 0 ;
19117 : int val2 ;
19118 : int ecode2 = 0 ;
19119 : int argvi = 0;
19120 0 : dXSARGS;
19121 :
19122 0 : if ((items < 2) || (items > 2)) {
19123 0 : SWIG_croak("Usage: referenceMapObj_marker_set(self,marker);");
19124 : }
19125 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19126 0 : if (!SWIG_IsOK(res1)) {
19127 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_marker_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19128 : }
19129 0 : arg1 = (referenceMapObj *)(argp1);
19130 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19131 0 : if (!SWIG_IsOK(ecode2)) {
19132 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_marker_set" "', argument " "2"" of type '" "int""'");
19133 : }
19134 0 : arg2 = (int)(val2);
19135 0 : if (arg1) (arg1)->marker = arg2;
19136 0 : ST(argvi) = sv_newmortal();
19137 :
19138 :
19139 0 : XSRETURN(argvi);
19140 : fail:
19141 :
19142 :
19143 0 : SWIG_croak_null();
19144 : }
19145 : }
19146 :
19147 :
19148 0 : XS(_wrap_referenceMapObj_marker_get) {
19149 : {
19150 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19151 0 : void *argp1 = 0 ;
19152 : int res1 = 0 ;
19153 : int argvi = 0;
19154 : int result;
19155 0 : dXSARGS;
19156 :
19157 0 : if ((items < 1) || (items > 1)) {
19158 0 : SWIG_croak("Usage: referenceMapObj_marker_get(self);");
19159 : }
19160 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19161 0 : if (!SWIG_IsOK(res1)) {
19162 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_marker_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19163 : }
19164 0 : arg1 = (referenceMapObj *)(argp1);
19165 0 : result = (int) ((arg1)->marker);
19166 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19167 :
19168 0 : XSRETURN(argvi);
19169 : fail:
19170 :
19171 0 : SWIG_croak_null();
19172 : }
19173 : }
19174 :
19175 :
19176 0 : XS(_wrap_referenceMapObj_markername_set) {
19177 : {
19178 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19179 : char *arg2 = (char *) 0 ;
19180 0 : void *argp1 = 0 ;
19181 : int res1 = 0 ;
19182 : int res2 ;
19183 0 : char *buf2 = 0 ;
19184 0 : int alloc2 = 0 ;
19185 : int argvi = 0;
19186 0 : dXSARGS;
19187 :
19188 0 : if ((items < 2) || (items > 2)) {
19189 0 : SWIG_croak("Usage: referenceMapObj_markername_set(self,markername);");
19190 : }
19191 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19192 0 : if (!SWIG_IsOK(res1)) {
19193 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markername_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19194 : }
19195 0 : arg1 = (referenceMapObj *)(argp1);
19196 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
19197 0 : if (!SWIG_IsOK(res2)) {
19198 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_markername_set" "', argument " "2"" of type '" "char *""'");
19199 : }
19200 0 : arg2 = (char *)(buf2);
19201 : {
19202 0 : if (arg1->markername) free((char*)arg1->markername);
19203 0 : if (arg2) {
19204 0 : arg1->markername = (char *) malloc(strlen(arg2)+1);
19205 : strcpy((char*)arg1->markername,arg2);
19206 : } else {
19207 0 : arg1->markername = 0;
19208 : }
19209 : }
19210 0 : ST(argvi) = sv_newmortal();
19211 :
19212 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19213 0 : XSRETURN(argvi);
19214 : fail:
19215 :
19216 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19217 0 : SWIG_croak_null();
19218 : }
19219 : }
19220 :
19221 :
19222 0 : XS(_wrap_referenceMapObj_markername_get) {
19223 : {
19224 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19225 0 : void *argp1 = 0 ;
19226 : int res1 = 0 ;
19227 : int argvi = 0;
19228 : char *result = 0 ;
19229 0 : dXSARGS;
19230 :
19231 0 : if ((items < 1) || (items > 1)) {
19232 0 : SWIG_croak("Usage: referenceMapObj_markername_get(self);");
19233 : }
19234 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19235 0 : if (!SWIG_IsOK(res1)) {
19236 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markername_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19237 : }
19238 0 : arg1 = (referenceMapObj *)(argp1);
19239 0 : result = (char *) ((arg1)->markername);
19240 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
19241 :
19242 0 : XSRETURN(argvi);
19243 : fail:
19244 :
19245 0 : SWIG_croak_null();
19246 : }
19247 : }
19248 :
19249 :
19250 0 : XS(_wrap_referenceMapObj_markersize_set) {
19251 : {
19252 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19253 : int arg2 ;
19254 0 : void *argp1 = 0 ;
19255 : int res1 = 0 ;
19256 : int val2 ;
19257 : int ecode2 = 0 ;
19258 : int argvi = 0;
19259 0 : dXSARGS;
19260 :
19261 0 : if ((items < 2) || (items > 2)) {
19262 0 : SWIG_croak("Usage: referenceMapObj_markersize_set(self,markersize);");
19263 : }
19264 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19265 0 : if (!SWIG_IsOK(res1)) {
19266 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markersize_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19267 : }
19268 0 : arg1 = (referenceMapObj *)(argp1);
19269 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19270 0 : if (!SWIG_IsOK(ecode2)) {
19271 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_markersize_set" "', argument " "2"" of type '" "int""'");
19272 : }
19273 0 : arg2 = (int)(val2);
19274 0 : if (arg1) (arg1)->markersize = arg2;
19275 0 : ST(argvi) = sv_newmortal();
19276 :
19277 :
19278 0 : XSRETURN(argvi);
19279 : fail:
19280 :
19281 :
19282 0 : SWIG_croak_null();
19283 : }
19284 : }
19285 :
19286 :
19287 0 : XS(_wrap_referenceMapObj_markersize_get) {
19288 : {
19289 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19290 0 : void *argp1 = 0 ;
19291 : int res1 = 0 ;
19292 : int argvi = 0;
19293 : int result;
19294 0 : dXSARGS;
19295 :
19296 0 : if ((items < 1) || (items > 1)) {
19297 0 : SWIG_croak("Usage: referenceMapObj_markersize_get(self);");
19298 : }
19299 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19300 0 : if (!SWIG_IsOK(res1)) {
19301 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markersize_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19302 : }
19303 0 : arg1 = (referenceMapObj *)(argp1);
19304 0 : result = (int) ((arg1)->markersize);
19305 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19306 :
19307 0 : XSRETURN(argvi);
19308 : fail:
19309 :
19310 0 : SWIG_croak_null();
19311 : }
19312 : }
19313 :
19314 :
19315 0 : XS(_wrap_referenceMapObj_minboxsize_set) {
19316 : {
19317 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19318 : int arg2 ;
19319 0 : void *argp1 = 0 ;
19320 : int res1 = 0 ;
19321 : int val2 ;
19322 : int ecode2 = 0 ;
19323 : int argvi = 0;
19324 0 : dXSARGS;
19325 :
19326 0 : if ((items < 2) || (items > 2)) {
19327 0 : SWIG_croak("Usage: referenceMapObj_minboxsize_set(self,minboxsize);");
19328 : }
19329 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19330 0 : if (!SWIG_IsOK(res1)) {
19331 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_minboxsize_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19332 : }
19333 0 : arg1 = (referenceMapObj *)(argp1);
19334 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19335 0 : if (!SWIG_IsOK(ecode2)) {
19336 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_minboxsize_set" "', argument " "2"" of type '" "int""'");
19337 : }
19338 0 : arg2 = (int)(val2);
19339 0 : if (arg1) (arg1)->minboxsize = arg2;
19340 0 : ST(argvi) = sv_newmortal();
19341 :
19342 :
19343 0 : XSRETURN(argvi);
19344 : fail:
19345 :
19346 :
19347 0 : SWIG_croak_null();
19348 : }
19349 : }
19350 :
19351 :
19352 0 : XS(_wrap_referenceMapObj_minboxsize_get) {
19353 : {
19354 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19355 0 : void *argp1 = 0 ;
19356 : int res1 = 0 ;
19357 : int argvi = 0;
19358 : int result;
19359 0 : dXSARGS;
19360 :
19361 0 : if ((items < 1) || (items > 1)) {
19362 0 : SWIG_croak("Usage: referenceMapObj_minboxsize_get(self);");
19363 : }
19364 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19365 0 : if (!SWIG_IsOK(res1)) {
19366 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_minboxsize_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19367 : }
19368 0 : arg1 = (referenceMapObj *)(argp1);
19369 0 : result = (int) ((arg1)->minboxsize);
19370 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19371 :
19372 0 : XSRETURN(argvi);
19373 : fail:
19374 :
19375 0 : SWIG_croak_null();
19376 : }
19377 : }
19378 :
19379 :
19380 0 : XS(_wrap_referenceMapObj_maxboxsize_set) {
19381 : {
19382 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19383 : int arg2 ;
19384 0 : void *argp1 = 0 ;
19385 : int res1 = 0 ;
19386 : int val2 ;
19387 : int ecode2 = 0 ;
19388 : int argvi = 0;
19389 0 : dXSARGS;
19390 :
19391 0 : if ((items < 2) || (items > 2)) {
19392 0 : SWIG_croak("Usage: referenceMapObj_maxboxsize_set(self,maxboxsize);");
19393 : }
19394 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19395 0 : if (!SWIG_IsOK(res1)) {
19396 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_maxboxsize_set" "', argument " "1"" of type '" "referenceMapObj *""'");
19397 : }
19398 0 : arg1 = (referenceMapObj *)(argp1);
19399 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19400 0 : if (!SWIG_IsOK(ecode2)) {
19401 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_maxboxsize_set" "', argument " "2"" of type '" "int""'");
19402 : }
19403 0 : arg2 = (int)(val2);
19404 0 : if (arg1) (arg1)->maxboxsize = arg2;
19405 0 : ST(argvi) = sv_newmortal();
19406 :
19407 :
19408 0 : XSRETURN(argvi);
19409 : fail:
19410 :
19411 :
19412 0 : SWIG_croak_null();
19413 : }
19414 : }
19415 :
19416 :
19417 0 : XS(_wrap_referenceMapObj_maxboxsize_get) {
19418 : {
19419 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19420 0 : void *argp1 = 0 ;
19421 : int res1 = 0 ;
19422 : int argvi = 0;
19423 : int result;
19424 0 : dXSARGS;
19425 :
19426 0 : if ((items < 1) || (items > 1)) {
19427 0 : SWIG_croak("Usage: referenceMapObj_maxboxsize_get(self);");
19428 : }
19429 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19430 0 : if (!SWIG_IsOK(res1)) {
19431 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_maxboxsize_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19432 : }
19433 0 : arg1 = (referenceMapObj *)(argp1);
19434 0 : result = (int) ((arg1)->maxboxsize);
19435 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19436 :
19437 0 : XSRETURN(argvi);
19438 : fail:
19439 :
19440 0 : SWIG_croak_null();
19441 : }
19442 : }
19443 :
19444 :
19445 0 : XS(_wrap_referenceMapObj_map_get) {
19446 : {
19447 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19448 0 : void *argp1 = 0 ;
19449 : int res1 = 0 ;
19450 : int argvi = 0;
19451 : struct mapObj *result = 0 ;
19452 0 : dXSARGS;
19453 :
19454 0 : if ((items < 1) || (items > 1)) {
19455 0 : SWIG_croak("Usage: referenceMapObj_map_get(self);");
19456 : }
19457 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19458 0 : if (!SWIG_IsOK(res1)) {
19459 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_map_get" "', argument " "1"" of type '" "referenceMapObj *""'");
19460 : }
19461 0 : arg1 = (referenceMapObj *)(argp1);
19462 : {
19463 : /* Accessing map */
19464 0 : result = (struct mapObj *) ((arg1)->map);;
19465 0 : MS_REFCNT_INCR(result);
19466 : }
19467 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
19468 :
19469 0 : XSRETURN(argvi);
19470 : fail:
19471 :
19472 0 : SWIG_croak_null();
19473 : }
19474 : }
19475 :
19476 :
19477 0 : XS(_wrap_referenceMapObj_updateFromString) {
19478 : {
19479 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19480 : char *arg2 = (char *) 0 ;
19481 0 : void *argp1 = 0 ;
19482 : int res1 = 0 ;
19483 : int res2 ;
19484 0 : char *buf2 = 0 ;
19485 0 : int alloc2 = 0 ;
19486 : int argvi = 0;
19487 : int result;
19488 0 : dXSARGS;
19489 :
19490 0 : if ((items < 2) || (items > 2)) {
19491 0 : SWIG_croak("Usage: referenceMapObj_updateFromString(self,snippet);");
19492 : }
19493 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19494 0 : if (!SWIG_IsOK(res1)) {
19495 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_updateFromString" "', argument " "1"" of type '" "referenceMapObj *""'");
19496 : }
19497 0 : arg1 = (referenceMapObj *)(argp1);
19498 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
19499 0 : if (!SWIG_IsOK(res2)) {
19500 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_updateFromString" "', argument " "2"" of type '" "char *""'");
19501 : }
19502 0 : arg2 = (char *)(buf2);
19503 : result = (int)referenceMapObj_updateFromString(arg1,arg2);
19504 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19505 :
19506 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19507 0 : XSRETURN(argvi);
19508 : fail:
19509 :
19510 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
19511 0 : SWIG_croak_null();
19512 : }
19513 : }
19514 :
19515 :
19516 0 : XS(_wrap_referenceMapObj_convertToString) {
19517 : {
19518 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19519 0 : void *argp1 = 0 ;
19520 : int res1 = 0 ;
19521 : int argvi = 0;
19522 : char *result = 0 ;
19523 0 : dXSARGS;
19524 :
19525 0 : if ((items < 1) || (items > 1)) {
19526 0 : SWIG_croak("Usage: referenceMapObj_convertToString(self);");
19527 : }
19528 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 | 0 );
19529 0 : if (!SWIG_IsOK(res1)) {
19530 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_convertToString" "', argument " "1"" of type '" "referenceMapObj *""'");
19531 : }
19532 0 : arg1 = (referenceMapObj *)(argp1);
19533 : result = (char *)referenceMapObj_convertToString(arg1);
19534 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
19535 :
19536 0 : free((char*)result);
19537 0 : XSRETURN(argvi);
19538 : fail:
19539 :
19540 0 : SWIG_croak_null();
19541 : }
19542 : }
19543 :
19544 :
19545 0 : XS(_wrap_new_referenceMapObj) {
19546 : {
19547 : int argvi = 0;
19548 : referenceMapObj *result = 0 ;
19549 0 : dXSARGS;
19550 :
19551 0 : if ((items < 0) || (items > 0)) {
19552 0 : SWIG_croak("Usage: new_referenceMapObj();");
19553 : }
19554 0 : result = (referenceMapObj *)calloc(1, sizeof(referenceMapObj));
19555 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_referenceMapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
19556 0 : XSRETURN(argvi);
19557 : fail:
19558 0 : SWIG_croak_null();
19559 : }
19560 : }
19561 :
19562 :
19563 0 : XS(_wrap_delete_referenceMapObj) {
19564 : {
19565 : referenceMapObj *arg1 = (referenceMapObj *) 0 ;
19566 0 : void *argp1 = 0 ;
19567 : int res1 = 0 ;
19568 : int argvi = 0;
19569 0 : dXSARGS;
19570 :
19571 0 : if ((items < 1) || (items > 1)) {
19572 0 : SWIG_croak("Usage: delete_referenceMapObj(self);");
19573 : }
19574 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, SWIG_POINTER_DISOWN | 0 );
19575 0 : if (!SWIG_IsOK(res1)) {
19576 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_referenceMapObj" "', argument " "1"" of type '" "referenceMapObj *""'");
19577 : }
19578 0 : arg1 = (referenceMapObj *)(argp1);
19579 0 : free((char *) arg1);
19580 0 : ST(argvi) = sv_newmortal();
19581 :
19582 0 : XSRETURN(argvi);
19583 : fail:
19584 :
19585 0 : SWIG_croak_null();
19586 : }
19587 : }
19588 :
19589 :
19590 0 : XS(_wrap_scalebarObj_imagecolor_set) {
19591 : {
19592 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19593 : colorObj *arg2 = (colorObj *) 0 ;
19594 0 : void *argp1 = 0 ;
19595 : int res1 = 0 ;
19596 0 : void *argp2 = 0 ;
19597 : int res2 = 0 ;
19598 : int argvi = 0;
19599 0 : dXSARGS;
19600 :
19601 0 : if ((items < 2) || (items > 2)) {
19602 0 : SWIG_croak("Usage: scalebarObj_imagecolor_set(self,imagecolor);");
19603 : }
19604 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19605 0 : if (!SWIG_IsOK(res1)) {
19606 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_imagecolor_set" "', argument " "1"" of type '" "scalebarObj *""'");
19607 : }
19608 0 : arg1 = (scalebarObj *)(argp1);
19609 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
19610 0 : if (!SWIG_IsOK(res2)) {
19611 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_imagecolor_set" "', argument " "2"" of type '" "colorObj *""'");
19612 : }
19613 0 : arg2 = (colorObj *)(argp2);
19614 0 : if (arg1) (arg1)->imagecolor = *arg2;
19615 0 : ST(argvi) = sv_newmortal();
19616 :
19617 :
19618 0 : XSRETURN(argvi);
19619 : fail:
19620 :
19621 :
19622 0 : SWIG_croak_null();
19623 : }
19624 : }
19625 :
19626 :
19627 0 : XS(_wrap_scalebarObj_imagecolor_get) {
19628 : {
19629 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19630 0 : void *argp1 = 0 ;
19631 : int res1 = 0 ;
19632 : int argvi = 0;
19633 : colorObj *result = 0 ;
19634 0 : dXSARGS;
19635 :
19636 0 : if ((items < 1) || (items > 1)) {
19637 0 : SWIG_croak("Usage: scalebarObj_imagecolor_get(self);");
19638 : }
19639 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19640 0 : if (!SWIG_IsOK(res1)) {
19641 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_imagecolor_get" "', argument " "1"" of type '" "scalebarObj *""'");
19642 : }
19643 0 : arg1 = (scalebarObj *)(argp1);
19644 0 : result = (colorObj *)& ((arg1)->imagecolor);
19645 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
19646 :
19647 0 : XSRETURN(argvi);
19648 : fail:
19649 :
19650 0 : SWIG_croak_null();
19651 : }
19652 : }
19653 :
19654 :
19655 0 : XS(_wrap_scalebarObj_height_set) {
19656 : {
19657 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19658 : int arg2 ;
19659 0 : void *argp1 = 0 ;
19660 : int res1 = 0 ;
19661 : int val2 ;
19662 : int ecode2 = 0 ;
19663 : int argvi = 0;
19664 0 : dXSARGS;
19665 :
19666 0 : if ((items < 2) || (items > 2)) {
19667 0 : SWIG_croak("Usage: scalebarObj_height_set(self,height);");
19668 : }
19669 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19670 0 : if (!SWIG_IsOK(res1)) {
19671 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_height_set" "', argument " "1"" of type '" "scalebarObj *""'");
19672 : }
19673 0 : arg1 = (scalebarObj *)(argp1);
19674 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19675 0 : if (!SWIG_IsOK(ecode2)) {
19676 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_height_set" "', argument " "2"" of type '" "int""'");
19677 : }
19678 0 : arg2 = (int)(val2);
19679 0 : if (arg1) (arg1)->height = arg2;
19680 0 : ST(argvi) = sv_newmortal();
19681 :
19682 :
19683 0 : XSRETURN(argvi);
19684 : fail:
19685 :
19686 :
19687 0 : SWIG_croak_null();
19688 : }
19689 : }
19690 :
19691 :
19692 0 : XS(_wrap_scalebarObj_height_get) {
19693 : {
19694 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19695 0 : void *argp1 = 0 ;
19696 : int res1 = 0 ;
19697 : int argvi = 0;
19698 : int result;
19699 0 : dXSARGS;
19700 :
19701 0 : if ((items < 1) || (items > 1)) {
19702 0 : SWIG_croak("Usage: scalebarObj_height_get(self);");
19703 : }
19704 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19705 0 : if (!SWIG_IsOK(res1)) {
19706 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_height_get" "', argument " "1"" of type '" "scalebarObj *""'");
19707 : }
19708 0 : arg1 = (scalebarObj *)(argp1);
19709 0 : result = (int) ((arg1)->height);
19710 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19711 :
19712 0 : XSRETURN(argvi);
19713 : fail:
19714 :
19715 0 : SWIG_croak_null();
19716 : }
19717 : }
19718 :
19719 :
19720 0 : XS(_wrap_scalebarObj_width_set) {
19721 : {
19722 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19723 : int arg2 ;
19724 0 : void *argp1 = 0 ;
19725 : int res1 = 0 ;
19726 : int val2 ;
19727 : int ecode2 = 0 ;
19728 : int argvi = 0;
19729 0 : dXSARGS;
19730 :
19731 0 : if ((items < 2) || (items > 2)) {
19732 0 : SWIG_croak("Usage: scalebarObj_width_set(self,width);");
19733 : }
19734 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19735 0 : if (!SWIG_IsOK(res1)) {
19736 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_width_set" "', argument " "1"" of type '" "scalebarObj *""'");
19737 : }
19738 0 : arg1 = (scalebarObj *)(argp1);
19739 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19740 0 : if (!SWIG_IsOK(ecode2)) {
19741 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_width_set" "', argument " "2"" of type '" "int""'");
19742 : }
19743 0 : arg2 = (int)(val2);
19744 0 : if (arg1) (arg1)->width = arg2;
19745 0 : ST(argvi) = sv_newmortal();
19746 :
19747 :
19748 0 : XSRETURN(argvi);
19749 : fail:
19750 :
19751 :
19752 0 : SWIG_croak_null();
19753 : }
19754 : }
19755 :
19756 :
19757 0 : XS(_wrap_scalebarObj_width_get) {
19758 : {
19759 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19760 0 : void *argp1 = 0 ;
19761 : int res1 = 0 ;
19762 : int argvi = 0;
19763 : int result;
19764 0 : dXSARGS;
19765 :
19766 0 : if ((items < 1) || (items > 1)) {
19767 0 : SWIG_croak("Usage: scalebarObj_width_get(self);");
19768 : }
19769 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19770 0 : if (!SWIG_IsOK(res1)) {
19771 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_width_get" "', argument " "1"" of type '" "scalebarObj *""'");
19772 : }
19773 0 : arg1 = (scalebarObj *)(argp1);
19774 0 : result = (int) ((arg1)->width);
19775 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19776 :
19777 0 : XSRETURN(argvi);
19778 : fail:
19779 :
19780 0 : SWIG_croak_null();
19781 : }
19782 : }
19783 :
19784 :
19785 0 : XS(_wrap_scalebarObj_style_set) {
19786 : {
19787 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19788 : int arg2 ;
19789 0 : void *argp1 = 0 ;
19790 : int res1 = 0 ;
19791 : int val2 ;
19792 : int ecode2 = 0 ;
19793 : int argvi = 0;
19794 0 : dXSARGS;
19795 :
19796 0 : if ((items < 2) || (items > 2)) {
19797 0 : SWIG_croak("Usage: scalebarObj_style_set(self,style);");
19798 : }
19799 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19800 0 : if (!SWIG_IsOK(res1)) {
19801 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_style_set" "', argument " "1"" of type '" "scalebarObj *""'");
19802 : }
19803 0 : arg1 = (scalebarObj *)(argp1);
19804 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19805 0 : if (!SWIG_IsOK(ecode2)) {
19806 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_style_set" "', argument " "2"" of type '" "int""'");
19807 : }
19808 0 : arg2 = (int)(val2);
19809 0 : if (arg1) (arg1)->style = arg2;
19810 0 : ST(argvi) = sv_newmortal();
19811 :
19812 :
19813 0 : XSRETURN(argvi);
19814 : fail:
19815 :
19816 :
19817 0 : SWIG_croak_null();
19818 : }
19819 : }
19820 :
19821 :
19822 0 : XS(_wrap_scalebarObj_style_get) {
19823 : {
19824 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19825 0 : void *argp1 = 0 ;
19826 : int res1 = 0 ;
19827 : int argvi = 0;
19828 : int result;
19829 0 : dXSARGS;
19830 :
19831 0 : if ((items < 1) || (items > 1)) {
19832 0 : SWIG_croak("Usage: scalebarObj_style_get(self);");
19833 : }
19834 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19835 0 : if (!SWIG_IsOK(res1)) {
19836 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_style_get" "', argument " "1"" of type '" "scalebarObj *""'");
19837 : }
19838 0 : arg1 = (scalebarObj *)(argp1);
19839 0 : result = (int) ((arg1)->style);
19840 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19841 :
19842 0 : XSRETURN(argvi);
19843 : fail:
19844 :
19845 0 : SWIG_croak_null();
19846 : }
19847 : }
19848 :
19849 :
19850 0 : XS(_wrap_scalebarObj_intervals_set) {
19851 : {
19852 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19853 : int arg2 ;
19854 0 : void *argp1 = 0 ;
19855 : int res1 = 0 ;
19856 : int val2 ;
19857 : int ecode2 = 0 ;
19858 : int argvi = 0;
19859 0 : dXSARGS;
19860 :
19861 0 : if ((items < 2) || (items > 2)) {
19862 0 : SWIG_croak("Usage: scalebarObj_intervals_set(self,intervals);");
19863 : }
19864 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19865 0 : if (!SWIG_IsOK(res1)) {
19866 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_intervals_set" "', argument " "1"" of type '" "scalebarObj *""'");
19867 : }
19868 0 : arg1 = (scalebarObj *)(argp1);
19869 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
19870 0 : if (!SWIG_IsOK(ecode2)) {
19871 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_intervals_set" "', argument " "2"" of type '" "int""'");
19872 : }
19873 0 : arg2 = (int)(val2);
19874 0 : if (arg1) (arg1)->intervals = arg2;
19875 0 : ST(argvi) = sv_newmortal();
19876 :
19877 :
19878 0 : XSRETURN(argvi);
19879 : fail:
19880 :
19881 :
19882 0 : SWIG_croak_null();
19883 : }
19884 : }
19885 :
19886 :
19887 0 : XS(_wrap_scalebarObj_intervals_get) {
19888 : {
19889 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19890 0 : void *argp1 = 0 ;
19891 : int res1 = 0 ;
19892 : int argvi = 0;
19893 : int result;
19894 0 : dXSARGS;
19895 :
19896 0 : if ((items < 1) || (items > 1)) {
19897 0 : SWIG_croak("Usage: scalebarObj_intervals_get(self);");
19898 : }
19899 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19900 0 : if (!SWIG_IsOK(res1)) {
19901 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_intervals_get" "', argument " "1"" of type '" "scalebarObj *""'");
19902 : }
19903 0 : arg1 = (scalebarObj *)(argp1);
19904 0 : result = (int) ((arg1)->intervals);
19905 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
19906 :
19907 0 : XSRETURN(argvi);
19908 : fail:
19909 :
19910 0 : SWIG_croak_null();
19911 : }
19912 : }
19913 :
19914 :
19915 0 : XS(_wrap_scalebarObj_label_set) {
19916 : {
19917 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19918 : labelObj *arg2 = (labelObj *) 0 ;
19919 0 : void *argp1 = 0 ;
19920 : int res1 = 0 ;
19921 0 : void *argp2 = 0 ;
19922 : int res2 = 0 ;
19923 : int argvi = 0;
19924 0 : dXSARGS;
19925 :
19926 0 : if ((items < 2) || (items > 2)) {
19927 0 : SWIG_croak("Usage: scalebarObj_label_set(self,label);");
19928 : }
19929 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19930 0 : if (!SWIG_IsOK(res1)) {
19931 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_label_set" "', argument " "1"" of type '" "scalebarObj *""'");
19932 : }
19933 0 : arg1 = (scalebarObj *)(argp1);
19934 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_labelObj, 0 | 0 );
19935 0 : if (!SWIG_IsOK(res2)) {
19936 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_label_set" "', argument " "2"" of type '" "labelObj *""'");
19937 : }
19938 0 : arg2 = (labelObj *)(argp2);
19939 0 : if (arg1) (arg1)->label = *arg2;
19940 0 : ST(argvi) = sv_newmortal();
19941 :
19942 :
19943 0 : XSRETURN(argvi);
19944 : fail:
19945 :
19946 :
19947 0 : SWIG_croak_null();
19948 : }
19949 : }
19950 :
19951 :
19952 0 : XS(_wrap_scalebarObj_label_get) {
19953 : {
19954 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19955 0 : void *argp1 = 0 ;
19956 : int res1 = 0 ;
19957 : int argvi = 0;
19958 : labelObj *result = 0 ;
19959 0 : dXSARGS;
19960 :
19961 0 : if ((items < 1) || (items > 1)) {
19962 0 : SWIG_croak("Usage: scalebarObj_label_get(self);");
19963 : }
19964 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19965 0 : if (!SWIG_IsOK(res1)) {
19966 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_label_get" "', argument " "1"" of type '" "scalebarObj *""'");
19967 : }
19968 0 : arg1 = (scalebarObj *)(argp1);
19969 0 : result = (labelObj *)& ((arg1)->label);
19970 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, 0 | SWIG_SHADOW); argvi++ ;
19971 :
19972 0 : XSRETURN(argvi);
19973 : fail:
19974 :
19975 0 : SWIG_croak_null();
19976 : }
19977 : }
19978 :
19979 :
19980 0 : XS(_wrap_scalebarObj_color_set) {
19981 : {
19982 : scalebarObj *arg1 = (scalebarObj *) 0 ;
19983 : colorObj *arg2 = (colorObj *) 0 ;
19984 0 : void *argp1 = 0 ;
19985 : int res1 = 0 ;
19986 0 : void *argp2 = 0 ;
19987 : int res2 = 0 ;
19988 : int argvi = 0;
19989 0 : dXSARGS;
19990 :
19991 0 : if ((items < 2) || (items > 2)) {
19992 0 : SWIG_croak("Usage: scalebarObj_color_set(self,color);");
19993 : }
19994 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
19995 0 : if (!SWIG_IsOK(res1)) {
19996 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_color_set" "', argument " "1"" of type '" "scalebarObj *""'");
19997 : }
19998 0 : arg1 = (scalebarObj *)(argp1);
19999 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
20000 0 : if (!SWIG_IsOK(res2)) {
20001 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_color_set" "', argument " "2"" of type '" "colorObj *""'");
20002 : }
20003 0 : arg2 = (colorObj *)(argp2);
20004 0 : if (arg1) (arg1)->color = *arg2;
20005 0 : ST(argvi) = sv_newmortal();
20006 :
20007 :
20008 0 : XSRETURN(argvi);
20009 : fail:
20010 :
20011 :
20012 0 : SWIG_croak_null();
20013 : }
20014 : }
20015 :
20016 :
20017 0 : XS(_wrap_scalebarObj_color_get) {
20018 : {
20019 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20020 0 : void *argp1 = 0 ;
20021 : int res1 = 0 ;
20022 : int argvi = 0;
20023 : colorObj *result = 0 ;
20024 0 : dXSARGS;
20025 :
20026 0 : if ((items < 1) || (items > 1)) {
20027 0 : SWIG_croak("Usage: scalebarObj_color_get(self);");
20028 : }
20029 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20030 0 : if (!SWIG_IsOK(res1)) {
20031 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_color_get" "', argument " "1"" of type '" "scalebarObj *""'");
20032 : }
20033 0 : arg1 = (scalebarObj *)(argp1);
20034 0 : result = (colorObj *)& ((arg1)->color);
20035 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
20036 :
20037 0 : XSRETURN(argvi);
20038 : fail:
20039 :
20040 0 : SWIG_croak_null();
20041 : }
20042 : }
20043 :
20044 :
20045 0 : XS(_wrap_scalebarObj_backgroundcolor_set) {
20046 : {
20047 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20048 : colorObj *arg2 = (colorObj *) 0 ;
20049 0 : void *argp1 = 0 ;
20050 : int res1 = 0 ;
20051 0 : void *argp2 = 0 ;
20052 : int res2 = 0 ;
20053 : int argvi = 0;
20054 0 : dXSARGS;
20055 :
20056 0 : if ((items < 2) || (items > 2)) {
20057 0 : SWIG_croak("Usage: scalebarObj_backgroundcolor_set(self,backgroundcolor);");
20058 : }
20059 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20060 0 : if (!SWIG_IsOK(res1)) {
20061 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_backgroundcolor_set" "', argument " "1"" of type '" "scalebarObj *""'");
20062 : }
20063 0 : arg1 = (scalebarObj *)(argp1);
20064 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
20065 0 : if (!SWIG_IsOK(res2)) {
20066 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_backgroundcolor_set" "', argument " "2"" of type '" "colorObj *""'");
20067 : }
20068 0 : arg2 = (colorObj *)(argp2);
20069 0 : if (arg1) (arg1)->backgroundcolor = *arg2;
20070 0 : ST(argvi) = sv_newmortal();
20071 :
20072 :
20073 0 : XSRETURN(argvi);
20074 : fail:
20075 :
20076 :
20077 0 : SWIG_croak_null();
20078 : }
20079 : }
20080 :
20081 :
20082 0 : XS(_wrap_scalebarObj_backgroundcolor_get) {
20083 : {
20084 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20085 0 : void *argp1 = 0 ;
20086 : int res1 = 0 ;
20087 : int argvi = 0;
20088 : colorObj *result = 0 ;
20089 0 : dXSARGS;
20090 :
20091 0 : if ((items < 1) || (items > 1)) {
20092 0 : SWIG_croak("Usage: scalebarObj_backgroundcolor_get(self);");
20093 : }
20094 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20095 0 : if (!SWIG_IsOK(res1)) {
20096 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_backgroundcolor_get" "', argument " "1"" of type '" "scalebarObj *""'");
20097 : }
20098 0 : arg1 = (scalebarObj *)(argp1);
20099 0 : result = (colorObj *)& ((arg1)->backgroundcolor);
20100 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
20101 :
20102 0 : XSRETURN(argvi);
20103 : fail:
20104 :
20105 0 : SWIG_croak_null();
20106 : }
20107 : }
20108 :
20109 :
20110 0 : XS(_wrap_scalebarObj_outlinecolor_set) {
20111 : {
20112 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20113 : colorObj *arg2 = (colorObj *) 0 ;
20114 0 : void *argp1 = 0 ;
20115 : int res1 = 0 ;
20116 0 : void *argp2 = 0 ;
20117 : int res2 = 0 ;
20118 : int argvi = 0;
20119 0 : dXSARGS;
20120 :
20121 0 : if ((items < 2) || (items > 2)) {
20122 0 : SWIG_croak("Usage: scalebarObj_outlinecolor_set(self,outlinecolor);");
20123 : }
20124 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20125 0 : if (!SWIG_IsOK(res1)) {
20126 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_outlinecolor_set" "', argument " "1"" of type '" "scalebarObj *""'");
20127 : }
20128 0 : arg1 = (scalebarObj *)(argp1);
20129 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
20130 0 : if (!SWIG_IsOK(res2)) {
20131 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'");
20132 : }
20133 0 : arg2 = (colorObj *)(argp2);
20134 0 : if (arg1) (arg1)->outlinecolor = *arg2;
20135 0 : ST(argvi) = sv_newmortal();
20136 :
20137 :
20138 0 : XSRETURN(argvi);
20139 : fail:
20140 :
20141 :
20142 0 : SWIG_croak_null();
20143 : }
20144 : }
20145 :
20146 :
20147 0 : XS(_wrap_scalebarObj_outlinecolor_get) {
20148 : {
20149 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20150 0 : void *argp1 = 0 ;
20151 : int res1 = 0 ;
20152 : int argvi = 0;
20153 : colorObj *result = 0 ;
20154 0 : dXSARGS;
20155 :
20156 0 : if ((items < 1) || (items > 1)) {
20157 0 : SWIG_croak("Usage: scalebarObj_outlinecolor_get(self);");
20158 : }
20159 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20160 0 : if (!SWIG_IsOK(res1)) {
20161 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_outlinecolor_get" "', argument " "1"" of type '" "scalebarObj *""'");
20162 : }
20163 0 : arg1 = (scalebarObj *)(argp1);
20164 0 : result = (colorObj *)& ((arg1)->outlinecolor);
20165 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
20166 :
20167 0 : XSRETURN(argvi);
20168 : fail:
20169 :
20170 0 : SWIG_croak_null();
20171 : }
20172 : }
20173 :
20174 :
20175 0 : XS(_wrap_scalebarObj_units_set) {
20176 : {
20177 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20178 : int arg2 ;
20179 0 : void *argp1 = 0 ;
20180 : int res1 = 0 ;
20181 : int val2 ;
20182 : int ecode2 = 0 ;
20183 : int argvi = 0;
20184 0 : dXSARGS;
20185 :
20186 0 : if ((items < 2) || (items > 2)) {
20187 0 : SWIG_croak("Usage: scalebarObj_units_set(self,units);");
20188 : }
20189 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20190 0 : if (!SWIG_IsOK(res1)) {
20191 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_units_set" "', argument " "1"" of type '" "scalebarObj *""'");
20192 : }
20193 0 : arg1 = (scalebarObj *)(argp1);
20194 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20195 0 : if (!SWIG_IsOK(ecode2)) {
20196 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_units_set" "', argument " "2"" of type '" "int""'");
20197 : }
20198 0 : arg2 = (int)(val2);
20199 0 : if (arg1) (arg1)->units = arg2;
20200 0 : ST(argvi) = sv_newmortal();
20201 :
20202 :
20203 0 : XSRETURN(argvi);
20204 : fail:
20205 :
20206 :
20207 0 : SWIG_croak_null();
20208 : }
20209 : }
20210 :
20211 :
20212 0 : XS(_wrap_scalebarObj_units_get) {
20213 : {
20214 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20215 0 : void *argp1 = 0 ;
20216 : int res1 = 0 ;
20217 : int argvi = 0;
20218 : int result;
20219 0 : dXSARGS;
20220 :
20221 0 : if ((items < 1) || (items > 1)) {
20222 0 : SWIG_croak("Usage: scalebarObj_units_get(self);");
20223 : }
20224 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20225 0 : if (!SWIG_IsOK(res1)) {
20226 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_units_get" "', argument " "1"" of type '" "scalebarObj *""'");
20227 : }
20228 0 : arg1 = (scalebarObj *)(argp1);
20229 0 : result = (int) ((arg1)->units);
20230 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20231 :
20232 0 : XSRETURN(argvi);
20233 : fail:
20234 :
20235 0 : SWIG_croak_null();
20236 : }
20237 : }
20238 :
20239 :
20240 0 : XS(_wrap_scalebarObj_status_set) {
20241 : {
20242 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20243 : int arg2 ;
20244 0 : void *argp1 = 0 ;
20245 : int res1 = 0 ;
20246 : int val2 ;
20247 : int ecode2 = 0 ;
20248 : int argvi = 0;
20249 0 : dXSARGS;
20250 :
20251 0 : if ((items < 2) || (items > 2)) {
20252 0 : SWIG_croak("Usage: scalebarObj_status_set(self,status);");
20253 : }
20254 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20255 0 : if (!SWIG_IsOK(res1)) {
20256 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_status_set" "', argument " "1"" of type '" "scalebarObj *""'");
20257 : }
20258 0 : arg1 = (scalebarObj *)(argp1);
20259 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20260 0 : if (!SWIG_IsOK(ecode2)) {
20261 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_status_set" "', argument " "2"" of type '" "int""'");
20262 : }
20263 0 : arg2 = (int)(val2);
20264 0 : if (arg1) (arg1)->status = arg2;
20265 0 : ST(argvi) = sv_newmortal();
20266 :
20267 :
20268 0 : XSRETURN(argvi);
20269 : fail:
20270 :
20271 :
20272 0 : SWIG_croak_null();
20273 : }
20274 : }
20275 :
20276 :
20277 0 : XS(_wrap_scalebarObj_status_get) {
20278 : {
20279 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20280 0 : void *argp1 = 0 ;
20281 : int res1 = 0 ;
20282 : int argvi = 0;
20283 : int result;
20284 0 : dXSARGS;
20285 :
20286 0 : if ((items < 1) || (items > 1)) {
20287 0 : SWIG_croak("Usage: scalebarObj_status_get(self);");
20288 : }
20289 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20290 0 : if (!SWIG_IsOK(res1)) {
20291 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_status_get" "', argument " "1"" of type '" "scalebarObj *""'");
20292 : }
20293 0 : arg1 = (scalebarObj *)(argp1);
20294 0 : result = (int) ((arg1)->status);
20295 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20296 :
20297 0 : XSRETURN(argvi);
20298 : fail:
20299 :
20300 0 : SWIG_croak_null();
20301 : }
20302 : }
20303 :
20304 :
20305 0 : XS(_wrap_scalebarObj_position_set) {
20306 : {
20307 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20308 : int arg2 ;
20309 0 : void *argp1 = 0 ;
20310 : int res1 = 0 ;
20311 : int val2 ;
20312 : int ecode2 = 0 ;
20313 : int argvi = 0;
20314 0 : dXSARGS;
20315 :
20316 0 : if ((items < 2) || (items > 2)) {
20317 0 : SWIG_croak("Usage: scalebarObj_position_set(self,position);");
20318 : }
20319 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20320 0 : if (!SWIG_IsOK(res1)) {
20321 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_position_set" "', argument " "1"" of type '" "scalebarObj *""'");
20322 : }
20323 0 : arg1 = (scalebarObj *)(argp1);
20324 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20325 0 : if (!SWIG_IsOK(ecode2)) {
20326 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_position_set" "', argument " "2"" of type '" "int""'");
20327 : }
20328 0 : arg2 = (int)(val2);
20329 0 : if (arg1) (arg1)->position = arg2;
20330 0 : ST(argvi) = sv_newmortal();
20331 :
20332 :
20333 0 : XSRETURN(argvi);
20334 : fail:
20335 :
20336 :
20337 0 : SWIG_croak_null();
20338 : }
20339 : }
20340 :
20341 :
20342 0 : XS(_wrap_scalebarObj_position_get) {
20343 : {
20344 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20345 0 : void *argp1 = 0 ;
20346 : int res1 = 0 ;
20347 : int argvi = 0;
20348 : int result;
20349 0 : dXSARGS;
20350 :
20351 0 : if ((items < 1) || (items > 1)) {
20352 0 : SWIG_croak("Usage: scalebarObj_position_get(self);");
20353 : }
20354 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20355 0 : if (!SWIG_IsOK(res1)) {
20356 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_position_get" "', argument " "1"" of type '" "scalebarObj *""'");
20357 : }
20358 0 : arg1 = (scalebarObj *)(argp1);
20359 0 : result = (int) ((arg1)->position);
20360 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20361 :
20362 0 : XSRETURN(argvi);
20363 : fail:
20364 :
20365 0 : SWIG_croak_null();
20366 : }
20367 : }
20368 :
20369 :
20370 0 : XS(_wrap_scalebarObj_postlabelcache_set) {
20371 : {
20372 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20373 : int arg2 ;
20374 0 : void *argp1 = 0 ;
20375 : int res1 = 0 ;
20376 : int val2 ;
20377 : int ecode2 = 0 ;
20378 : int argvi = 0;
20379 0 : dXSARGS;
20380 :
20381 0 : if ((items < 2) || (items > 2)) {
20382 0 : SWIG_croak("Usage: scalebarObj_postlabelcache_set(self,postlabelcache);");
20383 : }
20384 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20385 0 : if (!SWIG_IsOK(res1)) {
20386 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_postlabelcache_set" "', argument " "1"" of type '" "scalebarObj *""'");
20387 : }
20388 0 : arg1 = (scalebarObj *)(argp1);
20389 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20390 0 : if (!SWIG_IsOK(ecode2)) {
20391 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_postlabelcache_set" "', argument " "2"" of type '" "int""'");
20392 : }
20393 0 : arg2 = (int)(val2);
20394 0 : if (arg1) (arg1)->postlabelcache = arg2;
20395 0 : ST(argvi) = sv_newmortal();
20396 :
20397 :
20398 0 : XSRETURN(argvi);
20399 : fail:
20400 :
20401 :
20402 0 : SWIG_croak_null();
20403 : }
20404 : }
20405 :
20406 :
20407 0 : XS(_wrap_scalebarObj_postlabelcache_get) {
20408 : {
20409 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20410 0 : void *argp1 = 0 ;
20411 : int res1 = 0 ;
20412 : int argvi = 0;
20413 : int result;
20414 0 : dXSARGS;
20415 :
20416 0 : if ((items < 1) || (items > 1)) {
20417 0 : SWIG_croak("Usage: scalebarObj_postlabelcache_get(self);");
20418 : }
20419 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20420 0 : if (!SWIG_IsOK(res1)) {
20421 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_postlabelcache_get" "', argument " "1"" of type '" "scalebarObj *""'");
20422 : }
20423 0 : arg1 = (scalebarObj *)(argp1);
20424 0 : result = (int) ((arg1)->postlabelcache);
20425 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20426 :
20427 0 : XSRETURN(argvi);
20428 : fail:
20429 :
20430 0 : SWIG_croak_null();
20431 : }
20432 : }
20433 :
20434 :
20435 0 : XS(_wrap_scalebarObj_align_set) {
20436 : {
20437 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20438 : int arg2 ;
20439 0 : void *argp1 = 0 ;
20440 : int res1 = 0 ;
20441 : int val2 ;
20442 : int ecode2 = 0 ;
20443 : int argvi = 0;
20444 0 : dXSARGS;
20445 :
20446 0 : if ((items < 2) || (items > 2)) {
20447 0 : SWIG_croak("Usage: scalebarObj_align_set(self,align);");
20448 : }
20449 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20450 0 : if (!SWIG_IsOK(res1)) {
20451 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_align_set" "', argument " "1"" of type '" "scalebarObj *""'");
20452 : }
20453 0 : arg1 = (scalebarObj *)(argp1);
20454 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20455 0 : if (!SWIG_IsOK(ecode2)) {
20456 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_align_set" "', argument " "2"" of type '" "int""'");
20457 : }
20458 0 : arg2 = (int)(val2);
20459 0 : if (arg1) (arg1)->align = arg2;
20460 0 : ST(argvi) = sv_newmortal();
20461 :
20462 :
20463 0 : XSRETURN(argvi);
20464 : fail:
20465 :
20466 :
20467 0 : SWIG_croak_null();
20468 : }
20469 : }
20470 :
20471 :
20472 0 : XS(_wrap_scalebarObj_align_get) {
20473 : {
20474 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20475 0 : void *argp1 = 0 ;
20476 : int res1 = 0 ;
20477 : int argvi = 0;
20478 : int result;
20479 0 : dXSARGS;
20480 :
20481 0 : if ((items < 1) || (items > 1)) {
20482 0 : SWIG_croak("Usage: scalebarObj_align_get(self);");
20483 : }
20484 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20485 0 : if (!SWIG_IsOK(res1)) {
20486 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_align_get" "', argument " "1"" of type '" "scalebarObj *""'");
20487 : }
20488 0 : arg1 = (scalebarObj *)(argp1);
20489 0 : result = (int) ((arg1)->align);
20490 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20491 :
20492 0 : XSRETURN(argvi);
20493 : fail:
20494 :
20495 0 : SWIG_croak_null();
20496 : }
20497 : }
20498 :
20499 :
20500 0 : XS(_wrap_scalebarObj_offsetx_set) {
20501 : {
20502 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20503 : int arg2 ;
20504 0 : void *argp1 = 0 ;
20505 : int res1 = 0 ;
20506 : int val2 ;
20507 : int ecode2 = 0 ;
20508 : int argvi = 0;
20509 0 : dXSARGS;
20510 :
20511 0 : if ((items < 2) || (items > 2)) {
20512 0 : SWIG_croak("Usage: scalebarObj_offsetx_set(self,offsetx);");
20513 : }
20514 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20515 0 : if (!SWIG_IsOK(res1)) {
20516 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsetx_set" "', argument " "1"" of type '" "scalebarObj *""'");
20517 : }
20518 0 : arg1 = (scalebarObj *)(argp1);
20519 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20520 0 : if (!SWIG_IsOK(ecode2)) {
20521 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_offsetx_set" "', argument " "2"" of type '" "int""'");
20522 : }
20523 0 : arg2 = (int)(val2);
20524 0 : if (arg1) (arg1)->offsetx = arg2;
20525 0 : ST(argvi) = sv_newmortal();
20526 :
20527 :
20528 0 : XSRETURN(argvi);
20529 : fail:
20530 :
20531 :
20532 0 : SWIG_croak_null();
20533 : }
20534 : }
20535 :
20536 :
20537 0 : XS(_wrap_scalebarObj_offsetx_get) {
20538 : {
20539 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20540 0 : void *argp1 = 0 ;
20541 : int res1 = 0 ;
20542 : int argvi = 0;
20543 : int result;
20544 0 : dXSARGS;
20545 :
20546 0 : if ((items < 1) || (items > 1)) {
20547 0 : SWIG_croak("Usage: scalebarObj_offsetx_get(self);");
20548 : }
20549 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20550 0 : if (!SWIG_IsOK(res1)) {
20551 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsetx_get" "', argument " "1"" of type '" "scalebarObj *""'");
20552 : }
20553 0 : arg1 = (scalebarObj *)(argp1);
20554 0 : result = (int) ((arg1)->offsetx);
20555 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20556 :
20557 0 : XSRETURN(argvi);
20558 : fail:
20559 :
20560 0 : SWIG_croak_null();
20561 : }
20562 : }
20563 :
20564 :
20565 0 : XS(_wrap_scalebarObj_offsety_set) {
20566 : {
20567 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20568 : int arg2 ;
20569 0 : void *argp1 = 0 ;
20570 : int res1 = 0 ;
20571 : int val2 ;
20572 : int ecode2 = 0 ;
20573 : int argvi = 0;
20574 0 : dXSARGS;
20575 :
20576 0 : if ((items < 2) || (items > 2)) {
20577 0 : SWIG_croak("Usage: scalebarObj_offsety_set(self,offsety);");
20578 : }
20579 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20580 0 : if (!SWIG_IsOK(res1)) {
20581 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsety_set" "', argument " "1"" of type '" "scalebarObj *""'");
20582 : }
20583 0 : arg1 = (scalebarObj *)(argp1);
20584 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20585 0 : if (!SWIG_IsOK(ecode2)) {
20586 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_offsety_set" "', argument " "2"" of type '" "int""'");
20587 : }
20588 0 : arg2 = (int)(val2);
20589 0 : if (arg1) (arg1)->offsety = arg2;
20590 0 : ST(argvi) = sv_newmortal();
20591 :
20592 :
20593 0 : XSRETURN(argvi);
20594 : fail:
20595 :
20596 :
20597 0 : SWIG_croak_null();
20598 : }
20599 : }
20600 :
20601 :
20602 0 : XS(_wrap_scalebarObj_offsety_get) {
20603 : {
20604 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20605 0 : void *argp1 = 0 ;
20606 : int res1 = 0 ;
20607 : int argvi = 0;
20608 : int result;
20609 0 : dXSARGS;
20610 :
20611 0 : if ((items < 1) || (items > 1)) {
20612 0 : SWIG_croak("Usage: scalebarObj_offsety_get(self);");
20613 : }
20614 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20615 0 : if (!SWIG_IsOK(res1)) {
20616 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsety_get" "', argument " "1"" of type '" "scalebarObj *""'");
20617 : }
20618 0 : arg1 = (scalebarObj *)(argp1);
20619 0 : result = (int) ((arg1)->offsety);
20620 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20621 :
20622 0 : XSRETURN(argvi);
20623 : fail:
20624 :
20625 0 : SWIG_croak_null();
20626 : }
20627 : }
20628 :
20629 :
20630 0 : XS(_wrap_scalebarObj_updateFromString) {
20631 : {
20632 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20633 : char *arg2 = (char *) 0 ;
20634 0 : void *argp1 = 0 ;
20635 : int res1 = 0 ;
20636 : int res2 ;
20637 0 : char *buf2 = 0 ;
20638 0 : int alloc2 = 0 ;
20639 : int argvi = 0;
20640 : int result;
20641 0 : dXSARGS;
20642 :
20643 0 : if ((items < 2) || (items > 2)) {
20644 0 : SWIG_croak("Usage: scalebarObj_updateFromString(self,snippet);");
20645 : }
20646 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20647 0 : if (!SWIG_IsOK(res1)) {
20648 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_updateFromString" "', argument " "1"" of type '" "scalebarObj *""'");
20649 : }
20650 0 : arg1 = (scalebarObj *)(argp1);
20651 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
20652 0 : if (!SWIG_IsOK(res2)) {
20653 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_updateFromString" "', argument " "2"" of type '" "char *""'");
20654 : }
20655 0 : arg2 = (char *)(buf2);
20656 : result = (int)scalebarObj_updateFromString(arg1,arg2);
20657 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20658 :
20659 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20660 0 : XSRETURN(argvi);
20661 : fail:
20662 :
20663 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
20664 0 : SWIG_croak_null();
20665 : }
20666 : }
20667 :
20668 :
20669 0 : XS(_wrap_scalebarObj_convertToString) {
20670 : {
20671 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20672 0 : void *argp1 = 0 ;
20673 : int res1 = 0 ;
20674 : int argvi = 0;
20675 : char *result = 0 ;
20676 0 : dXSARGS;
20677 :
20678 0 : if ((items < 1) || (items > 1)) {
20679 0 : SWIG_croak("Usage: scalebarObj_convertToString(self);");
20680 : }
20681 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 | 0 );
20682 0 : if (!SWIG_IsOK(res1)) {
20683 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_convertToString" "', argument " "1"" of type '" "scalebarObj *""'");
20684 : }
20685 0 : arg1 = (scalebarObj *)(argp1);
20686 : result = (char *)scalebarObj_convertToString(arg1);
20687 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
20688 :
20689 0 : free((char*)result);
20690 0 : XSRETURN(argvi);
20691 : fail:
20692 :
20693 0 : SWIG_croak_null();
20694 : }
20695 : }
20696 :
20697 :
20698 0 : XS(_wrap_new_scalebarObj) {
20699 : {
20700 : int argvi = 0;
20701 : scalebarObj *result = 0 ;
20702 0 : dXSARGS;
20703 :
20704 0 : if ((items < 0) || (items > 0)) {
20705 0 : SWIG_croak("Usage: new_scalebarObj();");
20706 : }
20707 0 : result = (scalebarObj *)calloc(1, sizeof(scalebarObj));
20708 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scalebarObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
20709 0 : XSRETURN(argvi);
20710 : fail:
20711 0 : SWIG_croak_null();
20712 : }
20713 : }
20714 :
20715 :
20716 0 : XS(_wrap_delete_scalebarObj) {
20717 : {
20718 : scalebarObj *arg1 = (scalebarObj *) 0 ;
20719 0 : void *argp1 = 0 ;
20720 : int res1 = 0 ;
20721 : int argvi = 0;
20722 0 : dXSARGS;
20723 :
20724 0 : if ((items < 1) || (items > 1)) {
20725 0 : SWIG_croak("Usage: delete_scalebarObj(self);");
20726 : }
20727 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, SWIG_POINTER_DISOWN | 0 );
20728 0 : if (!SWIG_IsOK(res1)) {
20729 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_scalebarObj" "', argument " "1"" of type '" "scalebarObj *""'");
20730 : }
20731 0 : arg1 = (scalebarObj *)(argp1);
20732 0 : free((char *) arg1);
20733 0 : ST(argvi) = sv_newmortal();
20734 :
20735 0 : XSRETURN(argvi);
20736 : fail:
20737 :
20738 0 : SWIG_croak_null();
20739 : }
20740 : }
20741 :
20742 :
20743 0 : XS(_wrap_legendObj_imagecolor_set) {
20744 : {
20745 : legendObj *arg1 = (legendObj *) 0 ;
20746 : colorObj *arg2 = (colorObj *) 0 ;
20747 0 : void *argp1 = 0 ;
20748 : int res1 = 0 ;
20749 0 : void *argp2 = 0 ;
20750 : int res2 = 0 ;
20751 : int argvi = 0;
20752 0 : dXSARGS;
20753 :
20754 0 : if ((items < 2) || (items > 2)) {
20755 0 : SWIG_croak("Usage: legendObj_imagecolor_set(self,imagecolor);");
20756 : }
20757 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
20758 0 : if (!SWIG_IsOK(res1)) {
20759 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_imagecolor_set" "', argument " "1"" of type '" "legendObj *""'");
20760 : }
20761 0 : arg1 = (legendObj *)(argp1);
20762 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
20763 0 : if (!SWIG_IsOK(res2)) {
20764 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_imagecolor_set" "', argument " "2"" of type '" "colorObj *""'");
20765 : }
20766 0 : arg2 = (colorObj *)(argp2);
20767 0 : if (arg1) (arg1)->imagecolor = *arg2;
20768 0 : ST(argvi) = sv_newmortal();
20769 :
20770 :
20771 0 : XSRETURN(argvi);
20772 : fail:
20773 :
20774 :
20775 0 : SWIG_croak_null();
20776 : }
20777 : }
20778 :
20779 :
20780 0 : XS(_wrap_legendObj_imagecolor_get) {
20781 : {
20782 : legendObj *arg1 = (legendObj *) 0 ;
20783 0 : void *argp1 = 0 ;
20784 : int res1 = 0 ;
20785 : int argvi = 0;
20786 : colorObj *result = 0 ;
20787 0 : dXSARGS;
20788 :
20789 0 : if ((items < 1) || (items > 1)) {
20790 0 : SWIG_croak("Usage: legendObj_imagecolor_get(self);");
20791 : }
20792 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
20793 0 : if (!SWIG_IsOK(res1)) {
20794 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_imagecolor_get" "', argument " "1"" of type '" "legendObj *""'");
20795 : }
20796 0 : arg1 = (legendObj *)(argp1);
20797 0 : result = (colorObj *)& ((arg1)->imagecolor);
20798 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
20799 :
20800 0 : XSRETURN(argvi);
20801 : fail:
20802 :
20803 0 : SWIG_croak_null();
20804 : }
20805 : }
20806 :
20807 :
20808 0 : XS(_wrap_legendObj_label_get) {
20809 : {
20810 : legendObj *arg1 = (legendObj *) 0 ;
20811 0 : void *argp1 = 0 ;
20812 : int res1 = 0 ;
20813 : int argvi = 0;
20814 : labelObj *result = 0 ;
20815 0 : dXSARGS;
20816 :
20817 0 : if ((items < 1) || (items > 1)) {
20818 0 : SWIG_croak("Usage: legendObj_label_get(self);");
20819 : }
20820 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
20821 0 : if (!SWIG_IsOK(res1)) {
20822 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_label_get" "', argument " "1"" of type '" "legendObj *""'");
20823 : }
20824 0 : arg1 = (legendObj *)(argp1);
20825 0 : result = (labelObj *)& ((arg1)->label);
20826 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, 0 | SWIG_SHADOW); argvi++ ;
20827 :
20828 0 : XSRETURN(argvi);
20829 : fail:
20830 :
20831 0 : SWIG_croak_null();
20832 : }
20833 : }
20834 :
20835 :
20836 0 : XS(_wrap_legendObj_keysizex_set) {
20837 : {
20838 : legendObj *arg1 = (legendObj *) 0 ;
20839 : int arg2 ;
20840 0 : void *argp1 = 0 ;
20841 : int res1 = 0 ;
20842 : int val2 ;
20843 : int ecode2 = 0 ;
20844 : int argvi = 0;
20845 0 : dXSARGS;
20846 :
20847 0 : if ((items < 2) || (items > 2)) {
20848 0 : SWIG_croak("Usage: legendObj_keysizex_set(self,keysizex);");
20849 : }
20850 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
20851 0 : if (!SWIG_IsOK(res1)) {
20852 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizex_set" "', argument " "1"" of type '" "legendObj *""'");
20853 : }
20854 0 : arg1 = (legendObj *)(argp1);
20855 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20856 0 : if (!SWIG_IsOK(ecode2)) {
20857 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keysizex_set" "', argument " "2"" of type '" "int""'");
20858 : }
20859 0 : arg2 = (int)(val2);
20860 0 : if (arg1) (arg1)->keysizex = arg2;
20861 0 : ST(argvi) = sv_newmortal();
20862 :
20863 :
20864 0 : XSRETURN(argvi);
20865 : fail:
20866 :
20867 :
20868 0 : SWIG_croak_null();
20869 : }
20870 : }
20871 :
20872 :
20873 0 : XS(_wrap_legendObj_keysizex_get) {
20874 : {
20875 : legendObj *arg1 = (legendObj *) 0 ;
20876 0 : void *argp1 = 0 ;
20877 : int res1 = 0 ;
20878 : int argvi = 0;
20879 : int result;
20880 0 : dXSARGS;
20881 :
20882 0 : if ((items < 1) || (items > 1)) {
20883 0 : SWIG_croak("Usage: legendObj_keysizex_get(self);");
20884 : }
20885 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
20886 0 : if (!SWIG_IsOK(res1)) {
20887 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizex_get" "', argument " "1"" of type '" "legendObj *""'");
20888 : }
20889 0 : arg1 = (legendObj *)(argp1);
20890 0 : result = (int) ((arg1)->keysizex);
20891 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20892 :
20893 0 : XSRETURN(argvi);
20894 : fail:
20895 :
20896 0 : SWIG_croak_null();
20897 : }
20898 : }
20899 :
20900 :
20901 0 : XS(_wrap_legendObj_keysizey_set) {
20902 : {
20903 : legendObj *arg1 = (legendObj *) 0 ;
20904 : int arg2 ;
20905 0 : void *argp1 = 0 ;
20906 : int res1 = 0 ;
20907 : int val2 ;
20908 : int ecode2 = 0 ;
20909 : int argvi = 0;
20910 0 : dXSARGS;
20911 :
20912 0 : if ((items < 2) || (items > 2)) {
20913 0 : SWIG_croak("Usage: legendObj_keysizey_set(self,keysizey);");
20914 : }
20915 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
20916 0 : if (!SWIG_IsOK(res1)) {
20917 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizey_set" "', argument " "1"" of type '" "legendObj *""'");
20918 : }
20919 0 : arg1 = (legendObj *)(argp1);
20920 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20921 0 : if (!SWIG_IsOK(ecode2)) {
20922 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keysizey_set" "', argument " "2"" of type '" "int""'");
20923 : }
20924 0 : arg2 = (int)(val2);
20925 0 : if (arg1) (arg1)->keysizey = arg2;
20926 0 : ST(argvi) = sv_newmortal();
20927 :
20928 :
20929 0 : XSRETURN(argvi);
20930 : fail:
20931 :
20932 :
20933 0 : SWIG_croak_null();
20934 : }
20935 : }
20936 :
20937 :
20938 0 : XS(_wrap_legendObj_keysizey_get) {
20939 : {
20940 : legendObj *arg1 = (legendObj *) 0 ;
20941 0 : void *argp1 = 0 ;
20942 : int res1 = 0 ;
20943 : int argvi = 0;
20944 : int result;
20945 0 : dXSARGS;
20946 :
20947 0 : if ((items < 1) || (items > 1)) {
20948 0 : SWIG_croak("Usage: legendObj_keysizey_get(self);");
20949 : }
20950 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
20951 0 : if (!SWIG_IsOK(res1)) {
20952 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizey_get" "', argument " "1"" of type '" "legendObj *""'");
20953 : }
20954 0 : arg1 = (legendObj *)(argp1);
20955 0 : result = (int) ((arg1)->keysizey);
20956 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
20957 :
20958 0 : XSRETURN(argvi);
20959 : fail:
20960 :
20961 0 : SWIG_croak_null();
20962 : }
20963 : }
20964 :
20965 :
20966 0 : XS(_wrap_legendObj_keyspacingx_set) {
20967 : {
20968 : legendObj *arg1 = (legendObj *) 0 ;
20969 : int arg2 ;
20970 0 : void *argp1 = 0 ;
20971 : int res1 = 0 ;
20972 : int val2 ;
20973 : int ecode2 = 0 ;
20974 : int argvi = 0;
20975 0 : dXSARGS;
20976 :
20977 0 : if ((items < 2) || (items > 2)) {
20978 0 : SWIG_croak("Usage: legendObj_keyspacingx_set(self,keyspacingx);");
20979 : }
20980 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
20981 0 : if (!SWIG_IsOK(res1)) {
20982 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingx_set" "', argument " "1"" of type '" "legendObj *""'");
20983 : }
20984 0 : arg1 = (legendObj *)(argp1);
20985 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
20986 0 : if (!SWIG_IsOK(ecode2)) {
20987 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keyspacingx_set" "', argument " "2"" of type '" "int""'");
20988 : }
20989 0 : arg2 = (int)(val2);
20990 0 : if (arg1) (arg1)->keyspacingx = arg2;
20991 0 : ST(argvi) = sv_newmortal();
20992 :
20993 :
20994 0 : XSRETURN(argvi);
20995 : fail:
20996 :
20997 :
20998 0 : SWIG_croak_null();
20999 : }
21000 : }
21001 :
21002 :
21003 0 : XS(_wrap_legendObj_keyspacingx_get) {
21004 : {
21005 : legendObj *arg1 = (legendObj *) 0 ;
21006 0 : void *argp1 = 0 ;
21007 : int res1 = 0 ;
21008 : int argvi = 0;
21009 : int result;
21010 0 : dXSARGS;
21011 :
21012 0 : if ((items < 1) || (items > 1)) {
21013 0 : SWIG_croak("Usage: legendObj_keyspacingx_get(self);");
21014 : }
21015 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21016 0 : if (!SWIG_IsOK(res1)) {
21017 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingx_get" "', argument " "1"" of type '" "legendObj *""'");
21018 : }
21019 0 : arg1 = (legendObj *)(argp1);
21020 0 : result = (int) ((arg1)->keyspacingx);
21021 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21022 :
21023 0 : XSRETURN(argvi);
21024 : fail:
21025 :
21026 0 : SWIG_croak_null();
21027 : }
21028 : }
21029 :
21030 :
21031 0 : XS(_wrap_legendObj_keyspacingy_set) {
21032 : {
21033 : legendObj *arg1 = (legendObj *) 0 ;
21034 : int arg2 ;
21035 0 : void *argp1 = 0 ;
21036 : int res1 = 0 ;
21037 : int val2 ;
21038 : int ecode2 = 0 ;
21039 : int argvi = 0;
21040 0 : dXSARGS;
21041 :
21042 0 : if ((items < 2) || (items > 2)) {
21043 0 : SWIG_croak("Usage: legendObj_keyspacingy_set(self,keyspacingy);");
21044 : }
21045 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21046 0 : if (!SWIG_IsOK(res1)) {
21047 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingy_set" "', argument " "1"" of type '" "legendObj *""'");
21048 : }
21049 0 : arg1 = (legendObj *)(argp1);
21050 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21051 0 : if (!SWIG_IsOK(ecode2)) {
21052 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keyspacingy_set" "', argument " "2"" of type '" "int""'");
21053 : }
21054 0 : arg2 = (int)(val2);
21055 0 : if (arg1) (arg1)->keyspacingy = arg2;
21056 0 : ST(argvi) = sv_newmortal();
21057 :
21058 :
21059 0 : XSRETURN(argvi);
21060 : fail:
21061 :
21062 :
21063 0 : SWIG_croak_null();
21064 : }
21065 : }
21066 :
21067 :
21068 0 : XS(_wrap_legendObj_keyspacingy_get) {
21069 : {
21070 : legendObj *arg1 = (legendObj *) 0 ;
21071 0 : void *argp1 = 0 ;
21072 : int res1 = 0 ;
21073 : int argvi = 0;
21074 : int result;
21075 0 : dXSARGS;
21076 :
21077 0 : if ((items < 1) || (items > 1)) {
21078 0 : SWIG_croak("Usage: legendObj_keyspacingy_get(self);");
21079 : }
21080 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21081 0 : if (!SWIG_IsOK(res1)) {
21082 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingy_get" "', argument " "1"" of type '" "legendObj *""'");
21083 : }
21084 0 : arg1 = (legendObj *)(argp1);
21085 0 : result = (int) ((arg1)->keyspacingy);
21086 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21087 :
21088 0 : XSRETURN(argvi);
21089 : fail:
21090 :
21091 0 : SWIG_croak_null();
21092 : }
21093 : }
21094 :
21095 :
21096 0 : XS(_wrap_legendObj_outlinecolor_set) {
21097 : {
21098 : legendObj *arg1 = (legendObj *) 0 ;
21099 : colorObj *arg2 = (colorObj *) 0 ;
21100 0 : void *argp1 = 0 ;
21101 : int res1 = 0 ;
21102 0 : void *argp2 = 0 ;
21103 : int res2 = 0 ;
21104 : int argvi = 0;
21105 0 : dXSARGS;
21106 :
21107 0 : if ((items < 2) || (items > 2)) {
21108 0 : SWIG_croak("Usage: legendObj_outlinecolor_set(self,outlinecolor);");
21109 : }
21110 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21111 0 : if (!SWIG_IsOK(res1)) {
21112 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_outlinecolor_set" "', argument " "1"" of type '" "legendObj *""'");
21113 : }
21114 0 : arg1 = (legendObj *)(argp1);
21115 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
21116 0 : if (!SWIG_IsOK(res2)) {
21117 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'");
21118 : }
21119 0 : arg2 = (colorObj *)(argp2);
21120 0 : if (arg1) (arg1)->outlinecolor = *arg2;
21121 0 : ST(argvi) = sv_newmortal();
21122 :
21123 :
21124 0 : XSRETURN(argvi);
21125 : fail:
21126 :
21127 :
21128 0 : SWIG_croak_null();
21129 : }
21130 : }
21131 :
21132 :
21133 0 : XS(_wrap_legendObj_outlinecolor_get) {
21134 : {
21135 : legendObj *arg1 = (legendObj *) 0 ;
21136 0 : void *argp1 = 0 ;
21137 : int res1 = 0 ;
21138 : int argvi = 0;
21139 : colorObj *result = 0 ;
21140 0 : dXSARGS;
21141 :
21142 0 : if ((items < 1) || (items > 1)) {
21143 0 : SWIG_croak("Usage: legendObj_outlinecolor_get(self);");
21144 : }
21145 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21146 0 : if (!SWIG_IsOK(res1)) {
21147 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_outlinecolor_get" "', argument " "1"" of type '" "legendObj *""'");
21148 : }
21149 0 : arg1 = (legendObj *)(argp1);
21150 0 : result = (colorObj *)& ((arg1)->outlinecolor);
21151 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
21152 :
21153 0 : XSRETURN(argvi);
21154 : fail:
21155 :
21156 0 : SWIG_croak_null();
21157 : }
21158 : }
21159 :
21160 :
21161 0 : XS(_wrap_legendObj_status_set) {
21162 : {
21163 : legendObj *arg1 = (legendObj *) 0 ;
21164 : int arg2 ;
21165 0 : void *argp1 = 0 ;
21166 : int res1 = 0 ;
21167 : int val2 ;
21168 : int ecode2 = 0 ;
21169 : int argvi = 0;
21170 0 : dXSARGS;
21171 :
21172 0 : if ((items < 2) || (items > 2)) {
21173 0 : SWIG_croak("Usage: legendObj_status_set(self,status);");
21174 : }
21175 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21176 0 : if (!SWIG_IsOK(res1)) {
21177 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_status_set" "', argument " "1"" of type '" "legendObj *""'");
21178 : }
21179 0 : arg1 = (legendObj *)(argp1);
21180 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21181 0 : if (!SWIG_IsOK(ecode2)) {
21182 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_status_set" "', argument " "2"" of type '" "int""'");
21183 : }
21184 0 : arg2 = (int)(val2);
21185 0 : if (arg1) (arg1)->status = arg2;
21186 0 : ST(argvi) = sv_newmortal();
21187 :
21188 :
21189 0 : XSRETURN(argvi);
21190 : fail:
21191 :
21192 :
21193 0 : SWIG_croak_null();
21194 : }
21195 : }
21196 :
21197 :
21198 0 : XS(_wrap_legendObj_status_get) {
21199 : {
21200 : legendObj *arg1 = (legendObj *) 0 ;
21201 0 : void *argp1 = 0 ;
21202 : int res1 = 0 ;
21203 : int argvi = 0;
21204 : int result;
21205 0 : dXSARGS;
21206 :
21207 0 : if ((items < 1) || (items > 1)) {
21208 0 : SWIG_croak("Usage: legendObj_status_get(self);");
21209 : }
21210 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21211 0 : if (!SWIG_IsOK(res1)) {
21212 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_status_get" "', argument " "1"" of type '" "legendObj *""'");
21213 : }
21214 0 : arg1 = (legendObj *)(argp1);
21215 0 : result = (int) ((arg1)->status);
21216 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21217 :
21218 0 : XSRETURN(argvi);
21219 : fail:
21220 :
21221 0 : SWIG_croak_null();
21222 : }
21223 : }
21224 :
21225 :
21226 0 : XS(_wrap_legendObj_height_set) {
21227 : {
21228 : legendObj *arg1 = (legendObj *) 0 ;
21229 : int arg2 ;
21230 0 : void *argp1 = 0 ;
21231 : int res1 = 0 ;
21232 : int val2 ;
21233 : int ecode2 = 0 ;
21234 : int argvi = 0;
21235 0 : dXSARGS;
21236 :
21237 0 : if ((items < 2) || (items > 2)) {
21238 0 : SWIG_croak("Usage: legendObj_height_set(self,height);");
21239 : }
21240 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21241 0 : if (!SWIG_IsOK(res1)) {
21242 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_height_set" "', argument " "1"" of type '" "legendObj *""'");
21243 : }
21244 0 : arg1 = (legendObj *)(argp1);
21245 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21246 0 : if (!SWIG_IsOK(ecode2)) {
21247 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_height_set" "', argument " "2"" of type '" "int""'");
21248 : }
21249 0 : arg2 = (int)(val2);
21250 0 : if (arg1) (arg1)->height = arg2;
21251 0 : ST(argvi) = sv_newmortal();
21252 :
21253 :
21254 0 : XSRETURN(argvi);
21255 : fail:
21256 :
21257 :
21258 0 : SWIG_croak_null();
21259 : }
21260 : }
21261 :
21262 :
21263 0 : XS(_wrap_legendObj_height_get) {
21264 : {
21265 : legendObj *arg1 = (legendObj *) 0 ;
21266 0 : void *argp1 = 0 ;
21267 : int res1 = 0 ;
21268 : int argvi = 0;
21269 : int result;
21270 0 : dXSARGS;
21271 :
21272 0 : if ((items < 1) || (items > 1)) {
21273 0 : SWIG_croak("Usage: legendObj_height_get(self);");
21274 : }
21275 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21276 0 : if (!SWIG_IsOK(res1)) {
21277 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_height_get" "', argument " "1"" of type '" "legendObj *""'");
21278 : }
21279 0 : arg1 = (legendObj *)(argp1);
21280 0 : result = (int) ((arg1)->height);
21281 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21282 :
21283 0 : XSRETURN(argvi);
21284 : fail:
21285 :
21286 0 : SWIG_croak_null();
21287 : }
21288 : }
21289 :
21290 :
21291 0 : XS(_wrap_legendObj_width_set) {
21292 : {
21293 : legendObj *arg1 = (legendObj *) 0 ;
21294 : int arg2 ;
21295 0 : void *argp1 = 0 ;
21296 : int res1 = 0 ;
21297 : int val2 ;
21298 : int ecode2 = 0 ;
21299 : int argvi = 0;
21300 0 : dXSARGS;
21301 :
21302 0 : if ((items < 2) || (items > 2)) {
21303 0 : SWIG_croak("Usage: legendObj_width_set(self,width);");
21304 : }
21305 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21306 0 : if (!SWIG_IsOK(res1)) {
21307 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_width_set" "', argument " "1"" of type '" "legendObj *""'");
21308 : }
21309 0 : arg1 = (legendObj *)(argp1);
21310 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21311 0 : if (!SWIG_IsOK(ecode2)) {
21312 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_width_set" "', argument " "2"" of type '" "int""'");
21313 : }
21314 0 : arg2 = (int)(val2);
21315 0 : if (arg1) (arg1)->width = arg2;
21316 0 : ST(argvi) = sv_newmortal();
21317 :
21318 :
21319 0 : XSRETURN(argvi);
21320 : fail:
21321 :
21322 :
21323 0 : SWIG_croak_null();
21324 : }
21325 : }
21326 :
21327 :
21328 0 : XS(_wrap_legendObj_width_get) {
21329 : {
21330 : legendObj *arg1 = (legendObj *) 0 ;
21331 0 : void *argp1 = 0 ;
21332 : int res1 = 0 ;
21333 : int argvi = 0;
21334 : int result;
21335 0 : dXSARGS;
21336 :
21337 0 : if ((items < 1) || (items > 1)) {
21338 0 : SWIG_croak("Usage: legendObj_width_get(self);");
21339 : }
21340 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21341 0 : if (!SWIG_IsOK(res1)) {
21342 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_width_get" "', argument " "1"" of type '" "legendObj *""'");
21343 : }
21344 0 : arg1 = (legendObj *)(argp1);
21345 0 : result = (int) ((arg1)->width);
21346 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21347 :
21348 0 : XSRETURN(argvi);
21349 : fail:
21350 :
21351 0 : SWIG_croak_null();
21352 : }
21353 : }
21354 :
21355 :
21356 0 : XS(_wrap_legendObj_position_set) {
21357 : {
21358 : legendObj *arg1 = (legendObj *) 0 ;
21359 : int arg2 ;
21360 0 : void *argp1 = 0 ;
21361 : int res1 = 0 ;
21362 : int val2 ;
21363 : int ecode2 = 0 ;
21364 : int argvi = 0;
21365 0 : dXSARGS;
21366 :
21367 0 : if ((items < 2) || (items > 2)) {
21368 0 : SWIG_croak("Usage: legendObj_position_set(self,position);");
21369 : }
21370 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21371 0 : if (!SWIG_IsOK(res1)) {
21372 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_position_set" "', argument " "1"" of type '" "legendObj *""'");
21373 : }
21374 0 : arg1 = (legendObj *)(argp1);
21375 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21376 0 : if (!SWIG_IsOK(ecode2)) {
21377 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_position_set" "', argument " "2"" of type '" "int""'");
21378 : }
21379 0 : arg2 = (int)(val2);
21380 0 : if (arg1) (arg1)->position = arg2;
21381 0 : ST(argvi) = sv_newmortal();
21382 :
21383 :
21384 0 : XSRETURN(argvi);
21385 : fail:
21386 :
21387 :
21388 0 : SWIG_croak_null();
21389 : }
21390 : }
21391 :
21392 :
21393 0 : XS(_wrap_legendObj_position_get) {
21394 : {
21395 : legendObj *arg1 = (legendObj *) 0 ;
21396 0 : void *argp1 = 0 ;
21397 : int res1 = 0 ;
21398 : int argvi = 0;
21399 : int result;
21400 0 : dXSARGS;
21401 :
21402 0 : if ((items < 1) || (items > 1)) {
21403 0 : SWIG_croak("Usage: legendObj_position_get(self);");
21404 : }
21405 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21406 0 : if (!SWIG_IsOK(res1)) {
21407 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_position_get" "', argument " "1"" of type '" "legendObj *""'");
21408 : }
21409 0 : arg1 = (legendObj *)(argp1);
21410 0 : result = (int) ((arg1)->position);
21411 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21412 :
21413 0 : XSRETURN(argvi);
21414 : fail:
21415 :
21416 0 : SWIG_croak_null();
21417 : }
21418 : }
21419 :
21420 :
21421 0 : XS(_wrap_legendObj_postlabelcache_set) {
21422 : {
21423 : legendObj *arg1 = (legendObj *) 0 ;
21424 : int arg2 ;
21425 0 : void *argp1 = 0 ;
21426 : int res1 = 0 ;
21427 : int val2 ;
21428 : int ecode2 = 0 ;
21429 : int argvi = 0;
21430 0 : dXSARGS;
21431 :
21432 0 : if ((items < 2) || (items > 2)) {
21433 0 : SWIG_croak("Usage: legendObj_postlabelcache_set(self,postlabelcache);");
21434 : }
21435 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21436 0 : if (!SWIG_IsOK(res1)) {
21437 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_postlabelcache_set" "', argument " "1"" of type '" "legendObj *""'");
21438 : }
21439 0 : arg1 = (legendObj *)(argp1);
21440 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21441 0 : if (!SWIG_IsOK(ecode2)) {
21442 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_postlabelcache_set" "', argument " "2"" of type '" "int""'");
21443 : }
21444 0 : arg2 = (int)(val2);
21445 0 : if (arg1) (arg1)->postlabelcache = arg2;
21446 0 : ST(argvi) = sv_newmortal();
21447 :
21448 :
21449 0 : XSRETURN(argvi);
21450 : fail:
21451 :
21452 :
21453 0 : SWIG_croak_null();
21454 : }
21455 : }
21456 :
21457 :
21458 0 : XS(_wrap_legendObj_postlabelcache_get) {
21459 : {
21460 : legendObj *arg1 = (legendObj *) 0 ;
21461 0 : void *argp1 = 0 ;
21462 : int res1 = 0 ;
21463 : int argvi = 0;
21464 : int result;
21465 0 : dXSARGS;
21466 :
21467 0 : if ((items < 1) || (items > 1)) {
21468 0 : SWIG_croak("Usage: legendObj_postlabelcache_get(self);");
21469 : }
21470 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21471 0 : if (!SWIG_IsOK(res1)) {
21472 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_postlabelcache_get" "', argument " "1"" of type '" "legendObj *""'");
21473 : }
21474 0 : arg1 = (legendObj *)(argp1);
21475 0 : result = (int) ((arg1)->postlabelcache);
21476 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21477 :
21478 0 : XSRETURN(argvi);
21479 : fail:
21480 :
21481 0 : SWIG_croak_null();
21482 : }
21483 : }
21484 :
21485 :
21486 0 : XS(_wrap_legendObj_template_set) {
21487 : {
21488 : legendObj *arg1 = (legendObj *) 0 ;
21489 : char *arg2 = (char *) 0 ;
21490 0 : void *argp1 = 0 ;
21491 : int res1 = 0 ;
21492 : int res2 ;
21493 0 : char *buf2 = 0 ;
21494 0 : int alloc2 = 0 ;
21495 : int argvi = 0;
21496 0 : dXSARGS;
21497 :
21498 0 : if ((items < 2) || (items > 2)) {
21499 0 : SWIG_croak("Usage: legendObj_template_set(self,template);");
21500 : }
21501 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21502 0 : if (!SWIG_IsOK(res1)) {
21503 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_template_set" "', argument " "1"" of type '" "legendObj *""'");
21504 : }
21505 0 : arg1 = (legendObj *)(argp1);
21506 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
21507 0 : if (!SWIG_IsOK(res2)) {
21508 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_template_set" "', argument " "2"" of type '" "char *""'");
21509 : }
21510 0 : arg2 = (char *)(buf2);
21511 : {
21512 0 : if (arg1->template) free((char*)arg1->template);
21513 0 : if (arg2) {
21514 0 : arg1->template = (char *) malloc(strlen(arg2)+1);
21515 : strcpy((char*)arg1->template,arg2);
21516 : } else {
21517 0 : arg1->template = 0;
21518 : }
21519 : }
21520 0 : ST(argvi) = sv_newmortal();
21521 :
21522 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
21523 0 : XSRETURN(argvi);
21524 : fail:
21525 :
21526 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
21527 0 : SWIG_croak_null();
21528 : }
21529 : }
21530 :
21531 :
21532 0 : XS(_wrap_legendObj_template_get) {
21533 : {
21534 : legendObj *arg1 = (legendObj *) 0 ;
21535 0 : void *argp1 = 0 ;
21536 : int res1 = 0 ;
21537 : int argvi = 0;
21538 : char *result = 0 ;
21539 0 : dXSARGS;
21540 :
21541 0 : if ((items < 1) || (items > 1)) {
21542 0 : SWIG_croak("Usage: legendObj_template_get(self);");
21543 : }
21544 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21545 0 : if (!SWIG_IsOK(res1)) {
21546 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_template_get" "', argument " "1"" of type '" "legendObj *""'");
21547 : }
21548 0 : arg1 = (legendObj *)(argp1);
21549 0 : result = (char *) ((arg1)->template);
21550 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
21551 :
21552 0 : XSRETURN(argvi);
21553 : fail:
21554 :
21555 0 : SWIG_croak_null();
21556 : }
21557 : }
21558 :
21559 :
21560 0 : XS(_wrap_legendObj_map_get) {
21561 : {
21562 : legendObj *arg1 = (legendObj *) 0 ;
21563 0 : void *argp1 = 0 ;
21564 : int res1 = 0 ;
21565 : int argvi = 0;
21566 : struct mapObj *result = 0 ;
21567 0 : dXSARGS;
21568 :
21569 0 : if ((items < 1) || (items > 1)) {
21570 0 : SWIG_croak("Usage: legendObj_map_get(self);");
21571 : }
21572 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21573 0 : if (!SWIG_IsOK(res1)) {
21574 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_map_get" "', argument " "1"" of type '" "legendObj *""'");
21575 : }
21576 0 : arg1 = (legendObj *)(argp1);
21577 : {
21578 : /* Accessing map */
21579 0 : result = (struct mapObj *) ((arg1)->map);;
21580 0 : MS_REFCNT_INCR(result);
21581 : }
21582 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
21583 :
21584 0 : XSRETURN(argvi);
21585 : fail:
21586 :
21587 0 : SWIG_croak_null();
21588 : }
21589 : }
21590 :
21591 :
21592 0 : XS(_wrap_legendObj_updateFromString) {
21593 : {
21594 : legendObj *arg1 = (legendObj *) 0 ;
21595 : char *arg2 = (char *) 0 ;
21596 0 : void *argp1 = 0 ;
21597 : int res1 = 0 ;
21598 : int res2 ;
21599 0 : char *buf2 = 0 ;
21600 0 : int alloc2 = 0 ;
21601 : int argvi = 0;
21602 : int result;
21603 0 : dXSARGS;
21604 :
21605 0 : if ((items < 2) || (items > 2)) {
21606 0 : SWIG_croak("Usage: legendObj_updateFromString(self,snippet);");
21607 : }
21608 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21609 0 : if (!SWIG_IsOK(res1)) {
21610 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_updateFromString" "', argument " "1"" of type '" "legendObj *""'");
21611 : }
21612 0 : arg1 = (legendObj *)(argp1);
21613 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
21614 0 : if (!SWIG_IsOK(res2)) {
21615 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_updateFromString" "', argument " "2"" of type '" "char *""'");
21616 : }
21617 0 : arg2 = (char *)(buf2);
21618 : result = (int)legendObj_updateFromString(arg1,arg2);
21619 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21620 :
21621 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
21622 0 : XSRETURN(argvi);
21623 : fail:
21624 :
21625 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
21626 0 : SWIG_croak_null();
21627 : }
21628 : }
21629 :
21630 :
21631 0 : XS(_wrap_legendObj_convertToString) {
21632 : {
21633 : legendObj *arg1 = (legendObj *) 0 ;
21634 0 : void *argp1 = 0 ;
21635 : int res1 = 0 ;
21636 : int argvi = 0;
21637 : char *result = 0 ;
21638 0 : dXSARGS;
21639 :
21640 0 : if ((items < 1) || (items > 1)) {
21641 0 : SWIG_croak("Usage: legendObj_convertToString(self);");
21642 : }
21643 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 | 0 );
21644 0 : if (!SWIG_IsOK(res1)) {
21645 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_convertToString" "', argument " "1"" of type '" "legendObj *""'");
21646 : }
21647 0 : arg1 = (legendObj *)(argp1);
21648 : result = (char *)legendObj_convertToString(arg1);
21649 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
21650 :
21651 0 : free((char*)result);
21652 0 : XSRETURN(argvi);
21653 : fail:
21654 :
21655 0 : SWIG_croak_null();
21656 : }
21657 : }
21658 :
21659 :
21660 0 : XS(_wrap_new_legendObj) {
21661 : {
21662 : int argvi = 0;
21663 : legendObj *result = 0 ;
21664 0 : dXSARGS;
21665 :
21666 0 : if ((items < 0) || (items > 0)) {
21667 0 : SWIG_croak("Usage: new_legendObj();");
21668 : }
21669 0 : result = (legendObj *)calloc(1, sizeof(legendObj));
21670 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_legendObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
21671 0 : XSRETURN(argvi);
21672 : fail:
21673 0 : SWIG_croak_null();
21674 : }
21675 : }
21676 :
21677 :
21678 0 : XS(_wrap_delete_legendObj) {
21679 : {
21680 : legendObj *arg1 = (legendObj *) 0 ;
21681 0 : void *argp1 = 0 ;
21682 : int res1 = 0 ;
21683 : int argvi = 0;
21684 0 : dXSARGS;
21685 :
21686 0 : if ((items < 1) || (items > 1)) {
21687 0 : SWIG_croak("Usage: delete_legendObj(self);");
21688 : }
21689 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, SWIG_POINTER_DISOWN | 0 );
21690 0 : if (!SWIG_IsOK(res1)) {
21691 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_legendObj" "', argument " "1"" of type '" "legendObj *""'");
21692 : }
21693 0 : arg1 = (legendObj *)(argp1);
21694 0 : free((char *) arg1);
21695 0 : ST(argvi) = sv_newmortal();
21696 :
21697 0 : XSRETURN(argvi);
21698 : fail:
21699 :
21700 0 : SWIG_croak_null();
21701 : }
21702 : }
21703 :
21704 :
21705 0 : XS(_wrap_imageObj_width_get) {
21706 : {
21707 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21708 0 : void *argp1 = 0 ;
21709 : int res1 = 0 ;
21710 : int argvi = 0;
21711 : int result;
21712 0 : dXSARGS;
21713 :
21714 0 : if ((items < 1) || (items > 1)) {
21715 0 : SWIG_croak("Usage: imageObj_width_get(self);");
21716 : }
21717 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
21718 0 : if (!SWIG_IsOK(res1)) {
21719 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_width_get" "', argument " "1"" of type '" "struct imageObj *""'");
21720 : }
21721 0 : arg1 = (struct imageObj *)(argp1);
21722 0 : result = (int) ((arg1)->width);
21723 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21724 :
21725 0 : XSRETURN(argvi);
21726 : fail:
21727 :
21728 0 : SWIG_croak_null();
21729 : }
21730 : }
21731 :
21732 :
21733 0 : XS(_wrap_imageObj_height_get) {
21734 : {
21735 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21736 0 : void *argp1 = 0 ;
21737 : int res1 = 0 ;
21738 : int argvi = 0;
21739 : int result;
21740 0 : dXSARGS;
21741 :
21742 0 : if ((items < 1) || (items > 1)) {
21743 0 : SWIG_croak("Usage: imageObj_height_get(self);");
21744 : }
21745 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
21746 0 : if (!SWIG_IsOK(res1)) {
21747 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_height_get" "', argument " "1"" of type '" "struct imageObj *""'");
21748 : }
21749 0 : arg1 = (struct imageObj *)(argp1);
21750 0 : result = (int) ((arg1)->height);
21751 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
21752 :
21753 0 : XSRETURN(argvi);
21754 : fail:
21755 :
21756 0 : SWIG_croak_null();
21757 : }
21758 : }
21759 :
21760 :
21761 0 : XS(_wrap_imageObj_resolution_get) {
21762 : {
21763 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21764 0 : void *argp1 = 0 ;
21765 : int res1 = 0 ;
21766 : int argvi = 0;
21767 : double result;
21768 0 : dXSARGS;
21769 :
21770 0 : if ((items < 1) || (items > 1)) {
21771 0 : SWIG_croak("Usage: imageObj_resolution_get(self);");
21772 : }
21773 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
21774 0 : if (!SWIG_IsOK(res1)) {
21775 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_resolution_get" "', argument " "1"" of type '" "struct imageObj *""'");
21776 : }
21777 0 : arg1 = (struct imageObj *)(argp1);
21778 0 : result = (double) ((arg1)->resolution);
21779 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
21780 :
21781 0 : XSRETURN(argvi);
21782 : fail:
21783 :
21784 0 : SWIG_croak_null();
21785 : }
21786 : }
21787 :
21788 :
21789 0 : XS(_wrap_imageObj_resolutionfactor_get) {
21790 : {
21791 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21792 0 : void *argp1 = 0 ;
21793 : int res1 = 0 ;
21794 : int argvi = 0;
21795 : double result;
21796 0 : dXSARGS;
21797 :
21798 0 : if ((items < 1) || (items > 1)) {
21799 0 : SWIG_croak("Usage: imageObj_resolutionfactor_get(self);");
21800 : }
21801 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
21802 0 : if (!SWIG_IsOK(res1)) {
21803 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_resolutionfactor_get" "', argument " "1"" of type '" "struct imageObj *""'");
21804 : }
21805 0 : arg1 = (struct imageObj *)(argp1);
21806 0 : result = (double) ((arg1)->resolutionfactor);
21807 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
21808 :
21809 0 : XSRETURN(argvi);
21810 : fail:
21811 :
21812 0 : SWIG_croak_null();
21813 : }
21814 : }
21815 :
21816 :
21817 0 : XS(_wrap_imageObj_imagepath_get) {
21818 : {
21819 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21820 0 : void *argp1 = 0 ;
21821 : int res1 = 0 ;
21822 : int argvi = 0;
21823 : char *result = 0 ;
21824 0 : dXSARGS;
21825 :
21826 0 : if ((items < 1) || (items > 1)) {
21827 0 : SWIG_croak("Usage: imageObj_imagepath_get(self);");
21828 : }
21829 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
21830 0 : if (!SWIG_IsOK(res1)) {
21831 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_imagepath_get" "', argument " "1"" of type '" "struct imageObj *""'");
21832 : }
21833 0 : arg1 = (struct imageObj *)(argp1);
21834 0 : result = (char *) ((arg1)->imagepath);
21835 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
21836 :
21837 0 : XSRETURN(argvi);
21838 : fail:
21839 :
21840 0 : SWIG_croak_null();
21841 : }
21842 : }
21843 :
21844 :
21845 0 : XS(_wrap_imageObj_imageurl_get) {
21846 : {
21847 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21848 0 : void *argp1 = 0 ;
21849 : int res1 = 0 ;
21850 : int argvi = 0;
21851 : char *result = 0 ;
21852 0 : dXSARGS;
21853 :
21854 0 : if ((items < 1) || (items > 1)) {
21855 0 : SWIG_croak("Usage: imageObj_imageurl_get(self);");
21856 : }
21857 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
21858 0 : if (!SWIG_IsOK(res1)) {
21859 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_imageurl_get" "', argument " "1"" of type '" "struct imageObj *""'");
21860 : }
21861 0 : arg1 = (struct imageObj *)(argp1);
21862 0 : result = (char *) ((arg1)->imageurl);
21863 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
21864 :
21865 0 : XSRETURN(argvi);
21866 : fail:
21867 :
21868 0 : SWIG_croak_null();
21869 : }
21870 : }
21871 :
21872 :
21873 0 : XS(_wrap_imageObj_format_get) {
21874 : {
21875 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21876 0 : void *argp1 = 0 ;
21877 : int res1 = 0 ;
21878 : int argvi = 0;
21879 : outputFormatObj *result = 0 ;
21880 0 : dXSARGS;
21881 :
21882 0 : if ((items < 1) || (items > 1)) {
21883 0 : SWIG_croak("Usage: imageObj_format_get(self);");
21884 : }
21885 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
21886 0 : if (!SWIG_IsOK(res1)) {
21887 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_format_get" "', argument " "1"" of type '" "struct imageObj *""'");
21888 : }
21889 0 : arg1 = (struct imageObj *)(argp1);
21890 0 : result = (outputFormatObj *) ((arg1)->format);
21891 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, 0 | SWIG_SHADOW); argvi++ ;
21892 :
21893 0 : XSRETURN(argvi);
21894 : fail:
21895 :
21896 0 : SWIG_croak_null();
21897 : }
21898 : }
21899 :
21900 :
21901 0 : XS(_wrap_new_imageObj) {
21902 : {
21903 : int arg1 ;
21904 : int arg2 ;
21905 : outputFormatObj *arg3 = (outputFormatObj *) NULL ;
21906 : char *arg4 = (char *) NULL ;
21907 : double arg5 = (double) MS_DEFAULT_RESOLUTION ;
21908 : double arg6 = (double) MS_DEFAULT_RESOLUTION ;
21909 : int val1 ;
21910 : int ecode1 = 0 ;
21911 : int val2 ;
21912 : int ecode2 = 0 ;
21913 0 : void *argp3 = 0 ;
21914 : int res3 = 0 ;
21915 : int res4 ;
21916 0 : char *buf4 = 0 ;
21917 0 : int alloc4 = 0 ;
21918 : double val5 ;
21919 : int ecode5 = 0 ;
21920 : double val6 ;
21921 : int ecode6 = 0 ;
21922 : int argvi = 0;
21923 : struct imageObj *result = 0 ;
21924 0 : dXSARGS;
21925 :
21926 0 : if ((items < 2) || (items > 6)) {
21927 0 : SWIG_croak("Usage: new_imageObj(width,height,input_format,file,resolution,defresolution);");
21928 : }
21929 0 : ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
21930 0 : if (!SWIG_IsOK(ecode1)) {
21931 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_imageObj" "', argument " "1"" of type '" "int""'");
21932 : }
21933 0 : arg1 = (int)(val1);
21934 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
21935 0 : if (!SWIG_IsOK(ecode2)) {
21936 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_imageObj" "', argument " "2"" of type '" "int""'");
21937 : }
21938 0 : arg2 = (int)(val2);
21939 0 : if (items > 2) {
21940 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_outputFormatObj, 0 | 0 );
21941 0 : if (!SWIG_IsOK(res3)) {
21942 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_imageObj" "', argument " "3"" of type '" "outputFormatObj *""'");
21943 : }
21944 0 : arg3 = (outputFormatObj *)(argp3);
21945 : }
21946 0 : if (items > 3) {
21947 0 : res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
21948 0 : if (!SWIG_IsOK(res4)) {
21949 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_imageObj" "', argument " "4"" of type '" "char const *""'");
21950 : }
21951 0 : arg4 = (char *)(buf4);
21952 : }
21953 0 : if (items > 4) {
21954 0 : ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
21955 0 : if (!SWIG_IsOK(ecode5)) {
21956 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_imageObj" "', argument " "5"" of type '" "double""'");
21957 : }
21958 0 : arg5 = (double)(val5);
21959 : }
21960 0 : if (items > 5) {
21961 0 : ecode6 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
21962 0 : if (!SWIG_IsOK(ecode6)) {
21963 0 : SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_imageObj" "', argument " "6"" of type '" "double""'");
21964 : }
21965 0 : arg6 = (double)(val6);
21966 : }
21967 0 : result = (struct imageObj *)new_imageObj(arg1,arg2,arg3,(char const *)arg4,arg5,arg6);
21968 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
21969 :
21970 :
21971 :
21972 0 : if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
21973 :
21974 :
21975 0 : XSRETURN(argvi);
21976 : fail:
21977 :
21978 :
21979 :
21980 0 : if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
21981 :
21982 :
21983 0 : SWIG_croak_null();
21984 : }
21985 : }
21986 :
21987 :
21988 0 : XS(_wrap_delete_imageObj) {
21989 : {
21990 : struct imageObj *arg1 = (struct imageObj *) 0 ;
21991 0 : void *argp1 = 0 ;
21992 : int res1 = 0 ;
21993 : int argvi = 0;
21994 0 : dXSARGS;
21995 :
21996 0 : if ((items < 1) || (items > 1)) {
21997 0 : SWIG_croak("Usage: delete_imageObj(self);");
21998 : }
21999 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, SWIG_POINTER_DISOWN | 0 );
22000 0 : if (!SWIG_IsOK(res1)) {
22001 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_imageObj" "', argument " "1"" of type '" "struct imageObj *""'");
22002 : }
22003 0 : arg1 = (struct imageObj *)(argp1);
22004 : delete_imageObj(arg1);
22005 0 : ST(argvi) = sv_newmortal();
22006 :
22007 0 : XSRETURN(argvi);
22008 : fail:
22009 :
22010 0 : SWIG_croak_null();
22011 : }
22012 : }
22013 :
22014 :
22015 0 : XS(_wrap_imageObj_save) {
22016 : {
22017 : struct imageObj *arg1 = (struct imageObj *) 0 ;
22018 : char *arg2 = (char *) 0 ;
22019 : mapObj *arg3 = (mapObj *) NULL ;
22020 0 : void *argp1 = 0 ;
22021 : int res1 = 0 ;
22022 : int res2 ;
22023 0 : char *buf2 = 0 ;
22024 0 : int alloc2 = 0 ;
22025 0 : void *argp3 = 0 ;
22026 : int res3 = 0 ;
22027 : int argvi = 0;
22028 0 : dXSARGS;
22029 :
22030 0 : if ((items < 2) || (items > 3)) {
22031 0 : SWIG_croak("Usage: imageObj_save(self,filename,map);");
22032 : }
22033 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
22034 0 : if (!SWIG_IsOK(res1)) {
22035 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_save" "', argument " "1"" of type '" "struct imageObj *""'");
22036 : }
22037 0 : arg1 = (struct imageObj *)(argp1);
22038 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
22039 0 : if (!SWIG_IsOK(res2)) {
22040 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "imageObj_save" "', argument " "2"" of type '" "char *""'");
22041 : }
22042 0 : arg2 = (char *)(buf2);
22043 0 : if (items > 2) {
22044 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_mapObj, 0 | 0 );
22045 0 : if (!SWIG_IsOK(res3)) {
22046 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "imageObj_save" "', argument " "3"" of type '" "mapObj *""'");
22047 : }
22048 0 : arg3 = (mapObj *)(argp3);
22049 : }
22050 : imageObj_save(arg1,arg2,arg3);
22051 0 : ST(argvi) = sv_newmortal();
22052 :
22053 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22054 :
22055 0 : XSRETURN(argvi);
22056 : fail:
22057 :
22058 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22059 :
22060 0 : SWIG_croak_null();
22061 : }
22062 : }
22063 :
22064 :
22065 0 : XS(_wrap_imageObj_write) {
22066 : {
22067 : struct imageObj *arg1 = (struct imageObj *) 0 ;
22068 : FILE *arg2 = (FILE *) NULL ;
22069 0 : void *argp1 = 0 ;
22070 : int res1 = 0 ;
22071 : int argvi = 0;
22072 : int result;
22073 0 : dXSARGS;
22074 :
22075 0 : if ((items < 1) || (items > 2)) {
22076 0 : SWIG_croak("Usage: imageObj_write(self,file);");
22077 : }
22078 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
22079 0 : if (!SWIG_IsOK(res1)) {
22080 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_write" "', argument " "1"" of type '" "struct imageObj *""'");
22081 : }
22082 0 : arg1 = (struct imageObj *)(argp1);
22083 0 : if (items > 1) {
22084 : {
22085 0 : arg2 = PerlIO_exportFILE (IoIFP (sv_2io (ST(1))), NULL);
22086 : }
22087 : }
22088 0 : result = (int)imageObj_write(arg1,arg2);
22089 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22090 :
22091 :
22092 0 : XSRETURN(argvi);
22093 : fail:
22094 :
22095 :
22096 0 : SWIG_croak_null();
22097 : }
22098 : }
22099 :
22100 :
22101 0 : XS(_wrap_imageObj_getBytes) {
22102 : {
22103 : struct imageObj *arg1 = (struct imageObj *) 0 ;
22104 0 : void *argp1 = 0 ;
22105 : int res1 = 0 ;
22106 : int argvi = 0;
22107 : gdBuffer result;
22108 0 : dXSARGS;
22109 :
22110 0 : if ((items < 1) || (items > 1)) {
22111 0 : SWIG_croak("Usage: imageObj_getBytes(self);");
22112 : }
22113 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
22114 0 : if (!SWIG_IsOK(res1)) {
22115 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_getBytes" "', argument " "1"" of type '" "struct imageObj *""'");
22116 : }
22117 0 : arg1 = (struct imageObj *)(argp1);
22118 0 : result = imageObj_getBytes(arg1);
22119 : {
22120 : SV *mysv;
22121 0 : mysv = sv_newmortal();
22122 0 : if ((&result)->data == NULL)
22123 0 : sv_setpv(mysv,"");
22124 : else
22125 0 : sv_setpvn(mysv,(const char*)(&result)->data,(&result)->size);
22126 0 : ST(argvi) = newRV(mysv);
22127 0 : sv_2mortal(ST(argvi));
22128 : argvi++;
22129 0 : if( (&result)->owns_data )
22130 0 : msFree((&result)->data);
22131 : }
22132 :
22133 0 : XSRETURN(argvi);
22134 : fail:
22135 :
22136 0 : SWIG_croak_null();
22137 : }
22138 : }
22139 :
22140 :
22141 0 : XS(_wrap_imageObj_getSize) {
22142 : {
22143 : struct imageObj *arg1 = (struct imageObj *) 0 ;
22144 0 : void *argp1 = 0 ;
22145 : int res1 = 0 ;
22146 : int argvi = 0;
22147 : int result;
22148 0 : dXSARGS;
22149 :
22150 0 : if ((items < 1) || (items > 1)) {
22151 0 : SWIG_croak("Usage: imageObj_getSize(self);");
22152 : }
22153 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
22154 0 : if (!SWIG_IsOK(res1)) {
22155 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_getSize" "', argument " "1"" of type '" "struct imageObj *""'");
22156 : }
22157 0 : arg1 = (struct imageObj *)(argp1);
22158 0 : result = (int)imageObj_getSize(arg1);
22159 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22160 :
22161 0 : XSRETURN(argvi);
22162 : fail:
22163 :
22164 0 : SWIG_croak_null();
22165 : }
22166 : }
22167 :
22168 :
22169 0 : XS(_wrap_scaleTokenEntryObj_minscale_set) {
22170 : {
22171 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22172 : double arg2 ;
22173 0 : void *argp1 = 0 ;
22174 : int res1 = 0 ;
22175 : double val2 ;
22176 : int ecode2 = 0 ;
22177 : int argvi = 0;
22178 0 : dXSARGS;
22179 :
22180 0 : if ((items < 2) || (items > 2)) {
22181 0 : SWIG_croak("Usage: scaleTokenEntryObj_minscale_set(self,minscale);");
22182 : }
22183 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 | 0 );
22184 0 : if (!SWIG_IsOK(res1)) {
22185 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_minscale_set" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22186 : }
22187 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22188 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
22189 0 : if (!SWIG_IsOK(ecode2)) {
22190 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scaleTokenEntryObj_minscale_set" "', argument " "2"" of type '" "double""'");
22191 : }
22192 0 : arg2 = (double)(val2);
22193 0 : if (arg1) (arg1)->minscale = arg2;
22194 0 : ST(argvi) = sv_newmortal();
22195 :
22196 :
22197 0 : XSRETURN(argvi);
22198 : fail:
22199 :
22200 :
22201 0 : SWIG_croak_null();
22202 : }
22203 : }
22204 :
22205 :
22206 0 : XS(_wrap_scaleTokenEntryObj_minscale_get) {
22207 : {
22208 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22209 0 : void *argp1 = 0 ;
22210 : int res1 = 0 ;
22211 : int argvi = 0;
22212 : double result;
22213 0 : dXSARGS;
22214 :
22215 0 : if ((items < 1) || (items > 1)) {
22216 0 : SWIG_croak("Usage: scaleTokenEntryObj_minscale_get(self);");
22217 : }
22218 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 | 0 );
22219 0 : if (!SWIG_IsOK(res1)) {
22220 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_minscale_get" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22221 : }
22222 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22223 0 : result = (double) ((arg1)->minscale);
22224 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
22225 :
22226 0 : XSRETURN(argvi);
22227 : fail:
22228 :
22229 0 : SWIG_croak_null();
22230 : }
22231 : }
22232 :
22233 :
22234 0 : XS(_wrap_scaleTokenEntryObj_maxscale_set) {
22235 : {
22236 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22237 : double arg2 ;
22238 0 : void *argp1 = 0 ;
22239 : int res1 = 0 ;
22240 : double val2 ;
22241 : int ecode2 = 0 ;
22242 : int argvi = 0;
22243 0 : dXSARGS;
22244 :
22245 0 : if ((items < 2) || (items > 2)) {
22246 0 : SWIG_croak("Usage: scaleTokenEntryObj_maxscale_set(self,maxscale);");
22247 : }
22248 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 | 0 );
22249 0 : if (!SWIG_IsOK(res1)) {
22250 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_maxscale_set" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22251 : }
22252 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22253 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
22254 0 : if (!SWIG_IsOK(ecode2)) {
22255 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scaleTokenEntryObj_maxscale_set" "', argument " "2"" of type '" "double""'");
22256 : }
22257 0 : arg2 = (double)(val2);
22258 0 : if (arg1) (arg1)->maxscale = arg2;
22259 0 : ST(argvi) = sv_newmortal();
22260 :
22261 :
22262 0 : XSRETURN(argvi);
22263 : fail:
22264 :
22265 :
22266 0 : SWIG_croak_null();
22267 : }
22268 : }
22269 :
22270 :
22271 0 : XS(_wrap_scaleTokenEntryObj_maxscale_get) {
22272 : {
22273 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22274 0 : void *argp1 = 0 ;
22275 : int res1 = 0 ;
22276 : int argvi = 0;
22277 : double result;
22278 0 : dXSARGS;
22279 :
22280 0 : if ((items < 1) || (items > 1)) {
22281 0 : SWIG_croak("Usage: scaleTokenEntryObj_maxscale_get(self);");
22282 : }
22283 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 | 0 );
22284 0 : if (!SWIG_IsOK(res1)) {
22285 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_maxscale_get" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22286 : }
22287 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22288 0 : result = (double) ((arg1)->maxscale);
22289 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
22290 :
22291 0 : XSRETURN(argvi);
22292 : fail:
22293 :
22294 0 : SWIG_croak_null();
22295 : }
22296 : }
22297 :
22298 :
22299 0 : XS(_wrap_scaleTokenEntryObj_value_set) {
22300 : {
22301 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22302 : char *arg2 = (char *) 0 ;
22303 0 : void *argp1 = 0 ;
22304 : int res1 = 0 ;
22305 : int res2 ;
22306 0 : char *buf2 = 0 ;
22307 0 : int alloc2 = 0 ;
22308 : int argvi = 0;
22309 0 : dXSARGS;
22310 :
22311 0 : if ((items < 2) || (items > 2)) {
22312 0 : SWIG_croak("Usage: scaleTokenEntryObj_value_set(self,value);");
22313 : }
22314 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 | 0 );
22315 0 : if (!SWIG_IsOK(res1)) {
22316 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_value_set" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22317 : }
22318 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22319 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
22320 0 : if (!SWIG_IsOK(res2)) {
22321 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scaleTokenEntryObj_value_set" "', argument " "2"" of type '" "char *""'");
22322 : }
22323 0 : arg2 = (char *)(buf2);
22324 : {
22325 0 : if (arg1->value) free((char*)arg1->value);
22326 0 : if (arg2) {
22327 0 : arg1->value = (char *) malloc(strlen(arg2)+1);
22328 : strcpy((char*)arg1->value,arg2);
22329 : } else {
22330 0 : arg1->value = 0;
22331 : }
22332 : }
22333 0 : ST(argvi) = sv_newmortal();
22334 :
22335 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22336 0 : XSRETURN(argvi);
22337 : fail:
22338 :
22339 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22340 0 : SWIG_croak_null();
22341 : }
22342 : }
22343 :
22344 :
22345 0 : XS(_wrap_scaleTokenEntryObj_value_get) {
22346 : {
22347 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22348 0 : void *argp1 = 0 ;
22349 : int res1 = 0 ;
22350 : int argvi = 0;
22351 : char *result = 0 ;
22352 0 : dXSARGS;
22353 :
22354 0 : if ((items < 1) || (items > 1)) {
22355 0 : SWIG_croak("Usage: scaleTokenEntryObj_value_get(self);");
22356 : }
22357 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 | 0 );
22358 0 : if (!SWIG_IsOK(res1)) {
22359 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_value_get" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22360 : }
22361 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22362 0 : result = (char *) ((arg1)->value);
22363 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
22364 :
22365 0 : XSRETURN(argvi);
22366 : fail:
22367 :
22368 0 : SWIG_croak_null();
22369 : }
22370 : }
22371 :
22372 :
22373 0 : XS(_wrap_new_scaleTokenEntryObj) {
22374 : {
22375 : int argvi = 0;
22376 : scaleTokenEntryObj *result = 0 ;
22377 0 : dXSARGS;
22378 :
22379 0 : if ((items < 0) || (items > 0)) {
22380 0 : SWIG_croak("Usage: new_scaleTokenEntryObj();");
22381 : }
22382 0 : result = (scaleTokenEntryObj *)calloc(1, sizeof(scaleTokenEntryObj));
22383 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scaleTokenEntryObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
22384 0 : XSRETURN(argvi);
22385 : fail:
22386 0 : SWIG_croak_null();
22387 : }
22388 : }
22389 :
22390 :
22391 0 : XS(_wrap_delete_scaleTokenEntryObj) {
22392 : {
22393 : scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
22394 0 : void *argp1 = 0 ;
22395 : int res1 = 0 ;
22396 : int argvi = 0;
22397 0 : dXSARGS;
22398 :
22399 0 : if ((items < 1) || (items > 1)) {
22400 0 : SWIG_croak("Usage: delete_scaleTokenEntryObj(self);");
22401 : }
22402 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, SWIG_POINTER_DISOWN | 0 );
22403 0 : if (!SWIG_IsOK(res1)) {
22404 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_scaleTokenEntryObj" "', argument " "1"" of type '" "scaleTokenEntryObj *""'");
22405 : }
22406 0 : arg1 = (scaleTokenEntryObj *)(argp1);
22407 0 : free((char *) arg1);
22408 0 : ST(argvi) = sv_newmortal();
22409 :
22410 0 : XSRETURN(argvi);
22411 : fail:
22412 :
22413 0 : SWIG_croak_null();
22414 : }
22415 : }
22416 :
22417 :
22418 0 : XS(_wrap_scaleTokenObj_name_set) {
22419 : {
22420 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22421 : char *arg2 = (char *) 0 ;
22422 0 : void *argp1 = 0 ;
22423 : int res1 = 0 ;
22424 : int res2 ;
22425 0 : char *buf2 = 0 ;
22426 0 : int alloc2 = 0 ;
22427 : int argvi = 0;
22428 0 : dXSARGS;
22429 :
22430 0 : if ((items < 2) || (items > 2)) {
22431 0 : SWIG_croak("Usage: scaleTokenObj_name_set(self,name);");
22432 : }
22433 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 | 0 );
22434 0 : if (!SWIG_IsOK(res1)) {
22435 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_name_set" "', argument " "1"" of type '" "scaleTokenObj *""'");
22436 : }
22437 0 : arg1 = (scaleTokenObj *)(argp1);
22438 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
22439 0 : if (!SWIG_IsOK(res2)) {
22440 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scaleTokenObj_name_set" "', argument " "2"" of type '" "char *""'");
22441 : }
22442 0 : arg2 = (char *)(buf2);
22443 : {
22444 0 : if (arg1->name) free((char*)arg1->name);
22445 0 : if (arg2) {
22446 0 : arg1->name = (char *) malloc(strlen(arg2)+1);
22447 : strcpy((char*)arg1->name,arg2);
22448 : } else {
22449 0 : arg1->name = 0;
22450 : }
22451 : }
22452 0 : ST(argvi) = sv_newmortal();
22453 :
22454 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22455 0 : XSRETURN(argvi);
22456 : fail:
22457 :
22458 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22459 0 : SWIG_croak_null();
22460 : }
22461 : }
22462 :
22463 :
22464 0 : XS(_wrap_scaleTokenObj_name_get) {
22465 : {
22466 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22467 0 : void *argp1 = 0 ;
22468 : int res1 = 0 ;
22469 : int argvi = 0;
22470 : char *result = 0 ;
22471 0 : dXSARGS;
22472 :
22473 0 : if ((items < 1) || (items > 1)) {
22474 0 : SWIG_croak("Usage: scaleTokenObj_name_get(self);");
22475 : }
22476 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 | 0 );
22477 0 : if (!SWIG_IsOK(res1)) {
22478 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_name_get" "', argument " "1"" of type '" "scaleTokenObj *""'");
22479 : }
22480 0 : arg1 = (scaleTokenObj *)(argp1);
22481 0 : result = (char *) ((arg1)->name);
22482 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
22483 :
22484 0 : XSRETURN(argvi);
22485 : fail:
22486 :
22487 0 : SWIG_croak_null();
22488 : }
22489 : }
22490 :
22491 :
22492 0 : XS(_wrap_scaleTokenObj_n_entries_set) {
22493 : {
22494 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22495 : int arg2 ;
22496 0 : void *argp1 = 0 ;
22497 : int res1 = 0 ;
22498 : int val2 ;
22499 : int ecode2 = 0 ;
22500 : int argvi = 0;
22501 0 : dXSARGS;
22502 :
22503 0 : if ((items < 2) || (items > 2)) {
22504 0 : SWIG_croak("Usage: scaleTokenObj_n_entries_set(self,n_entries);");
22505 : }
22506 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 | 0 );
22507 0 : if (!SWIG_IsOK(res1)) {
22508 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_n_entries_set" "', argument " "1"" of type '" "scaleTokenObj *""'");
22509 : }
22510 0 : arg1 = (scaleTokenObj *)(argp1);
22511 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
22512 0 : if (!SWIG_IsOK(ecode2)) {
22513 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scaleTokenObj_n_entries_set" "', argument " "2"" of type '" "int""'");
22514 : }
22515 0 : arg2 = (int)(val2);
22516 0 : if (arg1) (arg1)->n_entries = arg2;
22517 0 : ST(argvi) = sv_newmortal();
22518 :
22519 :
22520 0 : XSRETURN(argvi);
22521 : fail:
22522 :
22523 :
22524 0 : SWIG_croak_null();
22525 : }
22526 : }
22527 :
22528 :
22529 0 : XS(_wrap_scaleTokenObj_n_entries_get) {
22530 : {
22531 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22532 0 : void *argp1 = 0 ;
22533 : int res1 = 0 ;
22534 : int argvi = 0;
22535 : int result;
22536 0 : dXSARGS;
22537 :
22538 0 : if ((items < 1) || (items > 1)) {
22539 0 : SWIG_croak("Usage: scaleTokenObj_n_entries_get(self);");
22540 : }
22541 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 | 0 );
22542 0 : if (!SWIG_IsOK(res1)) {
22543 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_n_entries_get" "', argument " "1"" of type '" "scaleTokenObj *""'");
22544 : }
22545 0 : arg1 = (scaleTokenObj *)(argp1);
22546 0 : result = (int) ((arg1)->n_entries);
22547 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22548 :
22549 0 : XSRETURN(argvi);
22550 : fail:
22551 :
22552 0 : SWIG_croak_null();
22553 : }
22554 : }
22555 :
22556 :
22557 0 : XS(_wrap_scaleTokenObj_tokens_set) {
22558 : {
22559 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22560 : scaleTokenEntryObj *arg2 = (scaleTokenEntryObj *) 0 ;
22561 0 : void *argp1 = 0 ;
22562 : int res1 = 0 ;
22563 0 : void *argp2 = 0 ;
22564 : int res2 = 0 ;
22565 : int argvi = 0;
22566 0 : dXSARGS;
22567 :
22568 0 : if ((items < 2) || (items > 2)) {
22569 0 : SWIG_croak("Usage: scaleTokenObj_tokens_set(self,tokens);");
22570 : }
22571 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 | 0 );
22572 0 : if (!SWIG_IsOK(res1)) {
22573 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_tokens_set" "', argument " "1"" of type '" "scaleTokenObj *""'");
22574 : }
22575 0 : arg1 = (scaleTokenObj *)(argp1);
22576 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_scaleTokenEntryObj, SWIG_POINTER_DISOWN | 0 );
22577 0 : if (!SWIG_IsOK(res2)) {
22578 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scaleTokenObj_tokens_set" "', argument " "2"" of type '" "scaleTokenEntryObj *""'");
22579 : }
22580 0 : arg2 = (scaleTokenEntryObj *)(argp2);
22581 0 : if (arg1) (arg1)->tokens = arg2;
22582 0 : ST(argvi) = sv_newmortal();
22583 :
22584 :
22585 0 : XSRETURN(argvi);
22586 : fail:
22587 :
22588 :
22589 0 : SWIG_croak_null();
22590 : }
22591 : }
22592 :
22593 :
22594 0 : XS(_wrap_scaleTokenObj_tokens_get) {
22595 : {
22596 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22597 0 : void *argp1 = 0 ;
22598 : int res1 = 0 ;
22599 : int argvi = 0;
22600 : scaleTokenEntryObj *result = 0 ;
22601 0 : dXSARGS;
22602 :
22603 0 : if ((items < 1) || (items > 1)) {
22604 0 : SWIG_croak("Usage: scaleTokenObj_tokens_get(self);");
22605 : }
22606 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 | 0 );
22607 0 : if (!SWIG_IsOK(res1)) {
22608 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_tokens_get" "', argument " "1"" of type '" "scaleTokenObj *""'");
22609 : }
22610 0 : arg1 = (scaleTokenObj *)(argp1);
22611 0 : result = (scaleTokenEntryObj *) ((arg1)->tokens);
22612 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scaleTokenEntryObj, 0 | SWIG_SHADOW); argvi++ ;
22613 :
22614 0 : XSRETURN(argvi);
22615 : fail:
22616 :
22617 0 : SWIG_croak_null();
22618 : }
22619 : }
22620 :
22621 :
22622 0 : XS(_wrap_new_scaleTokenObj) {
22623 : {
22624 : int argvi = 0;
22625 : scaleTokenObj *result = 0 ;
22626 0 : dXSARGS;
22627 :
22628 0 : if ((items < 0) || (items > 0)) {
22629 0 : SWIG_croak("Usage: new_scaleTokenObj();");
22630 : }
22631 0 : result = (scaleTokenObj *)calloc(1, sizeof(scaleTokenObj));
22632 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scaleTokenObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
22633 0 : XSRETURN(argvi);
22634 : fail:
22635 0 : SWIG_croak_null();
22636 : }
22637 : }
22638 :
22639 :
22640 0 : XS(_wrap_delete_scaleTokenObj) {
22641 : {
22642 : scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
22643 0 : void *argp1 = 0 ;
22644 : int res1 = 0 ;
22645 : int argvi = 0;
22646 0 : dXSARGS;
22647 :
22648 0 : if ((items < 1) || (items > 1)) {
22649 0 : SWIG_croak("Usage: delete_scaleTokenObj(self);");
22650 : }
22651 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, SWIG_POINTER_DISOWN | 0 );
22652 0 : if (!SWIG_IsOK(res1)) {
22653 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_scaleTokenObj" "', argument " "1"" of type '" "scaleTokenObj *""'");
22654 : }
22655 0 : arg1 = (scaleTokenObj *)(argp1);
22656 0 : free((char *) arg1);
22657 0 : ST(argvi) = sv_newmortal();
22658 :
22659 0 : XSRETURN(argvi);
22660 : fail:
22661 :
22662 0 : SWIG_croak_null();
22663 : }
22664 : }
22665 :
22666 :
22667 0 : XS(_wrap_layerObj_classitem_set) {
22668 : {
22669 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22670 : char *arg2 = (char *) 0 ;
22671 0 : void *argp1 = 0 ;
22672 : int res1 = 0 ;
22673 : int res2 ;
22674 0 : char *buf2 = 0 ;
22675 0 : int alloc2 = 0 ;
22676 : int argvi = 0;
22677 0 : dXSARGS;
22678 :
22679 0 : if ((items < 2) || (items > 2)) {
22680 0 : SWIG_croak("Usage: layerObj_classitem_set(self,classitem);");
22681 : }
22682 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22683 0 : if (!SWIG_IsOK(res1)) {
22684 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classitem_set" "', argument " "1"" of type '" "struct layerObj *""'");
22685 : }
22686 0 : arg1 = (struct layerObj *)(argp1);
22687 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
22688 0 : if (!SWIG_IsOK(res2)) {
22689 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_classitem_set" "', argument " "2"" of type '" "char *""'");
22690 : }
22691 0 : arg2 = (char *)(buf2);
22692 : {
22693 0 : if (arg1->classitem) free((char*)arg1->classitem);
22694 0 : if (arg2) {
22695 0 : arg1->classitem = (char *) malloc(strlen(arg2)+1);
22696 : strcpy((char*)arg1->classitem,arg2);
22697 : } else {
22698 0 : arg1->classitem = 0;
22699 : }
22700 : }
22701 0 : ST(argvi) = sv_newmortal();
22702 :
22703 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22704 0 : XSRETURN(argvi);
22705 : fail:
22706 :
22707 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22708 0 : SWIG_croak_null();
22709 : }
22710 : }
22711 :
22712 :
22713 0 : XS(_wrap_layerObj_classitem_get) {
22714 : {
22715 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22716 0 : void *argp1 = 0 ;
22717 : int res1 = 0 ;
22718 : int argvi = 0;
22719 : char *result = 0 ;
22720 0 : dXSARGS;
22721 :
22722 0 : if ((items < 1) || (items > 1)) {
22723 0 : SWIG_croak("Usage: layerObj_classitem_get(self);");
22724 : }
22725 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22726 0 : if (!SWIG_IsOK(res1)) {
22727 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classitem_get" "', argument " "1"" of type '" "struct layerObj *""'");
22728 : }
22729 0 : arg1 = (struct layerObj *)(argp1);
22730 0 : result = (char *) ((arg1)->classitem);
22731 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
22732 :
22733 0 : XSRETURN(argvi);
22734 : fail:
22735 :
22736 0 : SWIG_croak_null();
22737 : }
22738 : }
22739 :
22740 :
22741 0 : XS(_wrap_layerObj_refcount_get) {
22742 : {
22743 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22744 0 : void *argp1 = 0 ;
22745 : int res1 = 0 ;
22746 : int argvi = 0;
22747 : int result;
22748 0 : dXSARGS;
22749 :
22750 0 : if ((items < 1) || (items > 1)) {
22751 0 : SWIG_croak("Usage: layerObj_refcount_get(self);");
22752 : }
22753 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22754 0 : if (!SWIG_IsOK(res1)) {
22755 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_refcount_get" "', argument " "1"" of type '" "struct layerObj *""'");
22756 : }
22757 0 : arg1 = (struct layerObj *)(argp1);
22758 0 : result = (int) ((arg1)->refcount);
22759 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22760 :
22761 0 : XSRETURN(argvi);
22762 : fail:
22763 :
22764 0 : SWIG_croak_null();
22765 : }
22766 : }
22767 :
22768 :
22769 0 : XS(_wrap_layerObj_numclasses_get) {
22770 : {
22771 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22772 0 : void *argp1 = 0 ;
22773 : int res1 = 0 ;
22774 : int argvi = 0;
22775 : int result;
22776 0 : dXSARGS;
22777 :
22778 0 : if ((items < 1) || (items > 1)) {
22779 0 : SWIG_croak("Usage: layerObj_numclasses_get(self);");
22780 : }
22781 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22782 0 : if (!SWIG_IsOK(res1)) {
22783 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numclasses_get" "', argument " "1"" of type '" "struct layerObj *""'");
22784 : }
22785 0 : arg1 = (struct layerObj *)(argp1);
22786 0 : result = (int) ((arg1)->numclasses);
22787 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22788 :
22789 0 : XSRETURN(argvi);
22790 : fail:
22791 :
22792 0 : SWIG_croak_null();
22793 : }
22794 : }
22795 :
22796 :
22797 0 : XS(_wrap_layerObj_maxclasses_get) {
22798 : {
22799 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22800 0 : void *argp1 = 0 ;
22801 : int res1 = 0 ;
22802 : int argvi = 0;
22803 : int result;
22804 0 : dXSARGS;
22805 :
22806 0 : if ((items < 1) || (items > 1)) {
22807 0 : SWIG_croak("Usage: layerObj_maxclasses_get(self);");
22808 : }
22809 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22810 0 : if (!SWIG_IsOK(res1)) {
22811 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxclasses_get" "', argument " "1"" of type '" "struct layerObj *""'");
22812 : }
22813 0 : arg1 = (struct layerObj *)(argp1);
22814 0 : result = (int) ((arg1)->maxclasses);
22815 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22816 :
22817 0 : XSRETURN(argvi);
22818 : fail:
22819 :
22820 0 : SWIG_croak_null();
22821 : }
22822 : }
22823 :
22824 :
22825 0 : XS(_wrap_layerObj_index_get) {
22826 : {
22827 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22828 0 : void *argp1 = 0 ;
22829 : int res1 = 0 ;
22830 : int argvi = 0;
22831 : int result;
22832 0 : dXSARGS;
22833 :
22834 0 : if ((items < 1) || (items > 1)) {
22835 0 : SWIG_croak("Usage: layerObj_index_get(self);");
22836 : }
22837 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22838 0 : if (!SWIG_IsOK(res1)) {
22839 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_index_get" "', argument " "1"" of type '" "struct layerObj *""'");
22840 : }
22841 0 : arg1 = (struct layerObj *)(argp1);
22842 0 : result = (int) ((arg1)->index);
22843 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
22844 :
22845 0 : XSRETURN(argvi);
22846 : fail:
22847 :
22848 0 : SWIG_croak_null();
22849 : }
22850 : }
22851 :
22852 :
22853 1 : XS(_wrap_layerObj_map_get) {
22854 : {
22855 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22856 1 : void *argp1 = 0 ;
22857 : int res1 = 0 ;
22858 : int argvi = 0;
22859 : struct mapObj *result = 0 ;
22860 1 : dXSARGS;
22861 :
22862 1 : if ((items < 1) || (items > 1)) {
22863 0 : SWIG_croak("Usage: layerObj_map_get(self);");
22864 : }
22865 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22866 1 : if (!SWIG_IsOK(res1)) {
22867 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_map_get" "', argument " "1"" of type '" "struct layerObj *""'");
22868 : }
22869 1 : arg1 = (struct layerObj *)(argp1);
22870 : {
22871 : /* Accessing map */
22872 1 : result = (struct mapObj *) ((arg1)->map);;
22873 1 : MS_REFCNT_INCR(result);
22874 : }
22875 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
22876 :
22877 1 : XSRETURN(argvi);
22878 : fail:
22879 :
22880 0 : SWIG_croak_null();
22881 : }
22882 : }
22883 :
22884 :
22885 0 : XS(_wrap_layerObj_header_set) {
22886 : {
22887 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22888 : char *arg2 = (char *) 0 ;
22889 0 : void *argp1 = 0 ;
22890 : int res1 = 0 ;
22891 : int res2 ;
22892 0 : char *buf2 = 0 ;
22893 0 : int alloc2 = 0 ;
22894 : int argvi = 0;
22895 0 : dXSARGS;
22896 :
22897 0 : if ((items < 2) || (items > 2)) {
22898 0 : SWIG_croak("Usage: layerObj_header_set(self,header);");
22899 : }
22900 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22901 0 : if (!SWIG_IsOK(res1)) {
22902 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_header_set" "', argument " "1"" of type '" "struct layerObj *""'");
22903 : }
22904 0 : arg1 = (struct layerObj *)(argp1);
22905 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
22906 0 : if (!SWIG_IsOK(res2)) {
22907 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_header_set" "', argument " "2"" of type '" "char *""'");
22908 : }
22909 0 : arg2 = (char *)(buf2);
22910 : {
22911 0 : if (arg1->header) free((char*)arg1->header);
22912 0 : if (arg2) {
22913 0 : arg1->header = (char *) malloc(strlen(arg2)+1);
22914 : strcpy((char*)arg1->header,arg2);
22915 : } else {
22916 0 : arg1->header = 0;
22917 : }
22918 : }
22919 0 : ST(argvi) = sv_newmortal();
22920 :
22921 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22922 0 : XSRETURN(argvi);
22923 : fail:
22924 :
22925 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22926 0 : SWIG_croak_null();
22927 : }
22928 : }
22929 :
22930 :
22931 0 : XS(_wrap_layerObj_header_get) {
22932 : {
22933 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22934 0 : void *argp1 = 0 ;
22935 : int res1 = 0 ;
22936 : int argvi = 0;
22937 : char *result = 0 ;
22938 0 : dXSARGS;
22939 :
22940 0 : if ((items < 1) || (items > 1)) {
22941 0 : SWIG_croak("Usage: layerObj_header_get(self);");
22942 : }
22943 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22944 0 : if (!SWIG_IsOK(res1)) {
22945 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_header_get" "', argument " "1"" of type '" "struct layerObj *""'");
22946 : }
22947 0 : arg1 = (struct layerObj *)(argp1);
22948 0 : result = (char *) ((arg1)->header);
22949 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
22950 :
22951 0 : XSRETURN(argvi);
22952 : fail:
22953 :
22954 0 : SWIG_croak_null();
22955 : }
22956 : }
22957 :
22958 :
22959 0 : XS(_wrap_layerObj_footer_set) {
22960 : {
22961 : struct layerObj *arg1 = (struct layerObj *) 0 ;
22962 : char *arg2 = (char *) 0 ;
22963 0 : void *argp1 = 0 ;
22964 : int res1 = 0 ;
22965 : int res2 ;
22966 0 : char *buf2 = 0 ;
22967 0 : int alloc2 = 0 ;
22968 : int argvi = 0;
22969 0 : dXSARGS;
22970 :
22971 0 : if ((items < 2) || (items > 2)) {
22972 0 : SWIG_croak("Usage: layerObj_footer_set(self,footer);");
22973 : }
22974 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
22975 0 : if (!SWIG_IsOK(res1)) {
22976 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_footer_set" "', argument " "1"" of type '" "struct layerObj *""'");
22977 : }
22978 0 : arg1 = (struct layerObj *)(argp1);
22979 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
22980 0 : if (!SWIG_IsOK(res2)) {
22981 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_footer_set" "', argument " "2"" of type '" "char *""'");
22982 : }
22983 0 : arg2 = (char *)(buf2);
22984 : {
22985 0 : if (arg1->footer) free((char*)arg1->footer);
22986 0 : if (arg2) {
22987 0 : arg1->footer = (char *) malloc(strlen(arg2)+1);
22988 : strcpy((char*)arg1->footer,arg2);
22989 : } else {
22990 0 : arg1->footer = 0;
22991 : }
22992 : }
22993 0 : ST(argvi) = sv_newmortal();
22994 :
22995 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
22996 0 : XSRETURN(argvi);
22997 : fail:
22998 :
22999 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23000 0 : SWIG_croak_null();
23001 : }
23002 : }
23003 :
23004 :
23005 0 : XS(_wrap_layerObj_footer_get) {
23006 : {
23007 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23008 0 : void *argp1 = 0 ;
23009 : int res1 = 0 ;
23010 : int argvi = 0;
23011 : char *result = 0 ;
23012 0 : dXSARGS;
23013 :
23014 0 : if ((items < 1) || (items > 1)) {
23015 0 : SWIG_croak("Usage: layerObj_footer_get(self);");
23016 : }
23017 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23018 0 : if (!SWIG_IsOK(res1)) {
23019 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_footer_get" "', argument " "1"" of type '" "struct layerObj *""'");
23020 : }
23021 0 : arg1 = (struct layerObj *)(argp1);
23022 0 : result = (char *) ((arg1)->footer);
23023 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
23024 :
23025 0 : XSRETURN(argvi);
23026 : fail:
23027 :
23028 0 : SWIG_croak_null();
23029 : }
23030 : }
23031 :
23032 :
23033 0 : XS(_wrap_layerObj_template_set) {
23034 : {
23035 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23036 : char *arg2 = (char *) 0 ;
23037 0 : void *argp1 = 0 ;
23038 : int res1 = 0 ;
23039 : int res2 ;
23040 0 : char *buf2 = 0 ;
23041 0 : int alloc2 = 0 ;
23042 : int argvi = 0;
23043 0 : dXSARGS;
23044 :
23045 0 : if ((items < 2) || (items > 2)) {
23046 0 : SWIG_croak("Usage: layerObj_template_set(self,template);");
23047 : }
23048 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23049 0 : if (!SWIG_IsOK(res1)) {
23050 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_template_set" "', argument " "1"" of type '" "struct layerObj *""'");
23051 : }
23052 0 : arg1 = (struct layerObj *)(argp1);
23053 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
23054 0 : if (!SWIG_IsOK(res2)) {
23055 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_template_set" "', argument " "2"" of type '" "char *""'");
23056 : }
23057 0 : arg2 = (char *)(buf2);
23058 : {
23059 0 : if (arg1->template) free((char*)arg1->template);
23060 0 : if (arg2) {
23061 0 : arg1->template = (char *) malloc(strlen(arg2)+1);
23062 : strcpy((char*)arg1->template,arg2);
23063 : } else {
23064 0 : arg1->template = 0;
23065 : }
23066 : }
23067 0 : ST(argvi) = sv_newmortal();
23068 :
23069 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23070 0 : XSRETURN(argvi);
23071 : fail:
23072 :
23073 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23074 0 : SWIG_croak_null();
23075 : }
23076 : }
23077 :
23078 :
23079 0 : XS(_wrap_layerObj_template_get) {
23080 : {
23081 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23082 0 : void *argp1 = 0 ;
23083 : int res1 = 0 ;
23084 : int argvi = 0;
23085 : char *result = 0 ;
23086 0 : dXSARGS;
23087 :
23088 0 : if ((items < 1) || (items > 1)) {
23089 0 : SWIG_croak("Usage: layerObj_template_get(self);");
23090 : }
23091 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23092 0 : if (!SWIG_IsOK(res1)) {
23093 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_template_get" "', argument " "1"" of type '" "struct layerObj *""'");
23094 : }
23095 0 : arg1 = (struct layerObj *)(argp1);
23096 0 : result = (char *) ((arg1)->template);
23097 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
23098 :
23099 0 : XSRETURN(argvi);
23100 : fail:
23101 :
23102 0 : SWIG_croak_null();
23103 : }
23104 : }
23105 :
23106 :
23107 0 : XS(_wrap_layerObj_name_set) {
23108 : {
23109 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23110 : char *arg2 = (char *) 0 ;
23111 0 : void *argp1 = 0 ;
23112 : int res1 = 0 ;
23113 : int res2 ;
23114 0 : char *buf2 = 0 ;
23115 0 : int alloc2 = 0 ;
23116 : int argvi = 0;
23117 0 : dXSARGS;
23118 :
23119 0 : if ((items < 2) || (items > 2)) {
23120 0 : SWIG_croak("Usage: layerObj_name_set(self,name);");
23121 : }
23122 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23123 0 : if (!SWIG_IsOK(res1)) {
23124 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_name_set" "', argument " "1"" of type '" "struct layerObj *""'");
23125 : }
23126 0 : arg1 = (struct layerObj *)(argp1);
23127 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
23128 0 : if (!SWIG_IsOK(res2)) {
23129 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_name_set" "', argument " "2"" of type '" "char *""'");
23130 : }
23131 0 : arg2 = (char *)(buf2);
23132 : {
23133 0 : if (arg1->name) free((char*)arg1->name);
23134 0 : if (arg2) {
23135 0 : arg1->name = (char *) malloc(strlen(arg2)+1);
23136 : strcpy((char*)arg1->name,arg2);
23137 : } else {
23138 0 : arg1->name = 0;
23139 : }
23140 : }
23141 0 : ST(argvi) = sv_newmortal();
23142 :
23143 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23144 0 : XSRETURN(argvi);
23145 : fail:
23146 :
23147 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23148 0 : SWIG_croak_null();
23149 : }
23150 : }
23151 :
23152 :
23153 0 : XS(_wrap_layerObj_name_get) {
23154 : {
23155 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23156 0 : void *argp1 = 0 ;
23157 : int res1 = 0 ;
23158 : int argvi = 0;
23159 : char *result = 0 ;
23160 0 : dXSARGS;
23161 :
23162 0 : if ((items < 1) || (items > 1)) {
23163 0 : SWIG_croak("Usage: layerObj_name_get(self);");
23164 : }
23165 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23166 0 : if (!SWIG_IsOK(res1)) {
23167 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_name_get" "', argument " "1"" of type '" "struct layerObj *""'");
23168 : }
23169 0 : arg1 = (struct layerObj *)(argp1);
23170 0 : result = (char *) ((arg1)->name);
23171 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
23172 :
23173 0 : XSRETURN(argvi);
23174 : fail:
23175 :
23176 0 : SWIG_croak_null();
23177 : }
23178 : }
23179 :
23180 :
23181 0 : XS(_wrap_layerObj_group_set) {
23182 : {
23183 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23184 : char *arg2 = (char *) 0 ;
23185 0 : void *argp1 = 0 ;
23186 : int res1 = 0 ;
23187 : int res2 ;
23188 0 : char *buf2 = 0 ;
23189 0 : int alloc2 = 0 ;
23190 : int argvi = 0;
23191 0 : dXSARGS;
23192 :
23193 0 : if ((items < 2) || (items > 2)) {
23194 0 : SWIG_croak("Usage: layerObj_group_set(self,group);");
23195 : }
23196 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23197 0 : if (!SWIG_IsOK(res1)) {
23198 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_group_set" "', argument " "1"" of type '" "struct layerObj *""'");
23199 : }
23200 0 : arg1 = (struct layerObj *)(argp1);
23201 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
23202 0 : if (!SWIG_IsOK(res2)) {
23203 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_group_set" "', argument " "2"" of type '" "char *""'");
23204 : }
23205 0 : arg2 = (char *)(buf2);
23206 : {
23207 0 : if (arg1->group) free((char*)arg1->group);
23208 0 : if (arg2) {
23209 0 : arg1->group = (char *) malloc(strlen(arg2)+1);
23210 : strcpy((char*)arg1->group,arg2);
23211 : } else {
23212 0 : arg1->group = 0;
23213 : }
23214 : }
23215 0 : ST(argvi) = sv_newmortal();
23216 :
23217 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23218 0 : XSRETURN(argvi);
23219 : fail:
23220 :
23221 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23222 0 : SWIG_croak_null();
23223 : }
23224 : }
23225 :
23226 :
23227 0 : XS(_wrap_layerObj_group_get) {
23228 : {
23229 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23230 0 : void *argp1 = 0 ;
23231 : int res1 = 0 ;
23232 : int argvi = 0;
23233 : char *result = 0 ;
23234 0 : dXSARGS;
23235 :
23236 0 : if ((items < 1) || (items > 1)) {
23237 0 : SWIG_croak("Usage: layerObj_group_get(self);");
23238 : }
23239 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23240 0 : if (!SWIG_IsOK(res1)) {
23241 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_group_get" "', argument " "1"" of type '" "struct layerObj *""'");
23242 : }
23243 0 : arg1 = (struct layerObj *)(argp1);
23244 0 : result = (char *) ((arg1)->group);
23245 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
23246 :
23247 0 : XSRETURN(argvi);
23248 : fail:
23249 :
23250 0 : SWIG_croak_null();
23251 : }
23252 : }
23253 :
23254 :
23255 0 : XS(_wrap_layerObj_status_set) {
23256 : {
23257 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23258 : int arg2 ;
23259 0 : void *argp1 = 0 ;
23260 : int res1 = 0 ;
23261 : int val2 ;
23262 : int ecode2 = 0 ;
23263 : int argvi = 0;
23264 0 : dXSARGS;
23265 :
23266 0 : if ((items < 2) || (items > 2)) {
23267 0 : SWIG_croak("Usage: layerObj_status_set(self,status);");
23268 : }
23269 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23270 0 : if (!SWIG_IsOK(res1)) {
23271 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_status_set" "', argument " "1"" of type '" "struct layerObj *""'");
23272 : }
23273 0 : arg1 = (struct layerObj *)(argp1);
23274 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23275 0 : if (!SWIG_IsOK(ecode2)) {
23276 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_status_set" "', argument " "2"" of type '" "int""'");
23277 : }
23278 0 : arg2 = (int)(val2);
23279 0 : if (arg1) (arg1)->status = arg2;
23280 0 : ST(argvi) = sv_newmortal();
23281 :
23282 :
23283 0 : XSRETURN(argvi);
23284 : fail:
23285 :
23286 :
23287 0 : SWIG_croak_null();
23288 : }
23289 : }
23290 :
23291 :
23292 0 : XS(_wrap_layerObj_status_get) {
23293 : {
23294 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23295 0 : void *argp1 = 0 ;
23296 : int res1 = 0 ;
23297 : int argvi = 0;
23298 : int result;
23299 0 : dXSARGS;
23300 :
23301 0 : if ((items < 1) || (items > 1)) {
23302 0 : SWIG_croak("Usage: layerObj_status_get(self);");
23303 : }
23304 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23305 0 : if (!SWIG_IsOK(res1)) {
23306 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_status_get" "', argument " "1"" of type '" "struct layerObj *""'");
23307 : }
23308 0 : arg1 = (struct layerObj *)(argp1);
23309 0 : result = (int) ((arg1)->status);
23310 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
23311 :
23312 0 : XSRETURN(argvi);
23313 : fail:
23314 :
23315 0 : SWIG_croak_null();
23316 : }
23317 : }
23318 :
23319 :
23320 0 : XS(_wrap_layerObj_data_set) {
23321 : {
23322 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23323 : char *arg2 = (char *) 0 ;
23324 0 : void *argp1 = 0 ;
23325 : int res1 = 0 ;
23326 : int res2 ;
23327 0 : char *buf2 = 0 ;
23328 0 : int alloc2 = 0 ;
23329 : int argvi = 0;
23330 0 : dXSARGS;
23331 :
23332 0 : if ((items < 2) || (items > 2)) {
23333 0 : SWIG_croak("Usage: layerObj_data_set(self,data);");
23334 : }
23335 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23336 0 : if (!SWIG_IsOK(res1)) {
23337 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_data_set" "', argument " "1"" of type '" "struct layerObj *""'");
23338 : }
23339 0 : arg1 = (struct layerObj *)(argp1);
23340 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
23341 0 : if (!SWIG_IsOK(res2)) {
23342 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_data_set" "', argument " "2"" of type '" "char *""'");
23343 : }
23344 0 : arg2 = (char *)(buf2);
23345 : {
23346 0 : if (arg1->data) free((char*)arg1->data);
23347 0 : if (arg2) {
23348 0 : arg1->data = (char *) malloc(strlen(arg2)+1);
23349 : strcpy((char*)arg1->data,arg2);
23350 : } else {
23351 0 : arg1->data = 0;
23352 : }
23353 : }
23354 0 : ST(argvi) = sv_newmortal();
23355 :
23356 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23357 0 : XSRETURN(argvi);
23358 : fail:
23359 :
23360 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
23361 0 : SWIG_croak_null();
23362 : }
23363 : }
23364 :
23365 :
23366 0 : XS(_wrap_layerObj_data_get) {
23367 : {
23368 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23369 0 : void *argp1 = 0 ;
23370 : int res1 = 0 ;
23371 : int argvi = 0;
23372 : char *result = 0 ;
23373 0 : dXSARGS;
23374 :
23375 0 : if ((items < 1) || (items > 1)) {
23376 0 : SWIG_croak("Usage: layerObj_data_get(self);");
23377 : }
23378 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23379 0 : if (!SWIG_IsOK(res1)) {
23380 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_data_get" "', argument " "1"" of type '" "struct layerObj *""'");
23381 : }
23382 0 : arg1 = (struct layerObj *)(argp1);
23383 0 : result = (char *) ((arg1)->data);
23384 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
23385 :
23386 0 : XSRETURN(argvi);
23387 : fail:
23388 :
23389 0 : SWIG_croak_null();
23390 : }
23391 : }
23392 :
23393 :
23394 0 : XS(_wrap_layerObj_type_set) {
23395 : {
23396 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23397 : enum MS_LAYER_TYPE arg2 ;
23398 0 : void *argp1 = 0 ;
23399 : int res1 = 0 ;
23400 : int val2 ;
23401 : int ecode2 = 0 ;
23402 : int argvi = 0;
23403 0 : dXSARGS;
23404 :
23405 0 : if ((items < 2) || (items > 2)) {
23406 0 : SWIG_croak("Usage: layerObj_type_set(self,type);");
23407 : }
23408 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23409 0 : if (!SWIG_IsOK(res1)) {
23410 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_type_set" "', argument " "1"" of type '" "struct layerObj *""'");
23411 : }
23412 0 : arg1 = (struct layerObj *)(argp1);
23413 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23414 0 : if (!SWIG_IsOK(ecode2)) {
23415 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_type_set" "', argument " "2"" of type '" "enum MS_LAYER_TYPE""'");
23416 : }
23417 0 : arg2 = (enum MS_LAYER_TYPE)(val2);
23418 0 : if (arg1) (arg1)->type = arg2;
23419 0 : ST(argvi) = sv_newmortal();
23420 :
23421 :
23422 0 : XSRETURN(argvi);
23423 : fail:
23424 :
23425 :
23426 0 : SWIG_croak_null();
23427 : }
23428 : }
23429 :
23430 :
23431 0 : XS(_wrap_layerObj_type_get) {
23432 : {
23433 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23434 0 : void *argp1 = 0 ;
23435 : int res1 = 0 ;
23436 : int argvi = 0;
23437 : enum MS_LAYER_TYPE result;
23438 0 : dXSARGS;
23439 :
23440 0 : if ((items < 1) || (items > 1)) {
23441 0 : SWIG_croak("Usage: layerObj_type_get(self);");
23442 : }
23443 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23444 0 : if (!SWIG_IsOK(res1)) {
23445 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_type_get" "', argument " "1"" of type '" "struct layerObj *""'");
23446 : }
23447 0 : arg1 = (struct layerObj *)(argp1);
23448 0 : result = (enum MS_LAYER_TYPE) ((arg1)->type);
23449 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
23450 :
23451 0 : XSRETURN(argvi);
23452 : fail:
23453 :
23454 0 : SWIG_croak_null();
23455 : }
23456 : }
23457 :
23458 :
23459 0 : XS(_wrap_layerObj_tolerance_set) {
23460 : {
23461 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23462 : double arg2 ;
23463 0 : void *argp1 = 0 ;
23464 : int res1 = 0 ;
23465 : double val2 ;
23466 : int ecode2 = 0 ;
23467 : int argvi = 0;
23468 0 : dXSARGS;
23469 :
23470 0 : if ((items < 2) || (items > 2)) {
23471 0 : SWIG_croak("Usage: layerObj_tolerance_set(self,tolerance);");
23472 : }
23473 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23474 0 : if (!SWIG_IsOK(res1)) {
23475 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tolerance_set" "', argument " "1"" of type '" "struct layerObj *""'");
23476 : }
23477 0 : arg1 = (struct layerObj *)(argp1);
23478 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23479 0 : if (!SWIG_IsOK(ecode2)) {
23480 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_tolerance_set" "', argument " "2"" of type '" "double""'");
23481 : }
23482 0 : arg2 = (double)(val2);
23483 0 : if (arg1) (arg1)->tolerance = arg2;
23484 0 : ST(argvi) = sv_newmortal();
23485 :
23486 :
23487 0 : XSRETURN(argvi);
23488 : fail:
23489 :
23490 :
23491 0 : SWIG_croak_null();
23492 : }
23493 : }
23494 :
23495 :
23496 0 : XS(_wrap_layerObj_tolerance_get) {
23497 : {
23498 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23499 0 : void *argp1 = 0 ;
23500 : int res1 = 0 ;
23501 : int argvi = 0;
23502 : double result;
23503 0 : dXSARGS;
23504 :
23505 0 : if ((items < 1) || (items > 1)) {
23506 0 : SWIG_croak("Usage: layerObj_tolerance_get(self);");
23507 : }
23508 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23509 0 : if (!SWIG_IsOK(res1)) {
23510 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tolerance_get" "', argument " "1"" of type '" "struct layerObj *""'");
23511 : }
23512 0 : arg1 = (struct layerObj *)(argp1);
23513 0 : result = (double) ((arg1)->tolerance);
23514 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
23515 :
23516 0 : XSRETURN(argvi);
23517 : fail:
23518 :
23519 0 : SWIG_croak_null();
23520 : }
23521 : }
23522 :
23523 :
23524 0 : XS(_wrap_layerObj_toleranceunits_set) {
23525 : {
23526 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23527 : int arg2 ;
23528 0 : void *argp1 = 0 ;
23529 : int res1 = 0 ;
23530 : int val2 ;
23531 : int ecode2 = 0 ;
23532 : int argvi = 0;
23533 0 : dXSARGS;
23534 :
23535 0 : if ((items < 2) || (items > 2)) {
23536 0 : SWIG_croak("Usage: layerObj_toleranceunits_set(self,toleranceunits);");
23537 : }
23538 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23539 0 : if (!SWIG_IsOK(res1)) {
23540 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_toleranceunits_set" "', argument " "1"" of type '" "struct layerObj *""'");
23541 : }
23542 0 : arg1 = (struct layerObj *)(argp1);
23543 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23544 0 : if (!SWIG_IsOK(ecode2)) {
23545 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_toleranceunits_set" "', argument " "2"" of type '" "int""'");
23546 : }
23547 0 : arg2 = (int)(val2);
23548 0 : if (arg1) (arg1)->toleranceunits = arg2;
23549 0 : ST(argvi) = sv_newmortal();
23550 :
23551 :
23552 0 : XSRETURN(argvi);
23553 : fail:
23554 :
23555 :
23556 0 : SWIG_croak_null();
23557 : }
23558 : }
23559 :
23560 :
23561 0 : XS(_wrap_layerObj_toleranceunits_get) {
23562 : {
23563 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23564 0 : void *argp1 = 0 ;
23565 : int res1 = 0 ;
23566 : int argvi = 0;
23567 : int result;
23568 0 : dXSARGS;
23569 :
23570 0 : if ((items < 1) || (items > 1)) {
23571 0 : SWIG_croak("Usage: layerObj_toleranceunits_get(self);");
23572 : }
23573 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23574 0 : if (!SWIG_IsOK(res1)) {
23575 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_toleranceunits_get" "', argument " "1"" of type '" "struct layerObj *""'");
23576 : }
23577 0 : arg1 = (struct layerObj *)(argp1);
23578 0 : result = (int) ((arg1)->toleranceunits);
23579 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
23580 :
23581 0 : XSRETURN(argvi);
23582 : fail:
23583 :
23584 0 : SWIG_croak_null();
23585 : }
23586 : }
23587 :
23588 :
23589 0 : XS(_wrap_layerObj_symbolscaledenom_set) {
23590 : {
23591 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23592 : double arg2 ;
23593 0 : void *argp1 = 0 ;
23594 : int res1 = 0 ;
23595 : double val2 ;
23596 : int ecode2 = 0 ;
23597 : int argvi = 0;
23598 0 : dXSARGS;
23599 :
23600 0 : if ((items < 2) || (items > 2)) {
23601 0 : SWIG_croak("Usage: layerObj_symbolscaledenom_set(self,symbolscaledenom);");
23602 : }
23603 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23604 0 : if (!SWIG_IsOK(res1)) {
23605 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_symbolscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'");
23606 : }
23607 0 : arg1 = (struct layerObj *)(argp1);
23608 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23609 0 : if (!SWIG_IsOK(ecode2)) {
23610 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_symbolscaledenom_set" "', argument " "2"" of type '" "double""'");
23611 : }
23612 0 : arg2 = (double)(val2);
23613 0 : if (arg1) (arg1)->symbolscaledenom = arg2;
23614 0 : ST(argvi) = sv_newmortal();
23615 :
23616 :
23617 0 : XSRETURN(argvi);
23618 : fail:
23619 :
23620 :
23621 0 : SWIG_croak_null();
23622 : }
23623 : }
23624 :
23625 :
23626 0 : XS(_wrap_layerObj_symbolscaledenom_get) {
23627 : {
23628 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23629 0 : void *argp1 = 0 ;
23630 : int res1 = 0 ;
23631 : int argvi = 0;
23632 : double result;
23633 0 : dXSARGS;
23634 :
23635 0 : if ((items < 1) || (items > 1)) {
23636 0 : SWIG_croak("Usage: layerObj_symbolscaledenom_get(self);");
23637 : }
23638 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23639 0 : if (!SWIG_IsOK(res1)) {
23640 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_symbolscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'");
23641 : }
23642 0 : arg1 = (struct layerObj *)(argp1);
23643 0 : result = (double) ((arg1)->symbolscaledenom);
23644 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
23645 :
23646 0 : XSRETURN(argvi);
23647 : fail:
23648 :
23649 0 : SWIG_croak_null();
23650 : }
23651 : }
23652 :
23653 :
23654 0 : XS(_wrap_layerObj_minscaledenom_set) {
23655 : {
23656 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23657 : double arg2 ;
23658 0 : void *argp1 = 0 ;
23659 : int res1 = 0 ;
23660 : double val2 ;
23661 : int ecode2 = 0 ;
23662 : int argvi = 0;
23663 0 : dXSARGS;
23664 :
23665 0 : if ((items < 2) || (items > 2)) {
23666 0 : SWIG_croak("Usage: layerObj_minscaledenom_set(self,minscaledenom);");
23667 : }
23668 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23669 0 : if (!SWIG_IsOK(res1)) {
23670 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'");
23671 : }
23672 0 : arg1 = (struct layerObj *)(argp1);
23673 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23674 0 : if (!SWIG_IsOK(ecode2)) {
23675 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
23676 : }
23677 0 : arg2 = (double)(val2);
23678 0 : if (arg1) (arg1)->minscaledenom = arg2;
23679 0 : ST(argvi) = sv_newmortal();
23680 :
23681 :
23682 0 : XSRETURN(argvi);
23683 : fail:
23684 :
23685 :
23686 0 : SWIG_croak_null();
23687 : }
23688 : }
23689 :
23690 :
23691 0 : XS(_wrap_layerObj_minscaledenom_get) {
23692 : {
23693 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23694 0 : void *argp1 = 0 ;
23695 : int res1 = 0 ;
23696 : int argvi = 0;
23697 : double result;
23698 0 : dXSARGS;
23699 :
23700 0 : if ((items < 1) || (items > 1)) {
23701 0 : SWIG_croak("Usage: layerObj_minscaledenom_get(self);");
23702 : }
23703 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23704 0 : if (!SWIG_IsOK(res1)) {
23705 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'");
23706 : }
23707 0 : arg1 = (struct layerObj *)(argp1);
23708 0 : result = (double) ((arg1)->minscaledenom);
23709 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
23710 :
23711 0 : XSRETURN(argvi);
23712 : fail:
23713 :
23714 0 : SWIG_croak_null();
23715 : }
23716 : }
23717 :
23718 :
23719 0 : XS(_wrap_layerObj_maxscaledenom_set) {
23720 : {
23721 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23722 : double arg2 ;
23723 0 : void *argp1 = 0 ;
23724 : int res1 = 0 ;
23725 : double val2 ;
23726 : int ecode2 = 0 ;
23727 : int argvi = 0;
23728 0 : dXSARGS;
23729 :
23730 0 : if ((items < 2) || (items > 2)) {
23731 0 : SWIG_croak("Usage: layerObj_maxscaledenom_set(self,maxscaledenom);");
23732 : }
23733 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23734 0 : if (!SWIG_IsOK(res1)) {
23735 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'");
23736 : }
23737 0 : arg1 = (struct layerObj *)(argp1);
23738 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23739 0 : if (!SWIG_IsOK(ecode2)) {
23740 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
23741 : }
23742 0 : arg2 = (double)(val2);
23743 0 : if (arg1) (arg1)->maxscaledenom = arg2;
23744 0 : ST(argvi) = sv_newmortal();
23745 :
23746 :
23747 0 : XSRETURN(argvi);
23748 : fail:
23749 :
23750 :
23751 0 : SWIG_croak_null();
23752 : }
23753 : }
23754 :
23755 :
23756 0 : XS(_wrap_layerObj_maxscaledenom_get) {
23757 : {
23758 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23759 0 : void *argp1 = 0 ;
23760 : int res1 = 0 ;
23761 : int argvi = 0;
23762 : double result;
23763 0 : dXSARGS;
23764 :
23765 0 : if ((items < 1) || (items > 1)) {
23766 0 : SWIG_croak("Usage: layerObj_maxscaledenom_get(self);");
23767 : }
23768 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23769 0 : if (!SWIG_IsOK(res1)) {
23770 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'");
23771 : }
23772 0 : arg1 = (struct layerObj *)(argp1);
23773 0 : result = (double) ((arg1)->maxscaledenom);
23774 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
23775 :
23776 0 : XSRETURN(argvi);
23777 : fail:
23778 :
23779 0 : SWIG_croak_null();
23780 : }
23781 : }
23782 :
23783 :
23784 0 : XS(_wrap_layerObj_minfeaturesize_set) {
23785 : {
23786 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23787 : int arg2 ;
23788 0 : void *argp1 = 0 ;
23789 : int res1 = 0 ;
23790 : int val2 ;
23791 : int ecode2 = 0 ;
23792 : int argvi = 0;
23793 0 : dXSARGS;
23794 :
23795 0 : if ((items < 2) || (items > 2)) {
23796 0 : SWIG_croak("Usage: layerObj_minfeaturesize_set(self,minfeaturesize);");
23797 : }
23798 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23799 0 : if (!SWIG_IsOK(res1)) {
23800 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minfeaturesize_set" "', argument " "1"" of type '" "struct layerObj *""'");
23801 : }
23802 0 : arg1 = (struct layerObj *)(argp1);
23803 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23804 0 : if (!SWIG_IsOK(ecode2)) {
23805 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_minfeaturesize_set" "', argument " "2"" of type '" "int""'");
23806 : }
23807 0 : arg2 = (int)(val2);
23808 0 : if (arg1) (arg1)->minfeaturesize = arg2;
23809 0 : ST(argvi) = sv_newmortal();
23810 :
23811 :
23812 0 : XSRETURN(argvi);
23813 : fail:
23814 :
23815 :
23816 0 : SWIG_croak_null();
23817 : }
23818 : }
23819 :
23820 :
23821 0 : XS(_wrap_layerObj_minfeaturesize_get) {
23822 : {
23823 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23824 0 : void *argp1 = 0 ;
23825 : int res1 = 0 ;
23826 : int argvi = 0;
23827 : int result;
23828 0 : dXSARGS;
23829 :
23830 0 : if ((items < 1) || (items > 1)) {
23831 0 : SWIG_croak("Usage: layerObj_minfeaturesize_get(self);");
23832 : }
23833 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23834 0 : if (!SWIG_IsOK(res1)) {
23835 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minfeaturesize_get" "', argument " "1"" of type '" "struct layerObj *""'");
23836 : }
23837 0 : arg1 = (struct layerObj *)(argp1);
23838 0 : result = (int) ((arg1)->minfeaturesize);
23839 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
23840 :
23841 0 : XSRETURN(argvi);
23842 : fail:
23843 :
23844 0 : SWIG_croak_null();
23845 : }
23846 : }
23847 :
23848 :
23849 0 : XS(_wrap_layerObj_labelminscaledenom_set) {
23850 : {
23851 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23852 : double arg2 ;
23853 0 : void *argp1 = 0 ;
23854 : int res1 = 0 ;
23855 : double val2 ;
23856 : int ecode2 = 0 ;
23857 : int argvi = 0;
23858 0 : dXSARGS;
23859 :
23860 0 : if ((items < 2) || (items > 2)) {
23861 0 : SWIG_croak("Usage: layerObj_labelminscaledenom_set(self,labelminscaledenom);");
23862 : }
23863 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23864 0 : if (!SWIG_IsOK(res1)) {
23865 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelminscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'");
23866 : }
23867 0 : arg1 = (struct layerObj *)(argp1);
23868 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23869 0 : if (!SWIG_IsOK(ecode2)) {
23870 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_labelminscaledenom_set" "', argument " "2"" of type '" "double""'");
23871 : }
23872 0 : arg2 = (double)(val2);
23873 0 : if (arg1) (arg1)->labelminscaledenom = arg2;
23874 0 : ST(argvi) = sv_newmortal();
23875 :
23876 :
23877 0 : XSRETURN(argvi);
23878 : fail:
23879 :
23880 :
23881 0 : SWIG_croak_null();
23882 : }
23883 : }
23884 :
23885 :
23886 0 : XS(_wrap_layerObj_labelminscaledenom_get) {
23887 : {
23888 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23889 0 : void *argp1 = 0 ;
23890 : int res1 = 0 ;
23891 : int argvi = 0;
23892 : double result;
23893 0 : dXSARGS;
23894 :
23895 0 : if ((items < 1) || (items > 1)) {
23896 0 : SWIG_croak("Usage: layerObj_labelminscaledenom_get(self);");
23897 : }
23898 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23899 0 : if (!SWIG_IsOK(res1)) {
23900 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelminscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'");
23901 : }
23902 0 : arg1 = (struct layerObj *)(argp1);
23903 0 : result = (double) ((arg1)->labelminscaledenom);
23904 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
23905 :
23906 0 : XSRETURN(argvi);
23907 : fail:
23908 :
23909 0 : SWIG_croak_null();
23910 : }
23911 : }
23912 :
23913 :
23914 0 : XS(_wrap_layerObj_labelmaxscaledenom_set) {
23915 : {
23916 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23917 : double arg2 ;
23918 0 : void *argp1 = 0 ;
23919 : int res1 = 0 ;
23920 : double val2 ;
23921 : int ecode2 = 0 ;
23922 : int argvi = 0;
23923 0 : dXSARGS;
23924 :
23925 0 : if ((items < 2) || (items > 2)) {
23926 0 : SWIG_croak("Usage: layerObj_labelmaxscaledenom_set(self,labelmaxscaledenom);");
23927 : }
23928 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23929 0 : if (!SWIG_IsOK(res1)) {
23930 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelmaxscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'");
23931 : }
23932 0 : arg1 = (struct layerObj *)(argp1);
23933 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23934 0 : if (!SWIG_IsOK(ecode2)) {
23935 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_labelmaxscaledenom_set" "', argument " "2"" of type '" "double""'");
23936 : }
23937 0 : arg2 = (double)(val2);
23938 0 : if (arg1) (arg1)->labelmaxscaledenom = arg2;
23939 0 : ST(argvi) = sv_newmortal();
23940 :
23941 :
23942 0 : XSRETURN(argvi);
23943 : fail:
23944 :
23945 :
23946 0 : SWIG_croak_null();
23947 : }
23948 : }
23949 :
23950 :
23951 0 : XS(_wrap_layerObj_labelmaxscaledenom_get) {
23952 : {
23953 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23954 0 : void *argp1 = 0 ;
23955 : int res1 = 0 ;
23956 : int argvi = 0;
23957 : double result;
23958 0 : dXSARGS;
23959 :
23960 0 : if ((items < 1) || (items > 1)) {
23961 0 : SWIG_croak("Usage: layerObj_labelmaxscaledenom_get(self);");
23962 : }
23963 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23964 0 : if (!SWIG_IsOK(res1)) {
23965 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelmaxscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'");
23966 : }
23967 0 : arg1 = (struct layerObj *)(argp1);
23968 0 : result = (double) ((arg1)->labelmaxscaledenom);
23969 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
23970 :
23971 0 : XSRETURN(argvi);
23972 : fail:
23973 :
23974 0 : SWIG_croak_null();
23975 : }
23976 : }
23977 :
23978 :
23979 0 : XS(_wrap_layerObj_mingeowidth_set) {
23980 : {
23981 : struct layerObj *arg1 = (struct layerObj *) 0 ;
23982 : double arg2 ;
23983 0 : void *argp1 = 0 ;
23984 : int res1 = 0 ;
23985 : double val2 ;
23986 : int ecode2 = 0 ;
23987 : int argvi = 0;
23988 0 : dXSARGS;
23989 :
23990 0 : if ((items < 2) || (items > 2)) {
23991 0 : SWIG_croak("Usage: layerObj_mingeowidth_set(self,mingeowidth);");
23992 : }
23993 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
23994 0 : if (!SWIG_IsOK(res1)) {
23995 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mingeowidth_set" "', argument " "1"" of type '" "struct layerObj *""'");
23996 : }
23997 0 : arg1 = (struct layerObj *)(argp1);
23998 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
23999 0 : if (!SWIG_IsOK(ecode2)) {
24000 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_mingeowidth_set" "', argument " "2"" of type '" "double""'");
24001 : }
24002 0 : arg2 = (double)(val2);
24003 0 : if (arg1) (arg1)->mingeowidth = arg2;
24004 0 : ST(argvi) = sv_newmortal();
24005 :
24006 :
24007 0 : XSRETURN(argvi);
24008 : fail:
24009 :
24010 :
24011 0 : SWIG_croak_null();
24012 : }
24013 : }
24014 :
24015 :
24016 0 : XS(_wrap_layerObj_mingeowidth_get) {
24017 : {
24018 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24019 0 : void *argp1 = 0 ;
24020 : int res1 = 0 ;
24021 : int argvi = 0;
24022 : double result;
24023 0 : dXSARGS;
24024 :
24025 0 : if ((items < 1) || (items > 1)) {
24026 0 : SWIG_croak("Usage: layerObj_mingeowidth_get(self);");
24027 : }
24028 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24029 0 : if (!SWIG_IsOK(res1)) {
24030 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mingeowidth_get" "', argument " "1"" of type '" "struct layerObj *""'");
24031 : }
24032 0 : arg1 = (struct layerObj *)(argp1);
24033 0 : result = (double) ((arg1)->mingeowidth);
24034 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
24035 :
24036 0 : XSRETURN(argvi);
24037 : fail:
24038 :
24039 0 : SWIG_croak_null();
24040 : }
24041 : }
24042 :
24043 :
24044 0 : XS(_wrap_layerObj_maxgeowidth_set) {
24045 : {
24046 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24047 : double arg2 ;
24048 0 : void *argp1 = 0 ;
24049 : int res1 = 0 ;
24050 : double val2 ;
24051 : int ecode2 = 0 ;
24052 : int argvi = 0;
24053 0 : dXSARGS;
24054 :
24055 0 : if ((items < 2) || (items > 2)) {
24056 0 : SWIG_croak("Usage: layerObj_maxgeowidth_set(self,maxgeowidth);");
24057 : }
24058 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24059 0 : if (!SWIG_IsOK(res1)) {
24060 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxgeowidth_set" "', argument " "1"" of type '" "struct layerObj *""'");
24061 : }
24062 0 : arg1 = (struct layerObj *)(argp1);
24063 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24064 0 : if (!SWIG_IsOK(ecode2)) {
24065 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_maxgeowidth_set" "', argument " "2"" of type '" "double""'");
24066 : }
24067 0 : arg2 = (double)(val2);
24068 0 : if (arg1) (arg1)->maxgeowidth = arg2;
24069 0 : ST(argvi) = sv_newmortal();
24070 :
24071 :
24072 0 : XSRETURN(argvi);
24073 : fail:
24074 :
24075 :
24076 0 : SWIG_croak_null();
24077 : }
24078 : }
24079 :
24080 :
24081 0 : XS(_wrap_layerObj_maxgeowidth_get) {
24082 : {
24083 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24084 0 : void *argp1 = 0 ;
24085 : int res1 = 0 ;
24086 : int argvi = 0;
24087 : double result;
24088 0 : dXSARGS;
24089 :
24090 0 : if ((items < 1) || (items > 1)) {
24091 0 : SWIG_croak("Usage: layerObj_maxgeowidth_get(self);");
24092 : }
24093 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24094 0 : if (!SWIG_IsOK(res1)) {
24095 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxgeowidth_get" "', argument " "1"" of type '" "struct layerObj *""'");
24096 : }
24097 0 : arg1 = (struct layerObj *)(argp1);
24098 0 : result = (double) ((arg1)->maxgeowidth);
24099 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
24100 :
24101 0 : XSRETURN(argvi);
24102 : fail:
24103 :
24104 0 : SWIG_croak_null();
24105 : }
24106 : }
24107 :
24108 :
24109 0 : XS(_wrap_layerObj_sizeunits_set) {
24110 : {
24111 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24112 : int arg2 ;
24113 0 : void *argp1 = 0 ;
24114 : int res1 = 0 ;
24115 : int val2 ;
24116 : int ecode2 = 0 ;
24117 : int argvi = 0;
24118 0 : dXSARGS;
24119 :
24120 0 : if ((items < 2) || (items > 2)) {
24121 0 : SWIG_croak("Usage: layerObj_sizeunits_set(self,sizeunits);");
24122 : }
24123 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24124 0 : if (!SWIG_IsOK(res1)) {
24125 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_sizeunits_set" "', argument " "1"" of type '" "struct layerObj *""'");
24126 : }
24127 0 : arg1 = (struct layerObj *)(argp1);
24128 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24129 0 : if (!SWIG_IsOK(ecode2)) {
24130 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_sizeunits_set" "', argument " "2"" of type '" "int""'");
24131 : }
24132 0 : arg2 = (int)(val2);
24133 0 : if (arg1) (arg1)->sizeunits = arg2;
24134 0 : ST(argvi) = sv_newmortal();
24135 :
24136 :
24137 0 : XSRETURN(argvi);
24138 : fail:
24139 :
24140 :
24141 0 : SWIG_croak_null();
24142 : }
24143 : }
24144 :
24145 :
24146 0 : XS(_wrap_layerObj_sizeunits_get) {
24147 : {
24148 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24149 0 : void *argp1 = 0 ;
24150 : int res1 = 0 ;
24151 : int argvi = 0;
24152 : int result;
24153 0 : dXSARGS;
24154 :
24155 0 : if ((items < 1) || (items > 1)) {
24156 0 : SWIG_croak("Usage: layerObj_sizeunits_get(self);");
24157 : }
24158 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24159 0 : if (!SWIG_IsOK(res1)) {
24160 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_sizeunits_get" "', argument " "1"" of type '" "struct layerObj *""'");
24161 : }
24162 0 : arg1 = (struct layerObj *)(argp1);
24163 0 : result = (int) ((arg1)->sizeunits);
24164 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24165 :
24166 0 : XSRETURN(argvi);
24167 : fail:
24168 :
24169 0 : SWIG_croak_null();
24170 : }
24171 : }
24172 :
24173 :
24174 0 : XS(_wrap_layerObj_maxfeatures_set) {
24175 : {
24176 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24177 : int arg2 ;
24178 0 : void *argp1 = 0 ;
24179 : int res1 = 0 ;
24180 : int val2 ;
24181 : int ecode2 = 0 ;
24182 : int argvi = 0;
24183 0 : dXSARGS;
24184 :
24185 0 : if ((items < 2) || (items > 2)) {
24186 0 : SWIG_croak("Usage: layerObj_maxfeatures_set(self,maxfeatures);");
24187 : }
24188 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24189 0 : if (!SWIG_IsOK(res1)) {
24190 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxfeatures_set" "', argument " "1"" of type '" "struct layerObj *""'");
24191 : }
24192 0 : arg1 = (struct layerObj *)(argp1);
24193 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24194 0 : if (!SWIG_IsOK(ecode2)) {
24195 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_maxfeatures_set" "', argument " "2"" of type '" "int""'");
24196 : }
24197 0 : arg2 = (int)(val2);
24198 0 : if (arg1) (arg1)->maxfeatures = arg2;
24199 0 : ST(argvi) = sv_newmortal();
24200 :
24201 :
24202 0 : XSRETURN(argvi);
24203 : fail:
24204 :
24205 :
24206 0 : SWIG_croak_null();
24207 : }
24208 : }
24209 :
24210 :
24211 0 : XS(_wrap_layerObj_maxfeatures_get) {
24212 : {
24213 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24214 0 : void *argp1 = 0 ;
24215 : int res1 = 0 ;
24216 : int argvi = 0;
24217 : int result;
24218 0 : dXSARGS;
24219 :
24220 0 : if ((items < 1) || (items > 1)) {
24221 0 : SWIG_croak("Usage: layerObj_maxfeatures_get(self);");
24222 : }
24223 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24224 0 : if (!SWIG_IsOK(res1)) {
24225 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxfeatures_get" "', argument " "1"" of type '" "struct layerObj *""'");
24226 : }
24227 0 : arg1 = (struct layerObj *)(argp1);
24228 0 : result = (int) ((arg1)->maxfeatures);
24229 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24230 :
24231 0 : XSRETURN(argvi);
24232 : fail:
24233 :
24234 0 : SWIG_croak_null();
24235 : }
24236 : }
24237 :
24238 :
24239 0 : XS(_wrap_layerObj_startindex_set) {
24240 : {
24241 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24242 : int arg2 ;
24243 0 : void *argp1 = 0 ;
24244 : int res1 = 0 ;
24245 : int val2 ;
24246 : int ecode2 = 0 ;
24247 : int argvi = 0;
24248 0 : dXSARGS;
24249 :
24250 0 : if ((items < 2) || (items > 2)) {
24251 0 : SWIG_croak("Usage: layerObj_startindex_set(self,startindex);");
24252 : }
24253 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24254 0 : if (!SWIG_IsOK(res1)) {
24255 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_startindex_set" "', argument " "1"" of type '" "struct layerObj *""'");
24256 : }
24257 0 : arg1 = (struct layerObj *)(argp1);
24258 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24259 0 : if (!SWIG_IsOK(ecode2)) {
24260 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_startindex_set" "', argument " "2"" of type '" "int""'");
24261 : }
24262 0 : arg2 = (int)(val2);
24263 0 : if (arg1) (arg1)->startindex = arg2;
24264 0 : ST(argvi) = sv_newmortal();
24265 :
24266 :
24267 0 : XSRETURN(argvi);
24268 : fail:
24269 :
24270 :
24271 0 : SWIG_croak_null();
24272 : }
24273 : }
24274 :
24275 :
24276 0 : XS(_wrap_layerObj_startindex_get) {
24277 : {
24278 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24279 0 : void *argp1 = 0 ;
24280 : int res1 = 0 ;
24281 : int argvi = 0;
24282 : int result;
24283 0 : dXSARGS;
24284 :
24285 0 : if ((items < 1) || (items > 1)) {
24286 0 : SWIG_croak("Usage: layerObj_startindex_get(self);");
24287 : }
24288 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24289 0 : if (!SWIG_IsOK(res1)) {
24290 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_startindex_get" "', argument " "1"" of type '" "struct layerObj *""'");
24291 : }
24292 0 : arg1 = (struct layerObj *)(argp1);
24293 0 : result = (int) ((arg1)->startindex);
24294 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24295 :
24296 0 : XSRETURN(argvi);
24297 : fail:
24298 :
24299 0 : SWIG_croak_null();
24300 : }
24301 : }
24302 :
24303 :
24304 0 : XS(_wrap_layerObj_offsite_set) {
24305 : {
24306 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24307 : colorObj *arg2 = (colorObj *) 0 ;
24308 0 : void *argp1 = 0 ;
24309 : int res1 = 0 ;
24310 0 : void *argp2 = 0 ;
24311 : int res2 = 0 ;
24312 : int argvi = 0;
24313 0 : dXSARGS;
24314 :
24315 0 : if ((items < 2) || (items > 2)) {
24316 0 : SWIG_croak("Usage: layerObj_offsite_set(self,offsite);");
24317 : }
24318 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24319 0 : if (!SWIG_IsOK(res1)) {
24320 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_offsite_set" "', argument " "1"" of type '" "struct layerObj *""'");
24321 : }
24322 0 : arg1 = (struct layerObj *)(argp1);
24323 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
24324 0 : if (!SWIG_IsOK(res2)) {
24325 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_offsite_set" "', argument " "2"" of type '" "colorObj *""'");
24326 : }
24327 0 : arg2 = (colorObj *)(argp2);
24328 0 : if (arg1) (arg1)->offsite = *arg2;
24329 0 : ST(argvi) = sv_newmortal();
24330 :
24331 :
24332 0 : XSRETURN(argvi);
24333 : fail:
24334 :
24335 :
24336 0 : SWIG_croak_null();
24337 : }
24338 : }
24339 :
24340 :
24341 0 : XS(_wrap_layerObj_offsite_get) {
24342 : {
24343 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24344 0 : void *argp1 = 0 ;
24345 : int res1 = 0 ;
24346 : int argvi = 0;
24347 : colorObj *result = 0 ;
24348 0 : dXSARGS;
24349 :
24350 0 : if ((items < 1) || (items > 1)) {
24351 0 : SWIG_croak("Usage: layerObj_offsite_get(self);");
24352 : }
24353 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24354 0 : if (!SWIG_IsOK(res1)) {
24355 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_offsite_get" "', argument " "1"" of type '" "struct layerObj *""'");
24356 : }
24357 0 : arg1 = (struct layerObj *)(argp1);
24358 0 : result = (colorObj *)& ((arg1)->offsite);
24359 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
24360 :
24361 0 : XSRETURN(argvi);
24362 : fail:
24363 :
24364 0 : SWIG_croak_null();
24365 : }
24366 : }
24367 :
24368 :
24369 0 : XS(_wrap_layerObj_transform_set) {
24370 : {
24371 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24372 : int arg2 ;
24373 0 : void *argp1 = 0 ;
24374 : int res1 = 0 ;
24375 : int val2 ;
24376 : int ecode2 = 0 ;
24377 : int argvi = 0;
24378 0 : dXSARGS;
24379 :
24380 0 : if ((items < 2) || (items > 2)) {
24381 0 : SWIG_croak("Usage: layerObj_transform_set(self,transform);");
24382 : }
24383 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24384 0 : if (!SWIG_IsOK(res1)) {
24385 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_transform_set" "', argument " "1"" of type '" "struct layerObj *""'");
24386 : }
24387 0 : arg1 = (struct layerObj *)(argp1);
24388 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24389 0 : if (!SWIG_IsOK(ecode2)) {
24390 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_transform_set" "', argument " "2"" of type '" "int""'");
24391 : }
24392 0 : arg2 = (int)(val2);
24393 0 : if (arg1) (arg1)->transform = arg2;
24394 0 : ST(argvi) = sv_newmortal();
24395 :
24396 :
24397 0 : XSRETURN(argvi);
24398 : fail:
24399 :
24400 :
24401 0 : SWIG_croak_null();
24402 : }
24403 : }
24404 :
24405 :
24406 0 : XS(_wrap_layerObj_transform_get) {
24407 : {
24408 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24409 0 : void *argp1 = 0 ;
24410 : int res1 = 0 ;
24411 : int argvi = 0;
24412 : int result;
24413 0 : dXSARGS;
24414 :
24415 0 : if ((items < 1) || (items > 1)) {
24416 0 : SWIG_croak("Usage: layerObj_transform_get(self);");
24417 : }
24418 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24419 0 : if (!SWIG_IsOK(res1)) {
24420 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_transform_get" "', argument " "1"" of type '" "struct layerObj *""'");
24421 : }
24422 0 : arg1 = (struct layerObj *)(argp1);
24423 0 : result = (int) ((arg1)->transform);
24424 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24425 :
24426 0 : XSRETURN(argvi);
24427 : fail:
24428 :
24429 0 : SWIG_croak_null();
24430 : }
24431 : }
24432 :
24433 :
24434 0 : XS(_wrap_layerObj_labelcache_set) {
24435 : {
24436 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24437 : int arg2 ;
24438 0 : void *argp1 = 0 ;
24439 : int res1 = 0 ;
24440 : int val2 ;
24441 : int ecode2 = 0 ;
24442 : int argvi = 0;
24443 0 : dXSARGS;
24444 :
24445 0 : if ((items < 2) || (items > 2)) {
24446 0 : SWIG_croak("Usage: layerObj_labelcache_set(self,labelcache);");
24447 : }
24448 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24449 0 : if (!SWIG_IsOK(res1)) {
24450 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelcache_set" "', argument " "1"" of type '" "struct layerObj *""'");
24451 : }
24452 0 : arg1 = (struct layerObj *)(argp1);
24453 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24454 0 : if (!SWIG_IsOK(ecode2)) {
24455 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_labelcache_set" "', argument " "2"" of type '" "int""'");
24456 : }
24457 0 : arg2 = (int)(val2);
24458 0 : if (arg1) (arg1)->labelcache = arg2;
24459 0 : ST(argvi) = sv_newmortal();
24460 :
24461 :
24462 0 : XSRETURN(argvi);
24463 : fail:
24464 :
24465 :
24466 0 : SWIG_croak_null();
24467 : }
24468 : }
24469 :
24470 :
24471 0 : XS(_wrap_layerObj_labelcache_get) {
24472 : {
24473 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24474 0 : void *argp1 = 0 ;
24475 : int res1 = 0 ;
24476 : int argvi = 0;
24477 : int result;
24478 0 : dXSARGS;
24479 :
24480 0 : if ((items < 1) || (items > 1)) {
24481 0 : SWIG_croak("Usage: layerObj_labelcache_get(self);");
24482 : }
24483 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24484 0 : if (!SWIG_IsOK(res1)) {
24485 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelcache_get" "', argument " "1"" of type '" "struct layerObj *""'");
24486 : }
24487 0 : arg1 = (struct layerObj *)(argp1);
24488 0 : result = (int) ((arg1)->labelcache);
24489 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24490 :
24491 0 : XSRETURN(argvi);
24492 : fail:
24493 :
24494 0 : SWIG_croak_null();
24495 : }
24496 : }
24497 :
24498 :
24499 0 : XS(_wrap_layerObj_postlabelcache_set) {
24500 : {
24501 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24502 : int arg2 ;
24503 0 : void *argp1 = 0 ;
24504 : int res1 = 0 ;
24505 : int val2 ;
24506 : int ecode2 = 0 ;
24507 : int argvi = 0;
24508 0 : dXSARGS;
24509 :
24510 0 : if ((items < 2) || (items > 2)) {
24511 0 : SWIG_croak("Usage: layerObj_postlabelcache_set(self,postlabelcache);");
24512 : }
24513 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24514 0 : if (!SWIG_IsOK(res1)) {
24515 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_postlabelcache_set" "', argument " "1"" of type '" "struct layerObj *""'");
24516 : }
24517 0 : arg1 = (struct layerObj *)(argp1);
24518 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24519 0 : if (!SWIG_IsOK(ecode2)) {
24520 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_postlabelcache_set" "', argument " "2"" of type '" "int""'");
24521 : }
24522 0 : arg2 = (int)(val2);
24523 0 : if (arg1) (arg1)->postlabelcache = arg2;
24524 0 : ST(argvi) = sv_newmortal();
24525 :
24526 :
24527 0 : XSRETURN(argvi);
24528 : fail:
24529 :
24530 :
24531 0 : SWIG_croak_null();
24532 : }
24533 : }
24534 :
24535 :
24536 0 : XS(_wrap_layerObj_postlabelcache_get) {
24537 : {
24538 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24539 0 : void *argp1 = 0 ;
24540 : int res1 = 0 ;
24541 : int argvi = 0;
24542 : int result;
24543 0 : dXSARGS;
24544 :
24545 0 : if ((items < 1) || (items > 1)) {
24546 0 : SWIG_croak("Usage: layerObj_postlabelcache_get(self);");
24547 : }
24548 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24549 0 : if (!SWIG_IsOK(res1)) {
24550 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_postlabelcache_get" "', argument " "1"" of type '" "struct layerObj *""'");
24551 : }
24552 0 : arg1 = (struct layerObj *)(argp1);
24553 0 : result = (int) ((arg1)->postlabelcache);
24554 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24555 :
24556 0 : XSRETURN(argvi);
24557 : fail:
24558 :
24559 0 : SWIG_croak_null();
24560 : }
24561 : }
24562 :
24563 :
24564 0 : XS(_wrap_layerObj_labelitem_set) {
24565 : {
24566 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24567 : char *arg2 = (char *) 0 ;
24568 0 : void *argp1 = 0 ;
24569 : int res1 = 0 ;
24570 : int res2 ;
24571 0 : char *buf2 = 0 ;
24572 0 : int alloc2 = 0 ;
24573 : int argvi = 0;
24574 0 : dXSARGS;
24575 :
24576 0 : if ((items < 2) || (items > 2)) {
24577 0 : SWIG_croak("Usage: layerObj_labelitem_set(self,labelitem);");
24578 : }
24579 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24580 0 : if (!SWIG_IsOK(res1)) {
24581 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelitem_set" "', argument " "1"" of type '" "struct layerObj *""'");
24582 : }
24583 0 : arg1 = (struct layerObj *)(argp1);
24584 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
24585 0 : if (!SWIG_IsOK(res2)) {
24586 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_labelitem_set" "', argument " "2"" of type '" "char *""'");
24587 : }
24588 0 : arg2 = (char *)(buf2);
24589 : {
24590 0 : if (arg1->labelitem) free((char*)arg1->labelitem);
24591 0 : if (arg2) {
24592 0 : arg1->labelitem = (char *) malloc(strlen(arg2)+1);
24593 : strcpy((char*)arg1->labelitem,arg2);
24594 : } else {
24595 0 : arg1->labelitem = 0;
24596 : }
24597 : }
24598 0 : ST(argvi) = sv_newmortal();
24599 :
24600 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24601 0 : XSRETURN(argvi);
24602 : fail:
24603 :
24604 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24605 0 : SWIG_croak_null();
24606 : }
24607 : }
24608 :
24609 :
24610 0 : XS(_wrap_layerObj_labelitem_get) {
24611 : {
24612 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24613 0 : void *argp1 = 0 ;
24614 : int res1 = 0 ;
24615 : int argvi = 0;
24616 : char *result = 0 ;
24617 0 : dXSARGS;
24618 :
24619 0 : if ((items < 1) || (items > 1)) {
24620 0 : SWIG_croak("Usage: layerObj_labelitem_get(self);");
24621 : }
24622 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24623 0 : if (!SWIG_IsOK(res1)) {
24624 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelitem_get" "', argument " "1"" of type '" "struct layerObj *""'");
24625 : }
24626 0 : arg1 = (struct layerObj *)(argp1);
24627 0 : result = (char *) ((arg1)->labelitem);
24628 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
24629 :
24630 0 : XSRETURN(argvi);
24631 : fail:
24632 :
24633 0 : SWIG_croak_null();
24634 : }
24635 : }
24636 :
24637 :
24638 0 : XS(_wrap_layerObj_tileitem_set) {
24639 : {
24640 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24641 : char *arg2 = (char *) 0 ;
24642 0 : void *argp1 = 0 ;
24643 : int res1 = 0 ;
24644 : int res2 ;
24645 0 : char *buf2 = 0 ;
24646 0 : int alloc2 = 0 ;
24647 : int argvi = 0;
24648 0 : dXSARGS;
24649 :
24650 0 : if ((items < 2) || (items > 2)) {
24651 0 : SWIG_croak("Usage: layerObj_tileitem_set(self,tileitem);");
24652 : }
24653 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24654 0 : if (!SWIG_IsOK(res1)) {
24655 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileitem_set" "', argument " "1"" of type '" "struct layerObj *""'");
24656 : }
24657 0 : arg1 = (struct layerObj *)(argp1);
24658 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
24659 0 : if (!SWIG_IsOK(res2)) {
24660 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_tileitem_set" "', argument " "2"" of type '" "char *""'");
24661 : }
24662 0 : arg2 = (char *)(buf2);
24663 : {
24664 0 : if (arg1->tileitem) free((char*)arg1->tileitem);
24665 0 : if (arg2) {
24666 0 : arg1->tileitem = (char *) malloc(strlen(arg2)+1);
24667 : strcpy((char*)arg1->tileitem,arg2);
24668 : } else {
24669 0 : arg1->tileitem = 0;
24670 : }
24671 : }
24672 0 : ST(argvi) = sv_newmortal();
24673 :
24674 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24675 0 : XSRETURN(argvi);
24676 : fail:
24677 :
24678 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24679 0 : SWIG_croak_null();
24680 : }
24681 : }
24682 :
24683 :
24684 0 : XS(_wrap_layerObj_tileitem_get) {
24685 : {
24686 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24687 0 : void *argp1 = 0 ;
24688 : int res1 = 0 ;
24689 : int argvi = 0;
24690 : char *result = 0 ;
24691 0 : dXSARGS;
24692 :
24693 0 : if ((items < 1) || (items > 1)) {
24694 0 : SWIG_croak("Usage: layerObj_tileitem_get(self);");
24695 : }
24696 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24697 0 : if (!SWIG_IsOK(res1)) {
24698 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileitem_get" "', argument " "1"" of type '" "struct layerObj *""'");
24699 : }
24700 0 : arg1 = (struct layerObj *)(argp1);
24701 0 : result = (char *) ((arg1)->tileitem);
24702 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
24703 :
24704 0 : XSRETURN(argvi);
24705 : fail:
24706 :
24707 0 : SWIG_croak_null();
24708 : }
24709 : }
24710 :
24711 :
24712 0 : XS(_wrap_layerObj_tileindex_set) {
24713 : {
24714 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24715 : char *arg2 = (char *) 0 ;
24716 0 : void *argp1 = 0 ;
24717 : int res1 = 0 ;
24718 : int res2 ;
24719 0 : char *buf2 = 0 ;
24720 0 : int alloc2 = 0 ;
24721 : int argvi = 0;
24722 0 : dXSARGS;
24723 :
24724 0 : if ((items < 2) || (items > 2)) {
24725 0 : SWIG_croak("Usage: layerObj_tileindex_set(self,tileindex);");
24726 : }
24727 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24728 0 : if (!SWIG_IsOK(res1)) {
24729 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileindex_set" "', argument " "1"" of type '" "struct layerObj *""'");
24730 : }
24731 0 : arg1 = (struct layerObj *)(argp1);
24732 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
24733 0 : if (!SWIG_IsOK(res2)) {
24734 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_tileindex_set" "', argument " "2"" of type '" "char *""'");
24735 : }
24736 0 : arg2 = (char *)(buf2);
24737 : {
24738 0 : if (arg1->tileindex) free((char*)arg1->tileindex);
24739 0 : if (arg2) {
24740 0 : arg1->tileindex = (char *) malloc(strlen(arg2)+1);
24741 : strcpy((char*)arg1->tileindex,arg2);
24742 : } else {
24743 0 : arg1->tileindex = 0;
24744 : }
24745 : }
24746 0 : ST(argvi) = sv_newmortal();
24747 :
24748 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24749 0 : XSRETURN(argvi);
24750 : fail:
24751 :
24752 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24753 0 : SWIG_croak_null();
24754 : }
24755 : }
24756 :
24757 :
24758 0 : XS(_wrap_layerObj_tileindex_get) {
24759 : {
24760 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24761 0 : void *argp1 = 0 ;
24762 : int res1 = 0 ;
24763 : int argvi = 0;
24764 : char *result = 0 ;
24765 0 : dXSARGS;
24766 :
24767 0 : if ((items < 1) || (items > 1)) {
24768 0 : SWIG_croak("Usage: layerObj_tileindex_get(self);");
24769 : }
24770 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24771 0 : if (!SWIG_IsOK(res1)) {
24772 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileindex_get" "', argument " "1"" of type '" "struct layerObj *""'");
24773 : }
24774 0 : arg1 = (struct layerObj *)(argp1);
24775 0 : result = (char *) ((arg1)->tileindex);
24776 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
24777 :
24778 0 : XSRETURN(argvi);
24779 : fail:
24780 :
24781 0 : SWIG_croak_null();
24782 : }
24783 : }
24784 :
24785 :
24786 0 : XS(_wrap_layerObj_tilesrs_set) {
24787 : {
24788 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24789 : char *arg2 = (char *) 0 ;
24790 0 : void *argp1 = 0 ;
24791 : int res1 = 0 ;
24792 : int res2 ;
24793 0 : char *buf2 = 0 ;
24794 0 : int alloc2 = 0 ;
24795 : int argvi = 0;
24796 0 : dXSARGS;
24797 :
24798 0 : if ((items < 2) || (items > 2)) {
24799 0 : SWIG_croak("Usage: layerObj_tilesrs_set(self,tilesrs);");
24800 : }
24801 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24802 0 : if (!SWIG_IsOK(res1)) {
24803 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tilesrs_set" "', argument " "1"" of type '" "struct layerObj *""'");
24804 : }
24805 0 : arg1 = (struct layerObj *)(argp1);
24806 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
24807 0 : if (!SWIG_IsOK(res2)) {
24808 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_tilesrs_set" "', argument " "2"" of type '" "char *""'");
24809 : }
24810 0 : arg2 = (char *)(buf2);
24811 : {
24812 0 : if (arg1->tilesrs) free((char*)arg1->tilesrs);
24813 0 : if (arg2) {
24814 0 : arg1->tilesrs = (char *) malloc(strlen(arg2)+1);
24815 : strcpy((char*)arg1->tilesrs,arg2);
24816 : } else {
24817 0 : arg1->tilesrs = 0;
24818 : }
24819 : }
24820 0 : ST(argvi) = sv_newmortal();
24821 :
24822 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24823 0 : XSRETURN(argvi);
24824 : fail:
24825 :
24826 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24827 0 : SWIG_croak_null();
24828 : }
24829 : }
24830 :
24831 :
24832 0 : XS(_wrap_layerObj_tilesrs_get) {
24833 : {
24834 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24835 0 : void *argp1 = 0 ;
24836 : int res1 = 0 ;
24837 : int argvi = 0;
24838 : char *result = 0 ;
24839 0 : dXSARGS;
24840 :
24841 0 : if ((items < 1) || (items > 1)) {
24842 0 : SWIG_croak("Usage: layerObj_tilesrs_get(self);");
24843 : }
24844 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24845 0 : if (!SWIG_IsOK(res1)) {
24846 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tilesrs_get" "', argument " "1"" of type '" "struct layerObj *""'");
24847 : }
24848 0 : arg1 = (struct layerObj *)(argp1);
24849 0 : result = (char *) ((arg1)->tilesrs);
24850 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
24851 :
24852 0 : XSRETURN(argvi);
24853 : fail:
24854 :
24855 0 : SWIG_croak_null();
24856 : }
24857 : }
24858 :
24859 :
24860 0 : XS(_wrap_layerObj_units_set) {
24861 : {
24862 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24863 : int arg2 ;
24864 0 : void *argp1 = 0 ;
24865 : int res1 = 0 ;
24866 : int val2 ;
24867 : int ecode2 = 0 ;
24868 : int argvi = 0;
24869 0 : dXSARGS;
24870 :
24871 0 : if ((items < 2) || (items > 2)) {
24872 0 : SWIG_croak("Usage: layerObj_units_set(self,units);");
24873 : }
24874 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24875 0 : if (!SWIG_IsOK(res1)) {
24876 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_units_set" "', argument " "1"" of type '" "struct layerObj *""'");
24877 : }
24878 0 : arg1 = (struct layerObj *)(argp1);
24879 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
24880 0 : if (!SWIG_IsOK(ecode2)) {
24881 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_units_set" "', argument " "2"" of type '" "int""'");
24882 : }
24883 0 : arg2 = (int)(val2);
24884 0 : if (arg1) (arg1)->units = arg2;
24885 0 : ST(argvi) = sv_newmortal();
24886 :
24887 :
24888 0 : XSRETURN(argvi);
24889 : fail:
24890 :
24891 :
24892 0 : SWIG_croak_null();
24893 : }
24894 : }
24895 :
24896 :
24897 0 : XS(_wrap_layerObj_units_get) {
24898 : {
24899 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24900 0 : void *argp1 = 0 ;
24901 : int res1 = 0 ;
24902 : int argvi = 0;
24903 : int result;
24904 0 : dXSARGS;
24905 :
24906 0 : if ((items < 1) || (items > 1)) {
24907 0 : SWIG_croak("Usage: layerObj_units_get(self);");
24908 : }
24909 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24910 0 : if (!SWIG_IsOK(res1)) {
24911 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_units_get" "', argument " "1"" of type '" "struct layerObj *""'");
24912 : }
24913 0 : arg1 = (struct layerObj *)(argp1);
24914 0 : result = (int) ((arg1)->units);
24915 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
24916 :
24917 0 : XSRETURN(argvi);
24918 : fail:
24919 :
24920 0 : SWIG_croak_null();
24921 : }
24922 : }
24923 :
24924 :
24925 0 : XS(_wrap_layerObj_connection_set) {
24926 : {
24927 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24928 : char *arg2 = (char *) 0 ;
24929 0 : void *argp1 = 0 ;
24930 : int res1 = 0 ;
24931 : int res2 ;
24932 0 : char *buf2 = 0 ;
24933 0 : int alloc2 = 0 ;
24934 : int argvi = 0;
24935 0 : dXSARGS;
24936 :
24937 0 : if ((items < 2) || (items > 2)) {
24938 0 : SWIG_croak("Usage: layerObj_connection_set(self,connection);");
24939 : }
24940 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24941 0 : if (!SWIG_IsOK(res1)) {
24942 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connection_set" "', argument " "1"" of type '" "struct layerObj *""'");
24943 : }
24944 0 : arg1 = (struct layerObj *)(argp1);
24945 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
24946 0 : if (!SWIG_IsOK(res2)) {
24947 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_connection_set" "', argument " "2"" of type '" "char *""'");
24948 : }
24949 0 : arg2 = (char *)(buf2);
24950 : {
24951 0 : if (arg1->connection) free((char*)arg1->connection);
24952 0 : if (arg2) {
24953 0 : arg1->connection = (char *) malloc(strlen(arg2)+1);
24954 : strcpy((char*)arg1->connection,arg2);
24955 : } else {
24956 0 : arg1->connection = 0;
24957 : }
24958 : }
24959 0 : ST(argvi) = sv_newmortal();
24960 :
24961 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24962 0 : XSRETURN(argvi);
24963 : fail:
24964 :
24965 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
24966 0 : SWIG_croak_null();
24967 : }
24968 : }
24969 :
24970 :
24971 0 : XS(_wrap_layerObj_connection_get) {
24972 : {
24973 : struct layerObj *arg1 = (struct layerObj *) 0 ;
24974 0 : void *argp1 = 0 ;
24975 : int res1 = 0 ;
24976 : int argvi = 0;
24977 : char *result = 0 ;
24978 0 : dXSARGS;
24979 :
24980 0 : if ((items < 1) || (items > 1)) {
24981 0 : SWIG_croak("Usage: layerObj_connection_get(self);");
24982 : }
24983 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
24984 0 : if (!SWIG_IsOK(res1)) {
24985 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connection_get" "', argument " "1"" of type '" "struct layerObj *""'");
24986 : }
24987 0 : arg1 = (struct layerObj *)(argp1);
24988 0 : result = (char *) ((arg1)->connection);
24989 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
24990 :
24991 0 : XSRETURN(argvi);
24992 : fail:
24993 :
24994 0 : SWIG_croak_null();
24995 : }
24996 : }
24997 :
24998 :
24999 0 : XS(_wrap_layerObj_plugin_library_set) {
25000 : {
25001 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25002 : char *arg2 = (char *) 0 ;
25003 0 : void *argp1 = 0 ;
25004 : int res1 = 0 ;
25005 : int res2 ;
25006 0 : char *buf2 = 0 ;
25007 0 : int alloc2 = 0 ;
25008 : int argvi = 0;
25009 0 : dXSARGS;
25010 :
25011 0 : if ((items < 2) || (items > 2)) {
25012 0 : SWIG_croak("Usage: layerObj_plugin_library_set(self,plugin_library);");
25013 : }
25014 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25015 0 : if (!SWIG_IsOK(res1)) {
25016 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_set" "', argument " "1"" of type '" "struct layerObj *""'");
25017 : }
25018 0 : arg1 = (struct layerObj *)(argp1);
25019 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25020 0 : if (!SWIG_IsOK(res2)) {
25021 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_plugin_library_set" "', argument " "2"" of type '" "char *""'");
25022 : }
25023 0 : arg2 = (char *)(buf2);
25024 : {
25025 0 : if (arg1->plugin_library) free((char*)arg1->plugin_library);
25026 0 : if (arg2) {
25027 0 : arg1->plugin_library = (char *) malloc(strlen(arg2)+1);
25028 : strcpy((char*)arg1->plugin_library,arg2);
25029 : } else {
25030 0 : arg1->plugin_library = 0;
25031 : }
25032 : }
25033 0 : ST(argvi) = sv_newmortal();
25034 :
25035 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25036 0 : XSRETURN(argvi);
25037 : fail:
25038 :
25039 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25040 0 : SWIG_croak_null();
25041 : }
25042 : }
25043 :
25044 :
25045 0 : XS(_wrap_layerObj_plugin_library_get) {
25046 : {
25047 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25048 0 : void *argp1 = 0 ;
25049 : int res1 = 0 ;
25050 : int argvi = 0;
25051 : char *result = 0 ;
25052 0 : dXSARGS;
25053 :
25054 0 : if ((items < 1) || (items > 1)) {
25055 0 : SWIG_croak("Usage: layerObj_plugin_library_get(self);");
25056 : }
25057 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25058 0 : if (!SWIG_IsOK(res1)) {
25059 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_get" "', argument " "1"" of type '" "struct layerObj *""'");
25060 : }
25061 0 : arg1 = (struct layerObj *)(argp1);
25062 0 : result = (char *) ((arg1)->plugin_library);
25063 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25064 :
25065 0 : XSRETURN(argvi);
25066 : fail:
25067 :
25068 0 : SWIG_croak_null();
25069 : }
25070 : }
25071 :
25072 :
25073 0 : XS(_wrap_layerObj_plugin_library_original_set) {
25074 : {
25075 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25076 : char *arg2 = (char *) 0 ;
25077 0 : void *argp1 = 0 ;
25078 : int res1 = 0 ;
25079 : int res2 ;
25080 0 : char *buf2 = 0 ;
25081 0 : int alloc2 = 0 ;
25082 : int argvi = 0;
25083 0 : dXSARGS;
25084 :
25085 0 : if ((items < 2) || (items > 2)) {
25086 0 : SWIG_croak("Usage: layerObj_plugin_library_original_set(self,plugin_library_original);");
25087 : }
25088 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25089 0 : if (!SWIG_IsOK(res1)) {
25090 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_original_set" "', argument " "1"" of type '" "struct layerObj *""'");
25091 : }
25092 0 : arg1 = (struct layerObj *)(argp1);
25093 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25094 0 : if (!SWIG_IsOK(res2)) {
25095 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_plugin_library_original_set" "', argument " "2"" of type '" "char *""'");
25096 : }
25097 0 : arg2 = (char *)(buf2);
25098 : {
25099 0 : if (arg1->plugin_library_original) free((char*)arg1->plugin_library_original);
25100 0 : if (arg2) {
25101 0 : arg1->plugin_library_original = (char *) malloc(strlen(arg2)+1);
25102 : strcpy((char*)arg1->plugin_library_original,arg2);
25103 : } else {
25104 0 : arg1->plugin_library_original = 0;
25105 : }
25106 : }
25107 0 : ST(argvi) = sv_newmortal();
25108 :
25109 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25110 0 : XSRETURN(argvi);
25111 : fail:
25112 :
25113 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25114 0 : SWIG_croak_null();
25115 : }
25116 : }
25117 :
25118 :
25119 0 : XS(_wrap_layerObj_plugin_library_original_get) {
25120 : {
25121 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25122 0 : void *argp1 = 0 ;
25123 : int res1 = 0 ;
25124 : int argvi = 0;
25125 : char *result = 0 ;
25126 0 : dXSARGS;
25127 :
25128 0 : if ((items < 1) || (items > 1)) {
25129 0 : SWIG_croak("Usage: layerObj_plugin_library_original_get(self);");
25130 : }
25131 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25132 0 : if (!SWIG_IsOK(res1)) {
25133 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_original_get" "', argument " "1"" of type '" "struct layerObj *""'");
25134 : }
25135 0 : arg1 = (struct layerObj *)(argp1);
25136 0 : result = (char *) ((arg1)->plugin_library_original);
25137 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25138 :
25139 0 : XSRETURN(argvi);
25140 : fail:
25141 :
25142 0 : SWIG_croak_null();
25143 : }
25144 : }
25145 :
25146 :
25147 0 : XS(_wrap_layerObj_connectiontype_set) {
25148 : {
25149 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25150 : enum MS_CONNECTION_TYPE arg2 ;
25151 0 : void *argp1 = 0 ;
25152 : int res1 = 0 ;
25153 : int val2 ;
25154 : int ecode2 = 0 ;
25155 : int argvi = 0;
25156 0 : dXSARGS;
25157 :
25158 0 : if ((items < 2) || (items > 2)) {
25159 0 : SWIG_croak("Usage: layerObj_connectiontype_set(self,connectiontype);");
25160 : }
25161 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25162 0 : if (!SWIG_IsOK(res1)) {
25163 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connectiontype_set" "', argument " "1"" of type '" "struct layerObj *""'");
25164 : }
25165 0 : arg1 = (struct layerObj *)(argp1);
25166 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
25167 0 : if (!SWIG_IsOK(ecode2)) {
25168 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_connectiontype_set" "', argument " "2"" of type '" "enum MS_CONNECTION_TYPE""'");
25169 : }
25170 0 : arg2 = (enum MS_CONNECTION_TYPE)(val2);
25171 0 : if (arg1) (arg1)->connectiontype = arg2;
25172 0 : ST(argvi) = sv_newmortal();
25173 :
25174 :
25175 0 : XSRETURN(argvi);
25176 : fail:
25177 :
25178 :
25179 0 : SWIG_croak_null();
25180 : }
25181 : }
25182 :
25183 :
25184 0 : XS(_wrap_layerObj_connectiontype_get) {
25185 : {
25186 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25187 0 : void *argp1 = 0 ;
25188 : int res1 = 0 ;
25189 : int argvi = 0;
25190 : enum MS_CONNECTION_TYPE result;
25191 0 : dXSARGS;
25192 :
25193 0 : if ((items < 1) || (items > 1)) {
25194 0 : SWIG_croak("Usage: layerObj_connectiontype_get(self);");
25195 : }
25196 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25197 0 : if (!SWIG_IsOK(res1)) {
25198 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connectiontype_get" "', argument " "1"" of type '" "struct layerObj *""'");
25199 : }
25200 0 : arg1 = (struct layerObj *)(argp1);
25201 0 : result = (enum MS_CONNECTION_TYPE) ((arg1)->connectiontype);
25202 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
25203 :
25204 0 : XSRETURN(argvi);
25205 : fail:
25206 :
25207 0 : SWIG_croak_null();
25208 : }
25209 : }
25210 :
25211 :
25212 0 : XS(_wrap_layerObj_numitems_get) {
25213 : {
25214 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25215 0 : void *argp1 = 0 ;
25216 : int res1 = 0 ;
25217 : int argvi = 0;
25218 : int result;
25219 0 : dXSARGS;
25220 :
25221 0 : if ((items < 1) || (items > 1)) {
25222 0 : SWIG_croak("Usage: layerObj_numitems_get(self);");
25223 : }
25224 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25225 0 : if (!SWIG_IsOK(res1)) {
25226 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numitems_get" "', argument " "1"" of type '" "struct layerObj *""'");
25227 : }
25228 0 : arg1 = (struct layerObj *)(argp1);
25229 0 : result = (int) ((arg1)->numitems);
25230 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
25231 :
25232 0 : XSRETURN(argvi);
25233 : fail:
25234 :
25235 0 : SWIG_croak_null();
25236 : }
25237 : }
25238 :
25239 :
25240 0 : XS(_wrap_layerObj_bandsitem_set) {
25241 : {
25242 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25243 : char *arg2 = (char *) 0 ;
25244 0 : void *argp1 = 0 ;
25245 : int res1 = 0 ;
25246 : int res2 ;
25247 0 : char *buf2 = 0 ;
25248 0 : int alloc2 = 0 ;
25249 : int argvi = 0;
25250 0 : dXSARGS;
25251 :
25252 0 : if ((items < 2) || (items > 2)) {
25253 0 : SWIG_croak("Usage: layerObj_bandsitem_set(self,bandsitem);");
25254 : }
25255 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25256 0 : if (!SWIG_IsOK(res1)) {
25257 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_bandsitem_set" "', argument " "1"" of type '" "struct layerObj *""'");
25258 : }
25259 0 : arg1 = (struct layerObj *)(argp1);
25260 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25261 0 : if (!SWIG_IsOK(res2)) {
25262 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_bandsitem_set" "', argument " "2"" of type '" "char *""'");
25263 : }
25264 0 : arg2 = (char *)(buf2);
25265 : {
25266 0 : if (arg1->bandsitem) free((char*)arg1->bandsitem);
25267 0 : if (arg2) {
25268 0 : arg1->bandsitem = (char *) malloc(strlen(arg2)+1);
25269 : strcpy((char*)arg1->bandsitem,arg2);
25270 : } else {
25271 0 : arg1->bandsitem = 0;
25272 : }
25273 : }
25274 0 : ST(argvi) = sv_newmortal();
25275 :
25276 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25277 0 : XSRETURN(argvi);
25278 : fail:
25279 :
25280 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25281 0 : SWIG_croak_null();
25282 : }
25283 : }
25284 :
25285 :
25286 0 : XS(_wrap_layerObj_bandsitem_get) {
25287 : {
25288 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25289 0 : void *argp1 = 0 ;
25290 : int res1 = 0 ;
25291 : int argvi = 0;
25292 : char *result = 0 ;
25293 0 : dXSARGS;
25294 :
25295 0 : if ((items < 1) || (items > 1)) {
25296 0 : SWIG_croak("Usage: layerObj_bandsitem_get(self);");
25297 : }
25298 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25299 0 : if (!SWIG_IsOK(res1)) {
25300 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_bandsitem_get" "', argument " "1"" of type '" "struct layerObj *""'");
25301 : }
25302 0 : arg1 = (struct layerObj *)(argp1);
25303 0 : result = (char *) ((arg1)->bandsitem);
25304 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25305 :
25306 0 : XSRETURN(argvi);
25307 : fail:
25308 :
25309 0 : SWIG_croak_null();
25310 : }
25311 : }
25312 :
25313 :
25314 0 : XS(_wrap_layerObj_filteritem_set) {
25315 : {
25316 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25317 : char *arg2 = (char *) 0 ;
25318 0 : void *argp1 = 0 ;
25319 : int res1 = 0 ;
25320 : int res2 ;
25321 0 : char *buf2 = 0 ;
25322 0 : int alloc2 = 0 ;
25323 : int argvi = 0;
25324 0 : dXSARGS;
25325 :
25326 0 : if ((items < 2) || (items > 2)) {
25327 0 : SWIG_croak("Usage: layerObj_filteritem_set(self,filteritem);");
25328 : }
25329 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25330 0 : if (!SWIG_IsOK(res1)) {
25331 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_filteritem_set" "', argument " "1"" of type '" "struct layerObj *""'");
25332 : }
25333 0 : arg1 = (struct layerObj *)(argp1);
25334 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25335 0 : if (!SWIG_IsOK(res2)) {
25336 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_filteritem_set" "', argument " "2"" of type '" "char *""'");
25337 : }
25338 0 : arg2 = (char *)(buf2);
25339 : {
25340 0 : if (arg1->filteritem) free((char*)arg1->filteritem);
25341 0 : if (arg2) {
25342 0 : arg1->filteritem = (char *) malloc(strlen(arg2)+1);
25343 : strcpy((char*)arg1->filteritem,arg2);
25344 : } else {
25345 0 : arg1->filteritem = 0;
25346 : }
25347 : }
25348 0 : ST(argvi) = sv_newmortal();
25349 :
25350 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25351 0 : XSRETURN(argvi);
25352 : fail:
25353 :
25354 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25355 0 : SWIG_croak_null();
25356 : }
25357 : }
25358 :
25359 :
25360 0 : XS(_wrap_layerObj_filteritem_get) {
25361 : {
25362 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25363 0 : void *argp1 = 0 ;
25364 : int res1 = 0 ;
25365 : int argvi = 0;
25366 : char *result = 0 ;
25367 0 : dXSARGS;
25368 :
25369 0 : if ((items < 1) || (items > 1)) {
25370 0 : SWIG_croak("Usage: layerObj_filteritem_get(self);");
25371 : }
25372 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25373 0 : if (!SWIG_IsOK(res1)) {
25374 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_filteritem_get" "', argument " "1"" of type '" "struct layerObj *""'");
25375 : }
25376 0 : arg1 = (struct layerObj *)(argp1);
25377 0 : result = (char *) ((arg1)->filteritem);
25378 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25379 :
25380 0 : XSRETURN(argvi);
25381 : fail:
25382 :
25383 0 : SWIG_croak_null();
25384 : }
25385 : }
25386 :
25387 :
25388 0 : XS(_wrap_layerObj_styleitem_set) {
25389 : {
25390 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25391 : char *arg2 = (char *) 0 ;
25392 0 : void *argp1 = 0 ;
25393 : int res1 = 0 ;
25394 : int res2 ;
25395 0 : char *buf2 = 0 ;
25396 0 : int alloc2 = 0 ;
25397 : int argvi = 0;
25398 0 : dXSARGS;
25399 :
25400 0 : if ((items < 2) || (items > 2)) {
25401 0 : SWIG_croak("Usage: layerObj_styleitem_set(self,styleitem);");
25402 : }
25403 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25404 0 : if (!SWIG_IsOK(res1)) {
25405 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_styleitem_set" "', argument " "1"" of type '" "struct layerObj *""'");
25406 : }
25407 0 : arg1 = (struct layerObj *)(argp1);
25408 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25409 0 : if (!SWIG_IsOK(res2)) {
25410 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_styleitem_set" "', argument " "2"" of type '" "char *""'");
25411 : }
25412 0 : arg2 = (char *)(buf2);
25413 : {
25414 0 : if (arg1->styleitem) free((char*)arg1->styleitem);
25415 0 : if (arg2) {
25416 0 : arg1->styleitem = (char *) malloc(strlen(arg2)+1);
25417 : strcpy((char*)arg1->styleitem,arg2);
25418 : } else {
25419 0 : arg1->styleitem = 0;
25420 : }
25421 : }
25422 0 : ST(argvi) = sv_newmortal();
25423 :
25424 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25425 0 : XSRETURN(argvi);
25426 : fail:
25427 :
25428 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25429 0 : SWIG_croak_null();
25430 : }
25431 : }
25432 :
25433 :
25434 0 : XS(_wrap_layerObj_styleitem_get) {
25435 : {
25436 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25437 0 : void *argp1 = 0 ;
25438 : int res1 = 0 ;
25439 : int argvi = 0;
25440 : char *result = 0 ;
25441 0 : dXSARGS;
25442 :
25443 0 : if ((items < 1) || (items > 1)) {
25444 0 : SWIG_croak("Usage: layerObj_styleitem_get(self);");
25445 : }
25446 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25447 0 : if (!SWIG_IsOK(res1)) {
25448 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_styleitem_get" "', argument " "1"" of type '" "struct layerObj *""'");
25449 : }
25450 0 : arg1 = (struct layerObj *)(argp1);
25451 0 : result = (char *) ((arg1)->styleitem);
25452 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25453 :
25454 0 : XSRETURN(argvi);
25455 : fail:
25456 :
25457 0 : SWIG_croak_null();
25458 : }
25459 : }
25460 :
25461 :
25462 0 : XS(_wrap_layerObj_requires_set) {
25463 : {
25464 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25465 : char *arg2 = (char *) 0 ;
25466 0 : void *argp1 = 0 ;
25467 : int res1 = 0 ;
25468 : int res2 ;
25469 0 : char *buf2 = 0 ;
25470 0 : int alloc2 = 0 ;
25471 : int argvi = 0;
25472 0 : dXSARGS;
25473 :
25474 0 : if ((items < 2) || (items > 2)) {
25475 0 : SWIG_croak("Usage: layerObj_requires_set(self,requires);");
25476 : }
25477 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25478 0 : if (!SWIG_IsOK(res1)) {
25479 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_requires_set" "', argument " "1"" of type '" "struct layerObj *""'");
25480 : }
25481 0 : arg1 = (struct layerObj *)(argp1);
25482 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25483 0 : if (!SWIG_IsOK(res2)) {
25484 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_requires_set" "', argument " "2"" of type '" "char *""'");
25485 : }
25486 0 : arg2 = (char *)(buf2);
25487 : {
25488 0 : if (arg1->requires) free((char*)arg1->requires);
25489 0 : if (arg2) {
25490 0 : arg1->requires = (char *) malloc(strlen(arg2)+1);
25491 : strcpy((char*)arg1->requires,arg2);
25492 : } else {
25493 0 : arg1->requires = 0;
25494 : }
25495 : }
25496 0 : ST(argvi) = sv_newmortal();
25497 :
25498 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25499 0 : XSRETURN(argvi);
25500 : fail:
25501 :
25502 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25503 0 : SWIG_croak_null();
25504 : }
25505 : }
25506 :
25507 :
25508 0 : XS(_wrap_layerObj_requires_get) {
25509 : {
25510 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25511 0 : void *argp1 = 0 ;
25512 : int res1 = 0 ;
25513 : int argvi = 0;
25514 : char *result = 0 ;
25515 0 : dXSARGS;
25516 :
25517 0 : if ((items < 1) || (items > 1)) {
25518 0 : SWIG_croak("Usage: layerObj_requires_get(self);");
25519 : }
25520 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25521 0 : if (!SWIG_IsOK(res1)) {
25522 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_requires_get" "', argument " "1"" of type '" "struct layerObj *""'");
25523 : }
25524 0 : arg1 = (struct layerObj *)(argp1);
25525 0 : result = (char *) ((arg1)->requires);
25526 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25527 :
25528 0 : XSRETURN(argvi);
25529 : fail:
25530 :
25531 0 : SWIG_croak_null();
25532 : }
25533 : }
25534 :
25535 :
25536 0 : XS(_wrap_layerObj_labelrequires_set) {
25537 : {
25538 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25539 : char *arg2 = (char *) 0 ;
25540 0 : void *argp1 = 0 ;
25541 : int res1 = 0 ;
25542 : int res2 ;
25543 0 : char *buf2 = 0 ;
25544 0 : int alloc2 = 0 ;
25545 : int argvi = 0;
25546 0 : dXSARGS;
25547 :
25548 0 : if ((items < 2) || (items > 2)) {
25549 0 : SWIG_croak("Usage: layerObj_labelrequires_set(self,labelrequires);");
25550 : }
25551 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25552 0 : if (!SWIG_IsOK(res1)) {
25553 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelrequires_set" "', argument " "1"" of type '" "struct layerObj *""'");
25554 : }
25555 0 : arg1 = (struct layerObj *)(argp1);
25556 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25557 0 : if (!SWIG_IsOK(res2)) {
25558 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_labelrequires_set" "', argument " "2"" of type '" "char *""'");
25559 : }
25560 0 : arg2 = (char *)(buf2);
25561 : {
25562 0 : if (arg1->labelrequires) free((char*)arg1->labelrequires);
25563 0 : if (arg2) {
25564 0 : arg1->labelrequires = (char *) malloc(strlen(arg2)+1);
25565 : strcpy((char*)arg1->labelrequires,arg2);
25566 : } else {
25567 0 : arg1->labelrequires = 0;
25568 : }
25569 : }
25570 0 : ST(argvi) = sv_newmortal();
25571 :
25572 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25573 0 : XSRETURN(argvi);
25574 : fail:
25575 :
25576 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25577 0 : SWIG_croak_null();
25578 : }
25579 : }
25580 :
25581 :
25582 0 : XS(_wrap_layerObj_labelrequires_get) {
25583 : {
25584 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25585 0 : void *argp1 = 0 ;
25586 : int res1 = 0 ;
25587 : int argvi = 0;
25588 : char *result = 0 ;
25589 0 : dXSARGS;
25590 :
25591 0 : if ((items < 1) || (items > 1)) {
25592 0 : SWIG_croak("Usage: layerObj_labelrequires_get(self);");
25593 : }
25594 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25595 0 : if (!SWIG_IsOK(res1)) {
25596 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelrequires_get" "', argument " "1"" of type '" "struct layerObj *""'");
25597 : }
25598 0 : arg1 = (struct layerObj *)(argp1);
25599 0 : result = (char *) ((arg1)->labelrequires);
25600 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
25601 :
25602 0 : XSRETURN(argvi);
25603 : fail:
25604 :
25605 0 : SWIG_croak_null();
25606 : }
25607 : }
25608 :
25609 :
25610 0 : XS(_wrap_layerObj_metadata_get) {
25611 : {
25612 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25613 0 : void *argp1 = 0 ;
25614 : int res1 = 0 ;
25615 : int argvi = 0;
25616 : hashTableObj *result = 0 ;
25617 0 : dXSARGS;
25618 :
25619 0 : if ((items < 1) || (items > 1)) {
25620 0 : SWIG_croak("Usage: layerObj_metadata_get(self);");
25621 : }
25622 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25623 0 : if (!SWIG_IsOK(res1)) {
25624 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_metadata_get" "', argument " "1"" of type '" "struct layerObj *""'");
25625 : }
25626 0 : arg1 = (struct layerObj *)(argp1);
25627 0 : result = (hashTableObj *)& ((arg1)->metadata);
25628 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
25629 :
25630 0 : XSRETURN(argvi);
25631 : fail:
25632 :
25633 0 : SWIG_croak_null();
25634 : }
25635 : }
25636 :
25637 :
25638 0 : XS(_wrap_layerObj_validation_get) {
25639 : {
25640 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25641 0 : void *argp1 = 0 ;
25642 : int res1 = 0 ;
25643 : int argvi = 0;
25644 : hashTableObj *result = 0 ;
25645 0 : dXSARGS;
25646 :
25647 0 : if ((items < 1) || (items > 1)) {
25648 0 : SWIG_croak("Usage: layerObj_validation_get(self);");
25649 : }
25650 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25651 0 : if (!SWIG_IsOK(res1)) {
25652 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_validation_get" "', argument " "1"" of type '" "struct layerObj *""'");
25653 : }
25654 0 : arg1 = (struct layerObj *)(argp1);
25655 0 : result = (hashTableObj *)& ((arg1)->validation);
25656 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
25657 :
25658 0 : XSRETURN(argvi);
25659 : fail:
25660 :
25661 0 : SWIG_croak_null();
25662 : }
25663 : }
25664 :
25665 :
25666 0 : XS(_wrap_layerObj_bindvals_get) {
25667 : {
25668 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25669 0 : void *argp1 = 0 ;
25670 : int res1 = 0 ;
25671 : int argvi = 0;
25672 : hashTableObj *result = 0 ;
25673 0 : dXSARGS;
25674 :
25675 0 : if ((items < 1) || (items > 1)) {
25676 0 : SWIG_croak("Usage: layerObj_bindvals_get(self);");
25677 : }
25678 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25679 0 : if (!SWIG_IsOK(res1)) {
25680 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_bindvals_get" "', argument " "1"" of type '" "struct layerObj *""'");
25681 : }
25682 0 : arg1 = (struct layerObj *)(argp1);
25683 0 : result = (hashTableObj *)& ((arg1)->bindvals);
25684 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
25685 :
25686 0 : XSRETURN(argvi);
25687 : fail:
25688 :
25689 0 : SWIG_croak_null();
25690 : }
25691 : }
25692 :
25693 :
25694 0 : XS(_wrap_layerObj_cluster_get) {
25695 : {
25696 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25697 0 : void *argp1 = 0 ;
25698 : int res1 = 0 ;
25699 : int argvi = 0;
25700 : clusterObj *result = 0 ;
25701 0 : dXSARGS;
25702 :
25703 0 : if ((items < 1) || (items > 1)) {
25704 0 : SWIG_croak("Usage: layerObj_cluster_get(self);");
25705 : }
25706 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25707 0 : if (!SWIG_IsOK(res1)) {
25708 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_cluster_get" "', argument " "1"" of type '" "struct layerObj *""'");
25709 : }
25710 0 : arg1 = (struct layerObj *)(argp1);
25711 0 : result = (clusterObj *)& ((arg1)->cluster);
25712 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_clusterObj, 0 | SWIG_SHADOW); argvi++ ;
25713 :
25714 0 : XSRETURN(argvi);
25715 : fail:
25716 :
25717 0 : SWIG_croak_null();
25718 : }
25719 : }
25720 :
25721 :
25722 0 : XS(_wrap_layerObj_dump_set) {
25723 : {
25724 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25725 : int arg2 ;
25726 0 : void *argp1 = 0 ;
25727 : int res1 = 0 ;
25728 : int val2 ;
25729 : int ecode2 = 0 ;
25730 : int argvi = 0;
25731 0 : dXSARGS;
25732 :
25733 0 : if ((items < 2) || (items > 2)) {
25734 0 : SWIG_croak("Usage: layerObj_dump_set(self,dump);");
25735 : }
25736 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25737 0 : if (!SWIG_IsOK(res1)) {
25738 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_dump_set" "', argument " "1"" of type '" "struct layerObj *""'");
25739 : }
25740 0 : arg1 = (struct layerObj *)(argp1);
25741 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
25742 0 : if (!SWIG_IsOK(ecode2)) {
25743 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_dump_set" "', argument " "2"" of type '" "int""'");
25744 : }
25745 0 : arg2 = (int)(val2);
25746 0 : if (arg1) (arg1)->dump = arg2;
25747 0 : ST(argvi) = sv_newmortal();
25748 :
25749 :
25750 0 : XSRETURN(argvi);
25751 : fail:
25752 :
25753 :
25754 0 : SWIG_croak_null();
25755 : }
25756 : }
25757 :
25758 :
25759 0 : XS(_wrap_layerObj_dump_get) {
25760 : {
25761 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25762 0 : void *argp1 = 0 ;
25763 : int res1 = 0 ;
25764 : int argvi = 0;
25765 : int result;
25766 0 : dXSARGS;
25767 :
25768 0 : if ((items < 1) || (items > 1)) {
25769 0 : SWIG_croak("Usage: layerObj_dump_get(self);");
25770 : }
25771 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25772 0 : if (!SWIG_IsOK(res1)) {
25773 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_dump_get" "', argument " "1"" of type '" "struct layerObj *""'");
25774 : }
25775 0 : arg1 = (struct layerObj *)(argp1);
25776 0 : result = (int) ((arg1)->dump);
25777 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
25778 :
25779 0 : XSRETURN(argvi);
25780 : fail:
25781 :
25782 0 : SWIG_croak_null();
25783 : }
25784 : }
25785 :
25786 :
25787 0 : XS(_wrap_layerObj_debug_set) {
25788 : {
25789 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25790 : int arg2 ;
25791 0 : void *argp1 = 0 ;
25792 : int res1 = 0 ;
25793 : int val2 ;
25794 : int ecode2 = 0 ;
25795 : int argvi = 0;
25796 0 : dXSARGS;
25797 :
25798 0 : if ((items < 2) || (items > 2)) {
25799 0 : SWIG_croak("Usage: layerObj_debug_set(self,debug);");
25800 : }
25801 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25802 0 : if (!SWIG_IsOK(res1)) {
25803 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_debug_set" "', argument " "1"" of type '" "struct layerObj *""'");
25804 : }
25805 0 : arg1 = (struct layerObj *)(argp1);
25806 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
25807 0 : if (!SWIG_IsOK(ecode2)) {
25808 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_debug_set" "', argument " "2"" of type '" "int""'");
25809 : }
25810 0 : arg2 = (int)(val2);
25811 0 : if (arg1) (arg1)->debug = arg2;
25812 0 : ST(argvi) = sv_newmortal();
25813 :
25814 :
25815 0 : XSRETURN(argvi);
25816 : fail:
25817 :
25818 :
25819 0 : SWIG_croak_null();
25820 : }
25821 : }
25822 :
25823 :
25824 0 : XS(_wrap_layerObj_debug_get) {
25825 : {
25826 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25827 0 : void *argp1 = 0 ;
25828 : int res1 = 0 ;
25829 : int argvi = 0;
25830 : int result;
25831 0 : dXSARGS;
25832 :
25833 0 : if ((items < 1) || (items > 1)) {
25834 0 : SWIG_croak("Usage: layerObj_debug_get(self);");
25835 : }
25836 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25837 0 : if (!SWIG_IsOK(res1)) {
25838 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_debug_get" "', argument " "1"" of type '" "struct layerObj *""'");
25839 : }
25840 0 : arg1 = (struct layerObj *)(argp1);
25841 0 : result = (int) ((arg1)->debug);
25842 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
25843 :
25844 0 : XSRETURN(argvi);
25845 : fail:
25846 :
25847 0 : SWIG_croak_null();
25848 : }
25849 : }
25850 :
25851 :
25852 0 : XS(_wrap_layerObj_extent_get) {
25853 : {
25854 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25855 0 : void *argp1 = 0 ;
25856 : int res1 = 0 ;
25857 : int argvi = 0;
25858 : rectObj *result = 0 ;
25859 0 : dXSARGS;
25860 :
25861 0 : if ((items < 1) || (items > 1)) {
25862 0 : SWIG_croak("Usage: layerObj_extent_get(self);");
25863 : }
25864 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25865 0 : if (!SWIG_IsOK(res1)) {
25866 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_extent_get" "', argument " "1"" of type '" "struct layerObj *""'");
25867 : }
25868 0 : arg1 = (struct layerObj *)(argp1);
25869 0 : result = (rectObj *)& ((arg1)->extent);
25870 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
25871 :
25872 0 : XSRETURN(argvi);
25873 : fail:
25874 :
25875 0 : SWIG_croak_null();
25876 : }
25877 : }
25878 :
25879 :
25880 0 : XS(_wrap_layerObj_numprocessing_get) {
25881 : {
25882 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25883 0 : void *argp1 = 0 ;
25884 : int res1 = 0 ;
25885 : int argvi = 0;
25886 : int result;
25887 0 : dXSARGS;
25888 :
25889 0 : if ((items < 1) || (items > 1)) {
25890 0 : SWIG_croak("Usage: layerObj_numprocessing_get(self);");
25891 : }
25892 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25893 0 : if (!SWIG_IsOK(res1)) {
25894 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numprocessing_get" "', argument " "1"" of type '" "struct layerObj *""'");
25895 : }
25896 0 : arg1 = (struct layerObj *)(argp1);
25897 0 : result = (int) ((arg1)->numprocessing);
25898 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
25899 :
25900 0 : XSRETURN(argvi);
25901 : fail:
25902 :
25903 0 : SWIG_croak_null();
25904 : }
25905 : }
25906 :
25907 :
25908 0 : XS(_wrap_layerObj_numjoins_get) {
25909 : {
25910 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25911 0 : void *argp1 = 0 ;
25912 : int res1 = 0 ;
25913 : int argvi = 0;
25914 : int result;
25915 0 : dXSARGS;
25916 :
25917 0 : if ((items < 1) || (items > 1)) {
25918 0 : SWIG_croak("Usage: layerObj_numjoins_get(self);");
25919 : }
25920 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25921 0 : if (!SWIG_IsOK(res1)) {
25922 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numjoins_get" "', argument " "1"" of type '" "struct layerObj *""'");
25923 : }
25924 0 : arg1 = (struct layerObj *)(argp1);
25925 0 : result = (int) ((arg1)->numjoins);
25926 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
25927 :
25928 0 : XSRETURN(argvi);
25929 : fail:
25930 :
25931 0 : SWIG_croak_null();
25932 : }
25933 : }
25934 :
25935 :
25936 0 : XS(_wrap_layerObj_classgroup_set) {
25937 : {
25938 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25939 : char *arg2 = (char *) 0 ;
25940 0 : void *argp1 = 0 ;
25941 : int res1 = 0 ;
25942 : int res2 ;
25943 0 : char *buf2 = 0 ;
25944 0 : int alloc2 = 0 ;
25945 : int argvi = 0;
25946 0 : dXSARGS;
25947 :
25948 0 : if ((items < 2) || (items > 2)) {
25949 0 : SWIG_croak("Usage: layerObj_classgroup_set(self,classgroup);");
25950 : }
25951 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25952 0 : if (!SWIG_IsOK(res1)) {
25953 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classgroup_set" "', argument " "1"" of type '" "struct layerObj *""'");
25954 : }
25955 0 : arg1 = (struct layerObj *)(argp1);
25956 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
25957 0 : if (!SWIG_IsOK(res2)) {
25958 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_classgroup_set" "', argument " "2"" of type '" "char *""'");
25959 : }
25960 0 : arg2 = (char *)(buf2);
25961 : {
25962 0 : if (arg1->classgroup) free((char*)arg1->classgroup);
25963 0 : if (arg2) {
25964 0 : arg1->classgroup = (char *) malloc(strlen(arg2)+1);
25965 : strcpy((char*)arg1->classgroup,arg2);
25966 : } else {
25967 0 : arg1->classgroup = 0;
25968 : }
25969 : }
25970 0 : ST(argvi) = sv_newmortal();
25971 :
25972 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25973 0 : XSRETURN(argvi);
25974 : fail:
25975 :
25976 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
25977 0 : SWIG_croak_null();
25978 : }
25979 : }
25980 :
25981 :
25982 0 : XS(_wrap_layerObj_classgroup_get) {
25983 : {
25984 : struct layerObj *arg1 = (struct layerObj *) 0 ;
25985 0 : void *argp1 = 0 ;
25986 : int res1 = 0 ;
25987 : int argvi = 0;
25988 : char *result = 0 ;
25989 0 : dXSARGS;
25990 :
25991 0 : if ((items < 1) || (items > 1)) {
25992 0 : SWIG_croak("Usage: layerObj_classgroup_get(self);");
25993 : }
25994 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
25995 0 : if (!SWIG_IsOK(res1)) {
25996 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classgroup_get" "', argument " "1"" of type '" "struct layerObj *""'");
25997 : }
25998 0 : arg1 = (struct layerObj *)(argp1);
25999 0 : result = (char *) ((arg1)->classgroup);
26000 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
26001 :
26002 0 : XSRETURN(argvi);
26003 : fail:
26004 :
26005 0 : SWIG_croak_null();
26006 : }
26007 : }
26008 :
26009 :
26010 0 : XS(_wrap_layerObj_mask_set) {
26011 : {
26012 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26013 : char *arg2 = (char *) 0 ;
26014 0 : void *argp1 = 0 ;
26015 : int res1 = 0 ;
26016 : int res2 ;
26017 0 : char *buf2 = 0 ;
26018 0 : int alloc2 = 0 ;
26019 : int argvi = 0;
26020 0 : dXSARGS;
26021 :
26022 0 : if ((items < 2) || (items > 2)) {
26023 0 : SWIG_croak("Usage: layerObj_mask_set(self,mask);");
26024 : }
26025 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26026 0 : if (!SWIG_IsOK(res1)) {
26027 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mask_set" "', argument " "1"" of type '" "struct layerObj *""'");
26028 : }
26029 0 : arg1 = (struct layerObj *)(argp1);
26030 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
26031 0 : if (!SWIG_IsOK(res2)) {
26032 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_mask_set" "', argument " "2"" of type '" "char *""'");
26033 : }
26034 0 : arg2 = (char *)(buf2);
26035 : {
26036 0 : if (arg1->mask) free((char*)arg1->mask);
26037 0 : if (arg2) {
26038 0 : arg1->mask = (char *) malloc(strlen(arg2)+1);
26039 : strcpy((char*)arg1->mask,arg2);
26040 : } else {
26041 0 : arg1->mask = 0;
26042 : }
26043 : }
26044 0 : ST(argvi) = sv_newmortal();
26045 :
26046 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26047 0 : XSRETURN(argvi);
26048 : fail:
26049 :
26050 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26051 0 : SWIG_croak_null();
26052 : }
26053 : }
26054 :
26055 :
26056 0 : XS(_wrap_layerObj_mask_get) {
26057 : {
26058 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26059 0 : void *argp1 = 0 ;
26060 : int res1 = 0 ;
26061 : int argvi = 0;
26062 : char *result = 0 ;
26063 0 : dXSARGS;
26064 :
26065 0 : if ((items < 1) || (items > 1)) {
26066 0 : SWIG_croak("Usage: layerObj_mask_get(self);");
26067 : }
26068 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26069 0 : if (!SWIG_IsOK(res1)) {
26070 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mask_get" "', argument " "1"" of type '" "struct layerObj *""'");
26071 : }
26072 0 : arg1 = (struct layerObj *)(argp1);
26073 0 : result = (char *) ((arg1)->mask);
26074 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
26075 :
26076 0 : XSRETURN(argvi);
26077 : fail:
26078 :
26079 0 : SWIG_croak_null();
26080 : }
26081 : }
26082 :
26083 :
26084 0 : XS(_wrap_layerObj_encoding_set) {
26085 : {
26086 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26087 : char *arg2 = (char *) 0 ;
26088 0 : void *argp1 = 0 ;
26089 : int res1 = 0 ;
26090 : int res2 ;
26091 0 : char *buf2 = 0 ;
26092 0 : int alloc2 = 0 ;
26093 : int argvi = 0;
26094 0 : dXSARGS;
26095 :
26096 0 : if ((items < 2) || (items > 2)) {
26097 0 : SWIG_croak("Usage: layerObj_encoding_set(self,encoding);");
26098 : }
26099 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26100 0 : if (!SWIG_IsOK(res1)) {
26101 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_encoding_set" "', argument " "1"" of type '" "struct layerObj *""'");
26102 : }
26103 0 : arg1 = (struct layerObj *)(argp1);
26104 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
26105 0 : if (!SWIG_IsOK(res2)) {
26106 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_encoding_set" "', argument " "2"" of type '" "char *""'");
26107 : }
26108 0 : arg2 = (char *)(buf2);
26109 : {
26110 0 : if (arg1->encoding) free((char*)arg1->encoding);
26111 0 : if (arg2) {
26112 0 : arg1->encoding = (char *) malloc(strlen(arg2)+1);
26113 : strcpy((char*)arg1->encoding,arg2);
26114 : } else {
26115 0 : arg1->encoding = 0;
26116 : }
26117 : }
26118 0 : ST(argvi) = sv_newmortal();
26119 :
26120 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26121 0 : XSRETURN(argvi);
26122 : fail:
26123 :
26124 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26125 0 : SWIG_croak_null();
26126 : }
26127 : }
26128 :
26129 :
26130 0 : XS(_wrap_layerObj_encoding_get) {
26131 : {
26132 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26133 0 : void *argp1 = 0 ;
26134 : int res1 = 0 ;
26135 : int argvi = 0;
26136 : char *result = 0 ;
26137 0 : dXSARGS;
26138 :
26139 0 : if ((items < 1) || (items > 1)) {
26140 0 : SWIG_croak("Usage: layerObj_encoding_get(self);");
26141 : }
26142 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26143 0 : if (!SWIG_IsOK(res1)) {
26144 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_encoding_get" "', argument " "1"" of type '" "struct layerObj *""'");
26145 : }
26146 0 : arg1 = (struct layerObj *)(argp1);
26147 0 : result = (char *) ((arg1)->encoding);
26148 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
26149 :
26150 0 : XSRETURN(argvi);
26151 : fail:
26152 :
26153 0 : SWIG_croak_null();
26154 : }
26155 : }
26156 :
26157 :
26158 0 : XS(_wrap_layerObj_utfitem_set) {
26159 : {
26160 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26161 : char *arg2 = (char *) 0 ;
26162 0 : void *argp1 = 0 ;
26163 : int res1 = 0 ;
26164 : int res2 ;
26165 0 : char *buf2 = 0 ;
26166 0 : int alloc2 = 0 ;
26167 : int argvi = 0;
26168 0 : dXSARGS;
26169 :
26170 0 : if ((items < 2) || (items > 2)) {
26171 0 : SWIG_croak("Usage: layerObj_utfitem_set(self,utfitem);");
26172 : }
26173 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26174 0 : if (!SWIG_IsOK(res1)) {
26175 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitem_set" "', argument " "1"" of type '" "struct layerObj *""'");
26176 : }
26177 0 : arg1 = (struct layerObj *)(argp1);
26178 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
26179 0 : if (!SWIG_IsOK(res2)) {
26180 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_utfitem_set" "', argument " "2"" of type '" "char *""'");
26181 : }
26182 0 : arg2 = (char *)(buf2);
26183 : {
26184 0 : if (arg1->utfitem) free((char*)arg1->utfitem);
26185 0 : if (arg2) {
26186 0 : arg1->utfitem = (char *) malloc(strlen(arg2)+1);
26187 : strcpy((char*)arg1->utfitem,arg2);
26188 : } else {
26189 0 : arg1->utfitem = 0;
26190 : }
26191 : }
26192 0 : ST(argvi) = sv_newmortal();
26193 :
26194 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26195 0 : XSRETURN(argvi);
26196 : fail:
26197 :
26198 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26199 0 : SWIG_croak_null();
26200 : }
26201 : }
26202 :
26203 :
26204 0 : XS(_wrap_layerObj_utfitem_get) {
26205 : {
26206 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26207 0 : void *argp1 = 0 ;
26208 : int res1 = 0 ;
26209 : int argvi = 0;
26210 : char *result = 0 ;
26211 0 : dXSARGS;
26212 :
26213 0 : if ((items < 1) || (items > 1)) {
26214 0 : SWIG_croak("Usage: layerObj_utfitem_get(self);");
26215 : }
26216 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26217 0 : if (!SWIG_IsOK(res1)) {
26218 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitem_get" "', argument " "1"" of type '" "struct layerObj *""'");
26219 : }
26220 0 : arg1 = (struct layerObj *)(argp1);
26221 0 : result = (char *) ((arg1)->utfitem);
26222 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
26223 :
26224 0 : XSRETURN(argvi);
26225 : fail:
26226 :
26227 0 : SWIG_croak_null();
26228 : }
26229 : }
26230 :
26231 :
26232 0 : XS(_wrap_layerObj_utfitemindex_set) {
26233 : {
26234 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26235 : int arg2 ;
26236 0 : void *argp1 = 0 ;
26237 : int res1 = 0 ;
26238 : int val2 ;
26239 : int ecode2 = 0 ;
26240 : int argvi = 0;
26241 0 : dXSARGS;
26242 :
26243 0 : if ((items < 2) || (items > 2)) {
26244 0 : SWIG_croak("Usage: layerObj_utfitemindex_set(self,utfitemindex);");
26245 : }
26246 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26247 0 : if (!SWIG_IsOK(res1)) {
26248 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitemindex_set" "', argument " "1"" of type '" "struct layerObj *""'");
26249 : }
26250 0 : arg1 = (struct layerObj *)(argp1);
26251 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
26252 0 : if (!SWIG_IsOK(ecode2)) {
26253 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_utfitemindex_set" "', argument " "2"" of type '" "int""'");
26254 : }
26255 0 : arg2 = (int)(val2);
26256 0 : if (arg1) (arg1)->utfitemindex = arg2;
26257 0 : ST(argvi) = sv_newmortal();
26258 :
26259 :
26260 0 : XSRETURN(argvi);
26261 : fail:
26262 :
26263 :
26264 0 : SWIG_croak_null();
26265 : }
26266 : }
26267 :
26268 :
26269 0 : XS(_wrap_layerObj_utfitemindex_get) {
26270 : {
26271 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26272 0 : void *argp1 = 0 ;
26273 : int res1 = 0 ;
26274 : int argvi = 0;
26275 : int result;
26276 0 : dXSARGS;
26277 :
26278 0 : if ((items < 1) || (items > 1)) {
26279 0 : SWIG_croak("Usage: layerObj_utfitemindex_get(self);");
26280 : }
26281 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26282 0 : if (!SWIG_IsOK(res1)) {
26283 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitemindex_get" "', argument " "1"" of type '" "struct layerObj *""'");
26284 : }
26285 0 : arg1 = (struct layerObj *)(argp1);
26286 0 : result = (int) ((arg1)->utfitemindex);
26287 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26288 :
26289 0 : XSRETURN(argvi);
26290 : fail:
26291 :
26292 0 : SWIG_croak_null();
26293 : }
26294 : }
26295 :
26296 :
26297 0 : XS(_wrap_layerObj_utfdata_set) {
26298 : {
26299 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26300 : expressionObj arg2 ;
26301 0 : void *argp1 = 0 ;
26302 : int res1 = 0 ;
26303 : void *argp2 ;
26304 : int res2 = 0 ;
26305 : int argvi = 0;
26306 0 : dXSARGS;
26307 :
26308 0 : if ((items < 2) || (items > 2)) {
26309 0 : SWIG_croak("Usage: layerObj_utfdata_set(self,utfdata);");
26310 : }
26311 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26312 0 : if (!SWIG_IsOK(res1)) {
26313 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfdata_set" "', argument " "1"" of type '" "struct layerObj *""'");
26314 : }
26315 0 : arg1 = (struct layerObj *)(argp1);
26316 : {
26317 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_expressionObj, 0 );
26318 0 : if (!SWIG_IsOK(res2)) {
26319 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_utfdata_set" "', argument " "2"" of type '" "expressionObj""'");
26320 : }
26321 0 : if (!argp2) {
26322 0 : SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "layerObj_utfdata_set" "', argument " "2"" of type '" "expressionObj""'");
26323 : } else {
26324 0 : arg2 = *((expressionObj *)(argp2));
26325 : }
26326 : }
26327 0 : if (arg1) (arg1)->utfdata = arg2;
26328 0 : ST(argvi) = sv_newmortal();
26329 :
26330 0 : XSRETURN(argvi);
26331 : fail:
26332 :
26333 0 : SWIG_croak_null();
26334 : }
26335 : }
26336 :
26337 :
26338 0 : XS(_wrap_layerObj_utfdata_get) {
26339 : {
26340 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26341 0 : void *argp1 = 0 ;
26342 : int res1 = 0 ;
26343 : int argvi = 0;
26344 : expressionObj result;
26345 0 : dXSARGS;
26346 :
26347 0 : if ((items < 1) || (items > 1)) {
26348 0 : SWIG_croak("Usage: layerObj_utfdata_get(self);");
26349 : }
26350 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26351 0 : if (!SWIG_IsOK(res1)) {
26352 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfdata_get" "', argument " "1"" of type '" "struct layerObj *""'");
26353 : }
26354 0 : arg1 = (struct layerObj *)(argp1);
26355 0 : result = ((arg1)->utfdata);
26356 0 : ST(argvi) = SWIG_NewPointerObj((expressionObj *)memcpy((expressionObj *)calloc(1,sizeof(expressionObj)),&result,sizeof(expressionObj)), SWIGTYPE_p_expressionObj, SWIG_POINTER_OWN | 0); argvi++ ;
26357 :
26358 0 : XSRETURN(argvi);
26359 : fail:
26360 :
26361 0 : SWIG_croak_null();
26362 : }
26363 : }
26364 :
26365 :
26366 0 : XS(_wrap_layerObj_compositer_set) {
26367 : {
26368 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26369 : LayerCompositer *arg2 = (LayerCompositer *) 0 ;
26370 0 : void *argp1 = 0 ;
26371 : int res1 = 0 ;
26372 0 : void *argp2 = 0 ;
26373 : int res2 = 0 ;
26374 : int argvi = 0;
26375 0 : dXSARGS;
26376 :
26377 0 : if ((items < 2) || (items > 2)) {
26378 0 : SWIG_croak("Usage: layerObj_compositer_set(self,compositer);");
26379 : }
26380 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26381 0 : if (!SWIG_IsOK(res1)) {
26382 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_compositer_set" "', argument " "1"" of type '" "struct layerObj *""'");
26383 : }
26384 0 : arg1 = (struct layerObj *)(argp1);
26385 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__LayerCompositer, SWIG_POINTER_DISOWN | 0 );
26386 0 : if (!SWIG_IsOK(res2)) {
26387 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_compositer_set" "', argument " "2"" of type '" "LayerCompositer *""'");
26388 : }
26389 0 : arg2 = (LayerCompositer *)(argp2);
26390 0 : if (arg1) (arg1)->compositer = arg2;
26391 0 : ST(argvi) = sv_newmortal();
26392 :
26393 :
26394 0 : XSRETURN(argvi);
26395 : fail:
26396 :
26397 :
26398 0 : SWIG_croak_null();
26399 : }
26400 : }
26401 :
26402 :
26403 0 : XS(_wrap_layerObj_compositer_get) {
26404 : {
26405 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26406 0 : void *argp1 = 0 ;
26407 : int res1 = 0 ;
26408 : int argvi = 0;
26409 : LayerCompositer *result = 0 ;
26410 0 : dXSARGS;
26411 :
26412 0 : if ((items < 1) || (items > 1)) {
26413 0 : SWIG_croak("Usage: layerObj_compositer_get(self);");
26414 : }
26415 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26416 0 : if (!SWIG_IsOK(res1)) {
26417 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_compositer_get" "', argument " "1"" of type '" "struct layerObj *""'");
26418 : }
26419 0 : arg1 = (struct layerObj *)(argp1);
26420 0 : result = (LayerCompositer *) ((arg1)->compositer);
26421 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__LayerCompositer, 0 | SWIG_SHADOW); argvi++ ;
26422 :
26423 0 : XSRETURN(argvi);
26424 : fail:
26425 :
26426 0 : SWIG_croak_null();
26427 : }
26428 : }
26429 :
26430 :
26431 1 : XS(_wrap_new_layerObj) {
26432 : {
26433 : mapObj *arg1 = (mapObj *) NULL ;
26434 1 : void *argp1 = 0 ;
26435 : int res1 = 0 ;
26436 : int argvi = 0;
26437 : struct layerObj *result = 0 ;
26438 1 : dXSARGS;
26439 :
26440 1 : if ((items < 0) || (items > 1)) {
26441 0 : SWIG_croak("Usage: new_layerObj(map);");
26442 : }
26443 1 : if (items > 0) {
26444 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
26445 1 : if (!SWIG_IsOK(res1)) {
26446 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_layerObj" "', argument " "1"" of type '" "mapObj *""'");
26447 : }
26448 1 : arg1 = (mapObj *)(argp1);
26449 : }
26450 1 : result = (struct layerObj *)new_layerObj(arg1);
26451 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
26452 :
26453 1 : XSRETURN(argvi);
26454 : fail:
26455 :
26456 0 : SWIG_croak_null();
26457 : }
26458 : }
26459 :
26460 :
26461 0 : XS(_wrap_layerObj_setOpacity) {
26462 : {
26463 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26464 : int arg2 ;
26465 0 : void *argp1 = 0 ;
26466 : int res1 = 0 ;
26467 : int val2 ;
26468 : int ecode2 = 0 ;
26469 : int argvi = 0;
26470 0 : dXSARGS;
26471 :
26472 0 : if ((items < 2) || (items > 2)) {
26473 0 : SWIG_croak("Usage: layerObj_setOpacity(self,opacity);");
26474 : }
26475 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26476 0 : if (!SWIG_IsOK(res1)) {
26477 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setOpacity" "', argument " "1"" of type '" "struct layerObj *""'");
26478 : }
26479 0 : arg1 = (struct layerObj *)(argp1);
26480 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
26481 0 : if (!SWIG_IsOK(ecode2)) {
26482 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_setOpacity" "', argument " "2"" of type '" "int""'");
26483 : }
26484 0 : arg2 = (int)(val2);
26485 : layerObj_setOpacity(arg1,arg2);
26486 0 : ST(argvi) = sv_newmortal();
26487 :
26488 :
26489 0 : XSRETURN(argvi);
26490 : fail:
26491 :
26492 :
26493 0 : SWIG_croak_null();
26494 : }
26495 : }
26496 :
26497 :
26498 0 : XS(_wrap_layerObj_getOpacity) {
26499 : {
26500 0 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26501 0 : void *argp1 = 0 ;
26502 : int res1 = 0 ;
26503 : int argvi = 0;
26504 : int result;
26505 0 : dXSARGS;
26506 :
26507 0 : if ((items < 1) || (items > 1)) {
26508 0 : SWIG_croak("Usage: layerObj_getOpacity(self);");
26509 : }
26510 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26511 0 : if (!SWIG_IsOK(res1)) {
26512 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getOpacity" "', argument " "1"" of type '" "struct layerObj *""'");
26513 : }
26514 0 : arg1 = (struct layerObj *)(argp1);
26515 : result = (int)layerObj_getOpacity(arg1);
26516 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26517 :
26518 0 : XSRETURN(argvi);
26519 : fail:
26520 :
26521 0 : SWIG_croak_null();
26522 : }
26523 : }
26524 :
26525 :
26526 1 : XS(_wrap_delete_layerObj) {
26527 : {
26528 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26529 1 : void *argp1 = 0 ;
26530 : int res1 = 0 ;
26531 : int argvi = 0;
26532 1 : dXSARGS;
26533 :
26534 1 : if ((items < 1) || (items > 1)) {
26535 0 : SWIG_croak("Usage: delete_layerObj(self);");
26536 : }
26537 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, SWIG_POINTER_DISOWN | 0 );
26538 1 : if (!SWIG_IsOK(res1)) {
26539 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_layerObj" "', argument " "1"" of type '" "struct layerObj *""'");
26540 : }
26541 1 : arg1 = (struct layerObj *)(argp1);
26542 1 : delete_layerObj(arg1);
26543 1 : ST(argvi) = sv_newmortal();
26544 :
26545 1 : XSRETURN(argvi);
26546 : fail:
26547 :
26548 0 : SWIG_croak_null();
26549 : }
26550 : }
26551 :
26552 :
26553 0 : XS(_wrap_layerObj_clone) {
26554 : {
26555 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26556 0 : void *argp1 = 0 ;
26557 : int res1 = 0 ;
26558 : int argvi = 0;
26559 : layerObj *result = 0 ;
26560 0 : dXSARGS;
26561 :
26562 0 : if ((items < 1) || (items > 1)) {
26563 0 : SWIG_croak("Usage: layerObj_clone(self);");
26564 : }
26565 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26566 0 : if (!SWIG_IsOK(res1)) {
26567 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_clone" "', argument " "1"" of type '" "struct layerObj *""'");
26568 : }
26569 0 : arg1 = (struct layerObj *)(argp1);
26570 0 : result = (layerObj *)layerObj_clone(arg1);
26571 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
26572 :
26573 0 : XSRETURN(argvi);
26574 : fail:
26575 :
26576 0 : SWIG_croak_null();
26577 : }
26578 : }
26579 :
26580 :
26581 0 : XS(_wrap_layerObj_updateFromString) {
26582 : {
26583 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26584 : char *arg2 = (char *) 0 ;
26585 0 : void *argp1 = 0 ;
26586 : int res1 = 0 ;
26587 : int res2 ;
26588 0 : char *buf2 = 0 ;
26589 0 : int alloc2 = 0 ;
26590 : int argvi = 0;
26591 : int result;
26592 0 : dXSARGS;
26593 :
26594 0 : if ((items < 2) || (items > 2)) {
26595 0 : SWIG_croak("Usage: layerObj_updateFromString(self,snippet);");
26596 : }
26597 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26598 0 : if (!SWIG_IsOK(res1)) {
26599 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_updateFromString" "', argument " "1"" of type '" "struct layerObj *""'");
26600 : }
26601 0 : arg1 = (struct layerObj *)(argp1);
26602 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
26603 0 : if (!SWIG_IsOK(res2)) {
26604 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_updateFromString" "', argument " "2"" of type '" "char *""'");
26605 : }
26606 0 : arg2 = (char *)(buf2);
26607 : result = (int)layerObj_updateFromString(arg1,arg2);
26608 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26609 :
26610 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26611 0 : XSRETURN(argvi);
26612 : fail:
26613 :
26614 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
26615 0 : SWIG_croak_null();
26616 : }
26617 : }
26618 :
26619 :
26620 0 : XS(_wrap_layerObj_convertToString) {
26621 : {
26622 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26623 0 : void *argp1 = 0 ;
26624 : int res1 = 0 ;
26625 : int argvi = 0;
26626 : char *result = 0 ;
26627 0 : dXSARGS;
26628 :
26629 0 : if ((items < 1) || (items > 1)) {
26630 0 : SWIG_croak("Usage: layerObj_convertToString(self);");
26631 : }
26632 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26633 0 : if (!SWIG_IsOK(res1)) {
26634 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_convertToString" "', argument " "1"" of type '" "struct layerObj *""'");
26635 : }
26636 0 : arg1 = (struct layerObj *)(argp1);
26637 : result = (char *)layerObj_convertToString(arg1);
26638 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
26639 :
26640 0 : free((char*)result);
26641 0 : XSRETURN(argvi);
26642 : fail:
26643 :
26644 0 : SWIG_croak_null();
26645 : }
26646 : }
26647 :
26648 :
26649 1 : XS(_wrap_layerObj_insertClass) {
26650 : {
26651 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26652 : classObj *arg2 = (classObj *) 0 ;
26653 : int arg3 = (int) -1 ;
26654 1 : void *argp1 = 0 ;
26655 : int res1 = 0 ;
26656 1 : void *argp2 = 0 ;
26657 : int res2 = 0 ;
26658 : int val3 ;
26659 : int ecode3 = 0 ;
26660 : int argvi = 0;
26661 : int result;
26662 1 : dXSARGS;
26663 :
26664 1 : if ((items < 2) || (items > 3)) {
26665 0 : SWIG_croak("Usage: layerObj_insertClass(self,classobj,index);");
26666 : }
26667 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26668 1 : if (!SWIG_IsOK(res1)) {
26669 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_insertClass" "', argument " "1"" of type '" "struct layerObj *""'");
26670 : }
26671 1 : arg1 = (struct layerObj *)(argp1);
26672 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_classObj, 0 | 0 );
26673 1 : if (!SWIG_IsOK(res2)) {
26674 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_insertClass" "', argument " "2"" of type '" "classObj *""'");
26675 : }
26676 1 : arg2 = (classObj *)(argp2);
26677 1 : if (items > 2) {
26678 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
26679 0 : if (!SWIG_IsOK(ecode3)) {
26680 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_insertClass" "', argument " "3"" of type '" "int""'");
26681 : }
26682 0 : arg3 = (int)(val3);
26683 : }
26684 : result = (int)layerObj_insertClass(arg1,arg2,arg3);
26685 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26686 :
26687 :
26688 :
26689 1 : XSRETURN(argvi);
26690 : fail:
26691 :
26692 :
26693 :
26694 0 : SWIG_croak_null();
26695 : }
26696 : }
26697 :
26698 :
26699 0 : XS(_wrap_layerObj_removeClass) {
26700 : {
26701 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26702 : int arg2 ;
26703 0 : void *argp1 = 0 ;
26704 : int res1 = 0 ;
26705 : int val2 ;
26706 : int ecode2 = 0 ;
26707 : int argvi = 0;
26708 : classObj *result = 0 ;
26709 0 : dXSARGS;
26710 :
26711 0 : if ((items < 2) || (items > 2)) {
26712 0 : SWIG_croak("Usage: layerObj_removeClass(self,index);");
26713 : }
26714 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26715 0 : if (!SWIG_IsOK(res1)) {
26716 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_removeClass" "', argument " "1"" of type '" "struct layerObj *""'");
26717 : }
26718 0 : arg1 = (struct layerObj *)(argp1);
26719 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
26720 0 : if (!SWIG_IsOK(ecode2)) {
26721 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_removeClass" "', argument " "2"" of type '" "int""'");
26722 : }
26723 0 : arg2 = (int)(val2);
26724 0 : result = (classObj *)layerObj_removeClass(arg1,arg2);
26725 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
26726 :
26727 :
26728 0 : XSRETURN(argvi);
26729 : fail:
26730 :
26731 :
26732 0 : SWIG_croak_null();
26733 : }
26734 : }
26735 :
26736 :
26737 0 : XS(_wrap_layerObj_open) {
26738 : {
26739 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26740 0 : void *argp1 = 0 ;
26741 : int res1 = 0 ;
26742 : int argvi = 0;
26743 : int result;
26744 0 : dXSARGS;
26745 :
26746 0 : if ((items < 1) || (items > 1)) {
26747 0 : SWIG_croak("Usage: layerObj_open(self);");
26748 : }
26749 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26750 0 : if (!SWIG_IsOK(res1)) {
26751 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_open" "', argument " "1"" of type '" "struct layerObj *""'");
26752 : }
26753 0 : arg1 = (struct layerObj *)(argp1);
26754 0 : result = (int)layerObj_open(arg1);
26755 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26756 :
26757 0 : XSRETURN(argvi);
26758 : fail:
26759 :
26760 0 : SWIG_croak_null();
26761 : }
26762 : }
26763 :
26764 :
26765 0 : XS(_wrap_layerObj_whichShapes) {
26766 : {
26767 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26768 : rectObj arg2 ;
26769 0 : void *argp1 = 0 ;
26770 : int res1 = 0 ;
26771 : void *argp2 ;
26772 : int res2 = 0 ;
26773 : int argvi = 0;
26774 : int result;
26775 0 : dXSARGS;
26776 :
26777 0 : if ((items < 2) || (items > 2)) {
26778 0 : SWIG_croak("Usage: layerObj_whichShapes(self,rect);");
26779 : }
26780 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26781 0 : if (!SWIG_IsOK(res1)) {
26782 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_whichShapes" "', argument " "1"" of type '" "struct layerObj *""'");
26783 : }
26784 0 : arg1 = (struct layerObj *)(argp1);
26785 : {
26786 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_rectObj, 0 );
26787 0 : if (!SWIG_IsOK(res2)) {
26788 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_whichShapes" "', argument " "2"" of type '" "rectObj""'");
26789 : }
26790 0 : if (!argp2) {
26791 0 : SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "layerObj_whichShapes" "', argument " "2"" of type '" "rectObj""'");
26792 : } else {
26793 0 : arg2 = *((rectObj *)(argp2));
26794 : }
26795 : }
26796 0 : result = (int)layerObj_whichShapes(arg1,arg2);
26797 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26798 :
26799 0 : XSRETURN(argvi);
26800 : fail:
26801 :
26802 0 : SWIG_croak_null();
26803 : }
26804 : }
26805 :
26806 :
26807 0 : XS(_wrap_layerObj_nextShape) {
26808 : {
26809 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26810 0 : void *argp1 = 0 ;
26811 : int res1 = 0 ;
26812 : int argvi = 0;
26813 : shapeObj *result = 0 ;
26814 0 : dXSARGS;
26815 :
26816 0 : if ((items < 1) || (items > 1)) {
26817 0 : SWIG_croak("Usage: layerObj_nextShape(self);");
26818 : }
26819 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26820 0 : if (!SWIG_IsOK(res1)) {
26821 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_nextShape" "', argument " "1"" of type '" "struct layerObj *""'");
26822 : }
26823 0 : arg1 = (struct layerObj *)(argp1);
26824 0 : result = (shapeObj *)layerObj_nextShape(arg1);
26825 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
26826 :
26827 0 : XSRETURN(argvi);
26828 : fail:
26829 :
26830 0 : SWIG_croak_null();
26831 : }
26832 : }
26833 :
26834 :
26835 0 : XS(_wrap_layerObj_close) {
26836 : {
26837 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26838 0 : void *argp1 = 0 ;
26839 : int res1 = 0 ;
26840 : int argvi = 0;
26841 0 : dXSARGS;
26842 :
26843 0 : if ((items < 1) || (items > 1)) {
26844 0 : SWIG_croak("Usage: layerObj_close(self);");
26845 : }
26846 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26847 0 : if (!SWIG_IsOK(res1)) {
26848 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_close" "', argument " "1"" of type '" "struct layerObj *""'");
26849 : }
26850 0 : arg1 = (struct layerObj *)(argp1);
26851 : layerObj_close(arg1);
26852 0 : ST(argvi) = sv_newmortal();
26853 :
26854 0 : XSRETURN(argvi);
26855 : fail:
26856 :
26857 0 : SWIG_croak_null();
26858 : }
26859 : }
26860 :
26861 :
26862 0 : XS(_wrap_layerObj_getShape) {
26863 : {
26864 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26865 : resultObj *arg2 = (resultObj *) 0 ;
26866 0 : void *argp1 = 0 ;
26867 : int res1 = 0 ;
26868 0 : void *argp2 = 0 ;
26869 : int res2 = 0 ;
26870 : int argvi = 0;
26871 : shapeObj *result = 0 ;
26872 0 : dXSARGS;
26873 :
26874 0 : if ((items < 2) || (items > 2)) {
26875 0 : SWIG_croak("Usage: layerObj_getShape(self,record);");
26876 : }
26877 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26878 0 : if (!SWIG_IsOK(res1)) {
26879 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getShape" "', argument " "1"" of type '" "struct layerObj *""'");
26880 : }
26881 0 : arg1 = (struct layerObj *)(argp1);
26882 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_resultObj, 0 | 0 );
26883 0 : if (!SWIG_IsOK(res2)) {
26884 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getShape" "', argument " "2"" of type '" "resultObj *""'");
26885 : }
26886 0 : arg2 = (resultObj *)(argp2);
26887 0 : result = (shapeObj *)layerObj_getShape(arg1,arg2);
26888 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
26889 :
26890 :
26891 0 : XSRETURN(argvi);
26892 : fail:
26893 :
26894 :
26895 0 : SWIG_croak_null();
26896 : }
26897 : }
26898 :
26899 :
26900 0 : XS(_wrap_layerObj_getNumResults) {
26901 : {
26902 0 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26903 0 : void *argp1 = 0 ;
26904 : int res1 = 0 ;
26905 : int argvi = 0;
26906 : int result;
26907 0 : dXSARGS;
26908 :
26909 0 : if ((items < 1) || (items > 1)) {
26910 0 : SWIG_croak("Usage: layerObj_getNumResults(self);");
26911 : }
26912 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26913 0 : if (!SWIG_IsOK(res1)) {
26914 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getNumResults" "', argument " "1"" of type '" "struct layerObj *""'");
26915 : }
26916 0 : arg1 = (struct layerObj *)(argp1);
26917 : result = (int)layerObj_getNumResults(arg1);
26918 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
26919 :
26920 0 : XSRETURN(argvi);
26921 : fail:
26922 :
26923 0 : SWIG_croak_null();
26924 : }
26925 : }
26926 :
26927 :
26928 0 : XS(_wrap_layerObj_getResultsBounds) {
26929 : {
26930 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26931 0 : void *argp1 = 0 ;
26932 : int res1 = 0 ;
26933 : int argvi = 0;
26934 : rectObj *result = 0 ;
26935 0 : dXSARGS;
26936 :
26937 0 : if ((items < 1) || (items > 1)) {
26938 0 : SWIG_croak("Usage: layerObj_getResultsBounds(self);");
26939 : }
26940 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26941 0 : if (!SWIG_IsOK(res1)) {
26942 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getResultsBounds" "', argument " "1"" of type '" "struct layerObj *""'");
26943 : }
26944 0 : arg1 = (struct layerObj *)(argp1);
26945 0 : result = (rectObj *)layerObj_getResultsBounds(arg1);
26946 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
26947 :
26948 0 : XSRETURN(argvi);
26949 : fail:
26950 :
26951 0 : SWIG_croak_null();
26952 : }
26953 : }
26954 :
26955 :
26956 0 : XS(_wrap_layerObj_getResult) {
26957 : {
26958 0 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26959 : int arg2 ;
26960 0 : void *argp1 = 0 ;
26961 : int res1 = 0 ;
26962 : int val2 ;
26963 : int ecode2 = 0 ;
26964 : int argvi = 0;
26965 : resultObj *result = 0 ;
26966 0 : dXSARGS;
26967 :
26968 0 : if ((items < 2) || (items > 2)) {
26969 0 : SWIG_croak("Usage: layerObj_getResult(self,i);");
26970 : }
26971 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
26972 0 : if (!SWIG_IsOK(res1)) {
26973 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getResult" "', argument " "1"" of type '" "struct layerObj *""'");
26974 : }
26975 0 : arg1 = (struct layerObj *)(argp1);
26976 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
26977 0 : if (!SWIG_IsOK(ecode2)) {
26978 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getResult" "', argument " "2"" of type '" "int""'");
26979 : }
26980 0 : arg2 = (int)(val2);
26981 : result = (resultObj *)layerObj_getResult(arg1,arg2);
26982 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultObj, 0 | SWIG_SHADOW); argvi++ ;
26983 :
26984 :
26985 0 : XSRETURN(argvi);
26986 : fail:
26987 :
26988 :
26989 0 : SWIG_croak_null();
26990 : }
26991 : }
26992 :
26993 :
26994 1 : XS(_wrap_layerObj_getClass) {
26995 : {
26996 : struct layerObj *arg1 = (struct layerObj *) 0 ;
26997 : int arg2 ;
26998 1 : void *argp1 = 0 ;
26999 : int res1 = 0 ;
27000 : int val2 ;
27001 : int ecode2 = 0 ;
27002 : int argvi = 0;
27003 : classObj *result = 0 ;
27004 1 : dXSARGS;
27005 :
27006 1 : if ((items < 2) || (items > 2)) {
27007 0 : SWIG_croak("Usage: layerObj_getClass(self,i);");
27008 : }
27009 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27010 1 : if (!SWIG_IsOK(res1)) {
27011 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getClass" "', argument " "1"" of type '" "struct layerObj *""'");
27012 : }
27013 1 : arg1 = (struct layerObj *)(argp1);
27014 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
27015 1 : if (!SWIG_IsOK(ecode2)) {
27016 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getClass" "', argument " "2"" of type '" "int""'");
27017 : }
27018 1 : arg2 = (int)(val2);
27019 1 : result = (classObj *)layerObj_getClass(arg1,arg2);
27020 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
27021 :
27022 :
27023 1 : XSRETURN(argvi);
27024 : fail:
27025 :
27026 :
27027 0 : SWIG_croak_null();
27028 : }
27029 : }
27030 :
27031 :
27032 0 : XS(_wrap_layerObj_getItem) {
27033 : {
27034 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27035 : int arg2 ;
27036 0 : void *argp1 = 0 ;
27037 : int res1 = 0 ;
27038 : int val2 ;
27039 : int ecode2 = 0 ;
27040 : int argvi = 0;
27041 : char *result = 0 ;
27042 0 : dXSARGS;
27043 :
27044 0 : if ((items < 2) || (items > 2)) {
27045 0 : SWIG_croak("Usage: layerObj_getItem(self,i);");
27046 : }
27047 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27048 0 : if (!SWIG_IsOK(res1)) {
27049 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getItem" "', argument " "1"" of type '" "struct layerObj *""'");
27050 : }
27051 0 : arg1 = (struct layerObj *)(argp1);
27052 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
27053 0 : if (!SWIG_IsOK(ecode2)) {
27054 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getItem" "', argument " "2"" of type '" "int""'");
27055 : }
27056 0 : arg2 = (int)(val2);
27057 : result = (char *)layerObj_getItem(arg1,arg2);
27058 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
27059 :
27060 :
27061 0 : XSRETURN(argvi);
27062 : fail:
27063 :
27064 :
27065 0 : SWIG_croak_null();
27066 : }
27067 : }
27068 :
27069 :
27070 0 : XS(_wrap_layerObj_setItems) {
27071 : {
27072 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27073 : char **arg2 = (char **) 0 ;
27074 : int arg3 ;
27075 0 : void *argp1 = 0 ;
27076 : int res1 = 0 ;
27077 0 : void *argp2 = 0 ;
27078 : int res2 = 0 ;
27079 : int val3 ;
27080 : int ecode3 = 0 ;
27081 : int argvi = 0;
27082 : int result;
27083 0 : dXSARGS;
27084 :
27085 0 : if ((items < 3) || (items > 3)) {
27086 0 : SWIG_croak("Usage: layerObj_setItems(self,items,numitems);");
27087 : }
27088 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27089 0 : if (!SWIG_IsOK(res1)) {
27090 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setItems" "', argument " "1"" of type '" "struct layerObj *""'");
27091 : }
27092 0 : arg1 = (struct layerObj *)(argp1);
27093 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 | 0 );
27094 0 : if (!SWIG_IsOK(res2)) {
27095 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setItems" "', argument " "2"" of type '" "char **""'");
27096 : }
27097 0 : arg2 = (char **)(argp2);
27098 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
27099 0 : if (!SWIG_IsOK(ecode3)) {
27100 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_setItems" "', argument " "3"" of type '" "int""'");
27101 : }
27102 0 : arg3 = (int)(val3);
27103 : result = (int)layerObj_setItems(arg1,arg2,arg3);
27104 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27105 :
27106 :
27107 :
27108 0 : XSRETURN(argvi);
27109 : fail:
27110 :
27111 :
27112 :
27113 0 : SWIG_croak_null();
27114 : }
27115 : }
27116 :
27117 :
27118 0 : XS(_wrap_layerObj_draw) {
27119 : {
27120 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27121 : mapObj *arg2 = (mapObj *) 0 ;
27122 : imageObj *arg3 = (imageObj *) 0 ;
27123 0 : void *argp1 = 0 ;
27124 : int res1 = 0 ;
27125 0 : void *argp2 = 0 ;
27126 : int res2 = 0 ;
27127 0 : void *argp3 = 0 ;
27128 : int res3 = 0 ;
27129 : int argvi = 0;
27130 : int result;
27131 0 : dXSARGS;
27132 :
27133 0 : if ((items < 3) || (items > 3)) {
27134 0 : SWIG_croak("Usage: layerObj_draw(self,map,image);");
27135 : }
27136 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27137 0 : if (!SWIG_IsOK(res1)) {
27138 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_draw" "', argument " "1"" of type '" "struct layerObj *""'");
27139 : }
27140 0 : arg1 = (struct layerObj *)(argp1);
27141 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27142 0 : if (!SWIG_IsOK(res2)) {
27143 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_draw" "', argument " "2"" of type '" "mapObj *""'");
27144 : }
27145 0 : arg2 = (mapObj *)(argp2);
27146 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_imageObj, 0 | 0 );
27147 0 : if (!SWIG_IsOK(res3)) {
27148 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_draw" "', argument " "3"" of type '" "imageObj *""'");
27149 : }
27150 0 : arg3 = (imageObj *)(argp3);
27151 : result = (int)layerObj_draw(arg1,arg2,arg3);
27152 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27153 :
27154 :
27155 :
27156 0 : XSRETURN(argvi);
27157 : fail:
27158 :
27159 :
27160 :
27161 0 : SWIG_croak_null();
27162 : }
27163 : }
27164 :
27165 :
27166 0 : XS(_wrap_layerObj_drawQuery) {
27167 : {
27168 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27169 : mapObj *arg2 = (mapObj *) 0 ;
27170 : imageObj *arg3 = (imageObj *) 0 ;
27171 0 : void *argp1 = 0 ;
27172 : int res1 = 0 ;
27173 0 : void *argp2 = 0 ;
27174 : int res2 = 0 ;
27175 0 : void *argp3 = 0 ;
27176 : int res3 = 0 ;
27177 : int argvi = 0;
27178 : int result;
27179 0 : dXSARGS;
27180 :
27181 0 : if ((items < 3) || (items > 3)) {
27182 0 : SWIG_croak("Usage: layerObj_drawQuery(self,map,image);");
27183 : }
27184 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27185 0 : if (!SWIG_IsOK(res1)) {
27186 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_drawQuery" "', argument " "1"" of type '" "struct layerObj *""'");
27187 : }
27188 0 : arg1 = (struct layerObj *)(argp1);
27189 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27190 0 : if (!SWIG_IsOK(res2)) {
27191 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_drawQuery" "', argument " "2"" of type '" "mapObj *""'");
27192 : }
27193 0 : arg2 = (mapObj *)(argp2);
27194 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_imageObj, 0 | 0 );
27195 0 : if (!SWIG_IsOK(res3)) {
27196 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_drawQuery" "', argument " "3"" of type '" "imageObj *""'");
27197 : }
27198 0 : arg3 = (imageObj *)(argp3);
27199 : result = (int)layerObj_drawQuery(arg1,arg2,arg3);
27200 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27201 :
27202 :
27203 :
27204 0 : XSRETURN(argvi);
27205 : fail:
27206 :
27207 :
27208 :
27209 0 : SWIG_croak_null();
27210 : }
27211 : }
27212 :
27213 :
27214 0 : XS(_wrap_layerObj_queryByFilter) {
27215 : {
27216 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27217 : mapObj *arg2 = (mapObj *) 0 ;
27218 : char *arg3 = (char *) 0 ;
27219 0 : void *argp1 = 0 ;
27220 : int res1 = 0 ;
27221 0 : void *argp2 = 0 ;
27222 : int res2 = 0 ;
27223 : int res3 ;
27224 0 : char *buf3 = 0 ;
27225 0 : int alloc3 = 0 ;
27226 : int argvi = 0;
27227 : int result;
27228 0 : dXSARGS;
27229 :
27230 0 : if ((items < 3) || (items > 3)) {
27231 0 : SWIG_croak("Usage: layerObj_queryByFilter(self,map,string);");
27232 : }
27233 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27234 0 : if (!SWIG_IsOK(res1)) {
27235 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByFilter" "', argument " "1"" of type '" "struct layerObj *""'");
27236 : }
27237 0 : arg1 = (struct layerObj *)(argp1);
27238 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27239 0 : if (!SWIG_IsOK(res2)) {
27240 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByFilter" "', argument " "2"" of type '" "mapObj *""'");
27241 : }
27242 0 : arg2 = (mapObj *)(argp2);
27243 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
27244 0 : if (!SWIG_IsOK(res3)) {
27245 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByFilter" "', argument " "3"" of type '" "char *""'");
27246 : }
27247 0 : arg3 = (char *)(buf3);
27248 0 : result = (int)layerObj_queryByFilter(arg1,arg2,arg3);
27249 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27250 :
27251 :
27252 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
27253 0 : XSRETURN(argvi);
27254 : fail:
27255 :
27256 :
27257 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
27258 0 : SWIG_croak_null();
27259 : }
27260 : }
27261 :
27262 :
27263 0 : XS(_wrap_layerObj_queryByAttributes) {
27264 : {
27265 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27266 : mapObj *arg2 = (mapObj *) 0 ;
27267 : char *arg3 = (char *) 0 ;
27268 : char *arg4 = (char *) 0 ;
27269 : int arg5 ;
27270 0 : void *argp1 = 0 ;
27271 : int res1 = 0 ;
27272 0 : void *argp2 = 0 ;
27273 : int res2 = 0 ;
27274 : int res3 ;
27275 0 : char *buf3 = 0 ;
27276 0 : int alloc3 = 0 ;
27277 : int res4 ;
27278 0 : char *buf4 = 0 ;
27279 0 : int alloc4 = 0 ;
27280 : int val5 ;
27281 : int ecode5 = 0 ;
27282 : int argvi = 0;
27283 : int result;
27284 0 : dXSARGS;
27285 :
27286 0 : if ((items < 5) || (items > 5)) {
27287 0 : SWIG_croak("Usage: layerObj_queryByAttributes(self,map,qitem,qstring,mode);");
27288 : }
27289 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27290 0 : if (!SWIG_IsOK(res1)) {
27291 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByAttributes" "', argument " "1"" of type '" "struct layerObj *""'");
27292 : }
27293 0 : arg1 = (struct layerObj *)(argp1);
27294 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27295 0 : if (!SWIG_IsOK(res2)) {
27296 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByAttributes" "', argument " "2"" of type '" "mapObj *""'");
27297 : }
27298 0 : arg2 = (mapObj *)(argp2);
27299 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
27300 0 : if (!SWIG_IsOK(res3)) {
27301 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByAttributes" "', argument " "3"" of type '" "char *""'");
27302 : }
27303 0 : arg3 = (char *)(buf3);
27304 0 : res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
27305 0 : if (!SWIG_IsOK(res4)) {
27306 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "layerObj_queryByAttributes" "', argument " "4"" of type '" "char *""'");
27307 : }
27308 0 : arg4 = (char *)(buf4);
27309 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
27310 0 : if (!SWIG_IsOK(ecode5)) {
27311 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_queryByAttributes" "', argument " "5"" of type '" "int""'");
27312 : }
27313 0 : arg5 = (int)(val5);
27314 0 : result = (int)layerObj_queryByAttributes(arg1,arg2,arg3,arg4,arg5);
27315 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27316 :
27317 :
27318 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
27319 0 : if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
27320 :
27321 0 : XSRETURN(argvi);
27322 : fail:
27323 :
27324 :
27325 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
27326 0 : if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
27327 :
27328 0 : SWIG_croak_null();
27329 : }
27330 : }
27331 :
27332 :
27333 0 : XS(_wrap_layerObj_queryByPoint) {
27334 : {
27335 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27336 : mapObj *arg2 = (mapObj *) 0 ;
27337 : pointObj *arg3 = (pointObj *) 0 ;
27338 : int arg4 ;
27339 : double arg5 ;
27340 0 : void *argp1 = 0 ;
27341 : int res1 = 0 ;
27342 0 : void *argp2 = 0 ;
27343 : int res2 = 0 ;
27344 0 : void *argp3 = 0 ;
27345 : int res3 = 0 ;
27346 : int val4 ;
27347 : int ecode4 = 0 ;
27348 : double val5 ;
27349 : int ecode5 = 0 ;
27350 : int argvi = 0;
27351 : int result;
27352 0 : dXSARGS;
27353 :
27354 0 : if ((items < 5) || (items > 5)) {
27355 0 : SWIG_croak("Usage: layerObj_queryByPoint(self,map,point,mode,buffer);");
27356 : }
27357 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27358 0 : if (!SWIG_IsOK(res1)) {
27359 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByPoint" "', argument " "1"" of type '" "struct layerObj *""'");
27360 : }
27361 0 : arg1 = (struct layerObj *)(argp1);
27362 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27363 0 : if (!SWIG_IsOK(res2)) {
27364 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByPoint" "', argument " "2"" of type '" "mapObj *""'");
27365 : }
27366 0 : arg2 = (mapObj *)(argp2);
27367 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 | 0 );
27368 0 : if (!SWIG_IsOK(res3)) {
27369 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByPoint" "', argument " "3"" of type '" "pointObj *""'");
27370 : }
27371 0 : arg3 = (pointObj *)(argp3);
27372 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
27373 0 : if (!SWIG_IsOK(ecode4)) {
27374 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_queryByPoint" "', argument " "4"" of type '" "int""'");
27375 : }
27376 0 : arg4 = (int)(val4);
27377 0 : ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
27378 0 : if (!SWIG_IsOK(ecode5)) {
27379 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_queryByPoint" "', argument " "5"" of type '" "double""'");
27380 : }
27381 0 : arg5 = (double)(val5);
27382 0 : result = (int)layerObj_queryByPoint(arg1,arg2,arg3,arg4,arg5);
27383 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27384 :
27385 :
27386 :
27387 :
27388 :
27389 0 : XSRETURN(argvi);
27390 : fail:
27391 :
27392 :
27393 :
27394 :
27395 :
27396 0 : SWIG_croak_null();
27397 : }
27398 : }
27399 :
27400 :
27401 0 : XS(_wrap_layerObj_queryByRect) {
27402 : {
27403 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27404 : mapObj *arg2 = (mapObj *) 0 ;
27405 : rectObj arg3 ;
27406 0 : void *argp1 = 0 ;
27407 : int res1 = 0 ;
27408 0 : void *argp2 = 0 ;
27409 : int res2 = 0 ;
27410 : void *argp3 ;
27411 : int res3 = 0 ;
27412 : int argvi = 0;
27413 : int result;
27414 0 : dXSARGS;
27415 :
27416 0 : if ((items < 3) || (items > 3)) {
27417 0 : SWIG_croak("Usage: layerObj_queryByRect(self,map,rect);");
27418 : }
27419 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27420 0 : if (!SWIG_IsOK(res1)) {
27421 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByRect" "', argument " "1"" of type '" "struct layerObj *""'");
27422 : }
27423 0 : arg1 = (struct layerObj *)(argp1);
27424 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27425 0 : if (!SWIG_IsOK(res2)) {
27426 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByRect" "', argument " "2"" of type '" "mapObj *""'");
27427 : }
27428 0 : arg2 = (mapObj *)(argp2);
27429 : {
27430 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_rectObj, 0 );
27431 0 : if (!SWIG_IsOK(res3)) {
27432 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByRect" "', argument " "3"" of type '" "rectObj""'");
27433 : }
27434 0 : if (!argp3) {
27435 0 : SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "layerObj_queryByRect" "', argument " "3"" of type '" "rectObj""'");
27436 : } else {
27437 0 : arg3 = *((rectObj *)(argp3));
27438 : }
27439 : }
27440 0 : result = (int)layerObj_queryByRect(arg1,arg2,arg3);
27441 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27442 :
27443 :
27444 0 : XSRETURN(argvi);
27445 : fail:
27446 :
27447 :
27448 0 : SWIG_croak_null();
27449 : }
27450 : }
27451 :
27452 :
27453 0 : XS(_wrap_layerObj_queryByFeatures) {
27454 : {
27455 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27456 : mapObj *arg2 = (mapObj *) 0 ;
27457 : int arg3 ;
27458 0 : void *argp1 = 0 ;
27459 : int res1 = 0 ;
27460 0 : void *argp2 = 0 ;
27461 : int res2 = 0 ;
27462 : int val3 ;
27463 : int ecode3 = 0 ;
27464 : int argvi = 0;
27465 : int result;
27466 0 : dXSARGS;
27467 :
27468 0 : if ((items < 3) || (items > 3)) {
27469 0 : SWIG_croak("Usage: layerObj_queryByFeatures(self,map,slayer);");
27470 : }
27471 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27472 0 : if (!SWIG_IsOK(res1)) {
27473 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByFeatures" "', argument " "1"" of type '" "struct layerObj *""'");
27474 : }
27475 0 : arg1 = (struct layerObj *)(argp1);
27476 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27477 0 : if (!SWIG_IsOK(res2)) {
27478 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByFeatures" "', argument " "2"" of type '" "mapObj *""'");
27479 : }
27480 0 : arg2 = (mapObj *)(argp2);
27481 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
27482 0 : if (!SWIG_IsOK(ecode3)) {
27483 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_queryByFeatures" "', argument " "3"" of type '" "int""'");
27484 : }
27485 0 : arg3 = (int)(val3);
27486 : result = (int)layerObj_queryByFeatures(arg1,arg2,arg3);
27487 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27488 :
27489 :
27490 :
27491 0 : XSRETURN(argvi);
27492 : fail:
27493 :
27494 :
27495 :
27496 0 : SWIG_croak_null();
27497 : }
27498 : }
27499 :
27500 :
27501 0 : XS(_wrap_layerObj_queryByShape) {
27502 : {
27503 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27504 : mapObj *arg2 = (mapObj *) 0 ;
27505 : shapeObj *arg3 = (shapeObj *) 0 ;
27506 0 : void *argp1 = 0 ;
27507 : int res1 = 0 ;
27508 0 : void *argp2 = 0 ;
27509 : int res2 = 0 ;
27510 0 : void *argp3 = 0 ;
27511 : int res3 = 0 ;
27512 : int argvi = 0;
27513 : int result;
27514 0 : dXSARGS;
27515 :
27516 0 : if ((items < 3) || (items > 3)) {
27517 0 : SWIG_croak("Usage: layerObj_queryByShape(self,map,shape);");
27518 : }
27519 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27520 0 : if (!SWIG_IsOK(res1)) {
27521 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByShape" "', argument " "1"" of type '" "struct layerObj *""'");
27522 : }
27523 0 : arg1 = (struct layerObj *)(argp1);
27524 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27525 0 : if (!SWIG_IsOK(res2)) {
27526 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByShape" "', argument " "2"" of type '" "mapObj *""'");
27527 : }
27528 0 : arg2 = (mapObj *)(argp2);
27529 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_shapeObj, 0 | 0 );
27530 0 : if (!SWIG_IsOK(res3)) {
27531 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByShape" "', argument " "3"" of type '" "shapeObj *""'");
27532 : }
27533 0 : arg3 = (shapeObj *)(argp3);
27534 0 : result = (int)layerObj_queryByShape(arg1,arg2,arg3);
27535 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27536 :
27537 :
27538 :
27539 0 : XSRETURN(argvi);
27540 : fail:
27541 :
27542 :
27543 :
27544 0 : SWIG_croak_null();
27545 : }
27546 : }
27547 :
27548 :
27549 0 : XS(_wrap_layerObj_queryByIndex) {
27550 : {
27551 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27552 : mapObj *arg2 = (mapObj *) 0 ;
27553 : int arg3 ;
27554 : int arg4 ;
27555 : int arg5 = (int) 0 ;
27556 0 : void *argp1 = 0 ;
27557 : int res1 = 0 ;
27558 0 : void *argp2 = 0 ;
27559 : int res2 = 0 ;
27560 : int val3 ;
27561 : int ecode3 = 0 ;
27562 : int val4 ;
27563 : int ecode4 = 0 ;
27564 : int val5 ;
27565 : int ecode5 = 0 ;
27566 : int argvi = 0;
27567 : int result;
27568 0 : dXSARGS;
27569 :
27570 0 : if ((items < 4) || (items > 5)) {
27571 0 : SWIG_croak("Usage: layerObj_queryByIndex(self,map,tileindex,shapeindex,bAddToQuery);");
27572 : }
27573 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27574 0 : if (!SWIG_IsOK(res1)) {
27575 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByIndex" "', argument " "1"" of type '" "struct layerObj *""'");
27576 : }
27577 0 : arg1 = (struct layerObj *)(argp1);
27578 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
27579 0 : if (!SWIG_IsOK(res2)) {
27580 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByIndex" "', argument " "2"" of type '" "mapObj *""'");
27581 : }
27582 0 : arg2 = (mapObj *)(argp2);
27583 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
27584 0 : if (!SWIG_IsOK(ecode3)) {
27585 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_queryByIndex" "', argument " "3"" of type '" "int""'");
27586 : }
27587 0 : arg3 = (int)(val3);
27588 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
27589 0 : if (!SWIG_IsOK(ecode4)) {
27590 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_queryByIndex" "', argument " "4"" of type '" "int""'");
27591 : }
27592 0 : arg4 = (int)(val4);
27593 0 : if (items > 4) {
27594 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
27595 0 : if (!SWIG_IsOK(ecode5)) {
27596 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_queryByIndex" "', argument " "5"" of type '" "int""'");
27597 : }
27598 0 : arg5 = (int)(val5);
27599 : }
27600 : result = (int)layerObj_queryByIndex(arg1,arg2,arg3,arg4,arg5);
27601 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27602 :
27603 :
27604 :
27605 :
27606 :
27607 0 : XSRETURN(argvi);
27608 : fail:
27609 :
27610 :
27611 :
27612 :
27613 :
27614 0 : SWIG_croak_null();
27615 : }
27616 : }
27617 :
27618 :
27619 0 : XS(_wrap_layerObj_getResults) {
27620 : {
27621 0 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27622 0 : void *argp1 = 0 ;
27623 : int res1 = 0 ;
27624 : int argvi = 0;
27625 : resultCacheObj *result = 0 ;
27626 0 : dXSARGS;
27627 :
27628 0 : if ((items < 1) || (items > 1)) {
27629 0 : SWIG_croak("Usage: layerObj_getResults(self);");
27630 : }
27631 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27632 0 : if (!SWIG_IsOK(res1)) {
27633 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getResults" "', argument " "1"" of type '" "struct layerObj *""'");
27634 : }
27635 0 : arg1 = (struct layerObj *)(argp1);
27636 : result = (resultCacheObj *)layerObj_getResults(arg1);
27637 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultCacheObj, 0 | SWIG_SHADOW); argvi++ ;
27638 :
27639 0 : XSRETURN(argvi);
27640 : fail:
27641 :
27642 0 : SWIG_croak_null();
27643 : }
27644 : }
27645 :
27646 :
27647 0 : XS(_wrap_layerObj_setFilter) {
27648 : {
27649 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27650 : char *arg2 = (char *) 0 ;
27651 0 : void *argp1 = 0 ;
27652 : int res1 = 0 ;
27653 : int res2 ;
27654 0 : char *buf2 = 0 ;
27655 0 : int alloc2 = 0 ;
27656 : int argvi = 0;
27657 : int result;
27658 0 : dXSARGS;
27659 :
27660 0 : if ((items < 2) || (items > 2)) {
27661 0 : SWIG_croak("Usage: layerObj_setFilter(self,filter);");
27662 : }
27663 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27664 0 : if (!SWIG_IsOK(res1)) {
27665 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setFilter" "', argument " "1"" of type '" "struct layerObj *""'");
27666 : }
27667 0 : arg1 = (struct layerObj *)(argp1);
27668 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
27669 0 : if (!SWIG_IsOK(res2)) {
27670 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setFilter" "', argument " "2"" of type '" "char *""'");
27671 : }
27672 0 : arg2 = (char *)(buf2);
27673 0 : result = (int)layerObj_setFilter(arg1,arg2);
27674 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27675 :
27676 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27677 0 : XSRETURN(argvi);
27678 : fail:
27679 :
27680 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27681 0 : SWIG_croak_null();
27682 : }
27683 : }
27684 :
27685 :
27686 0 : XS(_wrap_layerObj_getFilterString) {
27687 : {
27688 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27689 0 : void *argp1 = 0 ;
27690 : int res1 = 0 ;
27691 : int argvi = 0;
27692 : char *result = 0 ;
27693 0 : dXSARGS;
27694 :
27695 0 : if ((items < 1) || (items > 1)) {
27696 0 : SWIG_croak("Usage: layerObj_getFilterString(self);");
27697 : }
27698 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27699 0 : if (!SWIG_IsOK(res1)) {
27700 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getFilterString" "', argument " "1"" of type '" "struct layerObj *""'");
27701 : }
27702 0 : arg1 = (struct layerObj *)(argp1);
27703 : result = (char *)layerObj_getFilterString(arg1);
27704 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
27705 :
27706 0 : free((char*)result);
27707 0 : XSRETURN(argvi);
27708 : fail:
27709 :
27710 0 : SWIG_croak_null();
27711 : }
27712 : }
27713 :
27714 :
27715 0 : XS(_wrap_layerObj_setWKTProjection) {
27716 : {
27717 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27718 : char *arg2 = (char *) 0 ;
27719 0 : void *argp1 = 0 ;
27720 : int res1 = 0 ;
27721 : int res2 ;
27722 0 : char *buf2 = 0 ;
27723 0 : int alloc2 = 0 ;
27724 : int argvi = 0;
27725 : int result;
27726 0 : dXSARGS;
27727 :
27728 0 : if ((items < 2) || (items > 2)) {
27729 0 : SWIG_croak("Usage: layerObj_setWKTProjection(self,wkt);");
27730 : }
27731 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27732 0 : if (!SWIG_IsOK(res1)) {
27733 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setWKTProjection" "', argument " "1"" of type '" "struct layerObj *""'");
27734 : }
27735 0 : arg1 = (struct layerObj *)(argp1);
27736 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
27737 0 : if (!SWIG_IsOK(res2)) {
27738 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setWKTProjection" "', argument " "2"" of type '" "char *""'");
27739 : }
27740 0 : arg2 = (char *)(buf2);
27741 : result = (int)layerObj_setWKTProjection(arg1,arg2);
27742 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27743 :
27744 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27745 0 : XSRETURN(argvi);
27746 : fail:
27747 :
27748 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27749 0 : SWIG_croak_null();
27750 : }
27751 : }
27752 :
27753 :
27754 0 : XS(_wrap_layerObj_getProjection) {
27755 : {
27756 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27757 0 : void *argp1 = 0 ;
27758 : int res1 = 0 ;
27759 : int argvi = 0;
27760 : char *result = 0 ;
27761 0 : dXSARGS;
27762 :
27763 0 : if ((items < 1) || (items > 1)) {
27764 0 : SWIG_croak("Usage: layerObj_getProjection(self);");
27765 : }
27766 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27767 0 : if (!SWIG_IsOK(res1)) {
27768 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getProjection" "', argument " "1"" of type '" "struct layerObj *""'");
27769 : }
27770 0 : arg1 = (struct layerObj *)(argp1);
27771 : result = (char *)layerObj_getProjection(arg1);
27772 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
27773 :
27774 0 : free((char*)result);
27775 0 : XSRETURN(argvi);
27776 : fail:
27777 :
27778 0 : SWIG_croak_null();
27779 : }
27780 : }
27781 :
27782 :
27783 0 : XS(_wrap_layerObj_setProjection) {
27784 : {
27785 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27786 : char *arg2 = (char *) 0 ;
27787 0 : void *argp1 = 0 ;
27788 : int res1 = 0 ;
27789 : int res2 ;
27790 0 : char *buf2 = 0 ;
27791 0 : int alloc2 = 0 ;
27792 : int argvi = 0;
27793 : int result;
27794 0 : dXSARGS;
27795 :
27796 0 : if ((items < 2) || (items > 2)) {
27797 0 : SWIG_croak("Usage: layerObj_setProjection(self,proj4);");
27798 : }
27799 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27800 0 : if (!SWIG_IsOK(res1)) {
27801 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setProjection" "', argument " "1"" of type '" "struct layerObj *""'");
27802 : }
27803 0 : arg1 = (struct layerObj *)(argp1);
27804 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
27805 0 : if (!SWIG_IsOK(res2)) {
27806 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setProjection" "', argument " "2"" of type '" "char *""'");
27807 : }
27808 0 : arg2 = (char *)(buf2);
27809 : result = (int)layerObj_setProjection(arg1,arg2);
27810 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27811 :
27812 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27813 0 : XSRETURN(argvi);
27814 : fail:
27815 :
27816 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
27817 0 : SWIG_croak_null();
27818 : }
27819 : }
27820 :
27821 :
27822 0 : XS(_wrap_layerObj_addFeature) {
27823 : {
27824 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27825 : shapeObj *arg2 = (shapeObj *) 0 ;
27826 0 : void *argp1 = 0 ;
27827 : int res1 = 0 ;
27828 0 : void *argp2 = 0 ;
27829 : int res2 = 0 ;
27830 : int argvi = 0;
27831 : int result;
27832 0 : dXSARGS;
27833 :
27834 0 : if ((items < 2) || (items > 2)) {
27835 0 : SWIG_croak("Usage: layerObj_addFeature(self,shape);");
27836 : }
27837 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27838 0 : if (!SWIG_IsOK(res1)) {
27839 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_addFeature" "', argument " "1"" of type '" "struct layerObj *""'");
27840 : }
27841 0 : arg1 = (struct layerObj *)(argp1);
27842 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
27843 0 : if (!SWIG_IsOK(res2)) {
27844 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_addFeature" "', argument " "2"" of type '" "shapeObj *""'");
27845 : }
27846 0 : arg2 = (shapeObj *)(argp2);
27847 0 : result = (int)layerObj_addFeature(arg1,arg2);
27848 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27849 :
27850 :
27851 0 : XSRETURN(argvi);
27852 : fail:
27853 :
27854 :
27855 0 : SWIG_croak_null();
27856 : }
27857 : }
27858 :
27859 :
27860 0 : XS(_wrap_layerObj_getNumFeatures) {
27861 : {
27862 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27863 0 : void *argp1 = 0 ;
27864 : int res1 = 0 ;
27865 : int argvi = 0;
27866 : int result;
27867 0 : dXSARGS;
27868 :
27869 0 : if ((items < 1) || (items > 1)) {
27870 0 : SWIG_croak("Usage: layerObj_getNumFeatures(self);");
27871 : }
27872 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27873 0 : if (!SWIG_IsOK(res1)) {
27874 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getNumFeatures" "', argument " "1"" of type '" "struct layerObj *""'");
27875 : }
27876 0 : arg1 = (struct layerObj *)(argp1);
27877 : result = (int)layerObj_getNumFeatures(arg1);
27878 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27879 :
27880 0 : XSRETURN(argvi);
27881 : fail:
27882 :
27883 0 : SWIG_croak_null();
27884 : }
27885 : }
27886 :
27887 :
27888 0 : XS(_wrap_layerObj_getExtent) {
27889 : {
27890 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27891 0 : void *argp1 = 0 ;
27892 : int res1 = 0 ;
27893 : int argvi = 0;
27894 : rectObj *result = 0 ;
27895 0 : dXSARGS;
27896 :
27897 0 : if ((items < 1) || (items > 1)) {
27898 0 : SWIG_croak("Usage: layerObj_getExtent(self);");
27899 : }
27900 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27901 0 : if (!SWIG_IsOK(res1)) {
27902 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getExtent" "', argument " "1"" of type '" "struct layerObj *""'");
27903 : }
27904 0 : arg1 = (struct layerObj *)(argp1);
27905 : result = (rectObj *)layerObj_getExtent(arg1);
27906 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
27907 :
27908 0 : XSRETURN(argvi);
27909 : fail:
27910 :
27911 0 : SWIG_croak_null();
27912 : }
27913 : }
27914 :
27915 :
27916 0 : XS(_wrap_layerObj_setExtent) {
27917 : {
27918 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27919 : double arg2 = (double) -1.0 ;
27920 : double arg3 = (double) -1.0 ;
27921 : double arg4 = (double) -1.0 ;
27922 : double arg5 = (double) -1.0 ;
27923 0 : void *argp1 = 0 ;
27924 : int res1 = 0 ;
27925 : double val2 ;
27926 : int ecode2 = 0 ;
27927 : double val3 ;
27928 : int ecode3 = 0 ;
27929 : double val4 ;
27930 : int ecode4 = 0 ;
27931 : double val5 ;
27932 : int ecode5 = 0 ;
27933 : int argvi = 0;
27934 : int result;
27935 0 : dXSARGS;
27936 :
27937 0 : if ((items < 1) || (items > 5)) {
27938 0 : SWIG_croak("Usage: layerObj_setExtent(self,minx,miny,maxx,maxy);");
27939 : }
27940 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
27941 0 : if (!SWIG_IsOK(res1)) {
27942 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setExtent" "', argument " "1"" of type '" "struct layerObj *""'");
27943 : }
27944 0 : arg1 = (struct layerObj *)(argp1);
27945 0 : if (items > 1) {
27946 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
27947 0 : if (!SWIG_IsOK(ecode2)) {
27948 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_setExtent" "', argument " "2"" of type '" "double""'");
27949 : }
27950 0 : arg2 = (double)(val2);
27951 : }
27952 0 : if (items > 2) {
27953 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
27954 0 : if (!SWIG_IsOK(ecode3)) {
27955 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_setExtent" "', argument " "3"" of type '" "double""'");
27956 : }
27957 0 : arg3 = (double)(val3);
27958 : }
27959 0 : if (items > 3) {
27960 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
27961 0 : if (!SWIG_IsOK(ecode4)) {
27962 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_setExtent" "', argument " "4"" of type '" "double""'");
27963 : }
27964 0 : arg4 = (double)(val4);
27965 : }
27966 0 : if (items > 4) {
27967 0 : ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
27968 0 : if (!SWIG_IsOK(ecode5)) {
27969 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_setExtent" "', argument " "5"" of type '" "double""'");
27970 : }
27971 0 : arg5 = (double)(val5);
27972 : }
27973 0 : result = (int)layerObj_setExtent(arg1,arg2,arg3,arg4,arg5);
27974 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
27975 :
27976 :
27977 :
27978 :
27979 :
27980 0 : XSRETURN(argvi);
27981 : fail:
27982 :
27983 :
27984 :
27985 :
27986 :
27987 0 : SWIG_croak_null();
27988 : }
27989 : }
27990 :
27991 :
27992 0 : XS(_wrap_layerObj_getMetaData) {
27993 : {
27994 : struct layerObj *arg1 = (struct layerObj *) 0 ;
27995 : char *arg2 = (char *) 0 ;
27996 0 : void *argp1 = 0 ;
27997 : int res1 = 0 ;
27998 : int res2 ;
27999 0 : char *buf2 = 0 ;
28000 0 : int alloc2 = 0 ;
28001 : int argvi = 0;
28002 : char *result = 0 ;
28003 0 : dXSARGS;
28004 :
28005 0 : if ((items < 2) || (items > 2)) {
28006 0 : SWIG_croak("Usage: layerObj_getMetaData(self,name);");
28007 : }
28008 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28009 0 : if (!SWIG_IsOK(res1)) {
28010 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getMetaData" "', argument " "1"" of type '" "struct layerObj *""'");
28011 : }
28012 0 : arg1 = (struct layerObj *)(argp1);
28013 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28014 0 : if (!SWIG_IsOK(res2)) {
28015 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getMetaData" "', argument " "2"" of type '" "char *""'");
28016 : }
28017 0 : arg2 = (char *)(buf2);
28018 0 : result = (char *)layerObj_getMetaData(arg1,arg2);
28019 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28020 :
28021 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28022 0 : XSRETURN(argvi);
28023 : fail:
28024 :
28025 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28026 0 : SWIG_croak_null();
28027 : }
28028 : }
28029 :
28030 :
28031 0 : XS(_wrap_layerObj_setMetaData) {
28032 : {
28033 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28034 : char *arg2 = (char *) 0 ;
28035 : char *arg3 = (char *) 0 ;
28036 0 : void *argp1 = 0 ;
28037 : int res1 = 0 ;
28038 : int res2 ;
28039 0 : char *buf2 = 0 ;
28040 0 : int alloc2 = 0 ;
28041 : int res3 ;
28042 0 : char *buf3 = 0 ;
28043 0 : int alloc3 = 0 ;
28044 : int argvi = 0;
28045 : int result;
28046 0 : dXSARGS;
28047 :
28048 0 : if ((items < 3) || (items > 3)) {
28049 0 : SWIG_croak("Usage: layerObj_setMetaData(self,name,value);");
28050 : }
28051 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28052 0 : if (!SWIG_IsOK(res1)) {
28053 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setMetaData" "', argument " "1"" of type '" "struct layerObj *""'");
28054 : }
28055 0 : arg1 = (struct layerObj *)(argp1);
28056 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28057 0 : if (!SWIG_IsOK(res2)) {
28058 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setMetaData" "', argument " "2"" of type '" "char *""'");
28059 : }
28060 0 : arg2 = (char *)(buf2);
28061 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
28062 0 : if (!SWIG_IsOK(res3)) {
28063 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_setMetaData" "', argument " "3"" of type '" "char *""'");
28064 : }
28065 0 : arg3 = (char *)(buf3);
28066 : result = (int)layerObj_setMetaData(arg1,arg2,arg3);
28067 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28068 :
28069 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28070 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28071 0 : XSRETURN(argvi);
28072 : fail:
28073 :
28074 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28075 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28076 0 : SWIG_croak_null();
28077 : }
28078 : }
28079 :
28080 :
28081 0 : XS(_wrap_layerObj_removeMetaData) {
28082 : {
28083 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28084 : char *arg2 = (char *) 0 ;
28085 0 : void *argp1 = 0 ;
28086 : int res1 = 0 ;
28087 : int res2 ;
28088 0 : char *buf2 = 0 ;
28089 0 : int alloc2 = 0 ;
28090 : int argvi = 0;
28091 : int result;
28092 0 : dXSARGS;
28093 :
28094 0 : if ((items < 2) || (items > 2)) {
28095 0 : SWIG_croak("Usage: layerObj_removeMetaData(self,name);");
28096 : }
28097 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28098 0 : if (!SWIG_IsOK(res1)) {
28099 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_removeMetaData" "', argument " "1"" of type '" "struct layerObj *""'");
28100 : }
28101 0 : arg1 = (struct layerObj *)(argp1);
28102 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28103 0 : if (!SWIG_IsOK(res2)) {
28104 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_removeMetaData" "', argument " "2"" of type '" "char *""'");
28105 : }
28106 0 : arg2 = (char *)(buf2);
28107 : result = (int)layerObj_removeMetaData(arg1,arg2);
28108 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28109 :
28110 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28111 0 : XSRETURN(argvi);
28112 : fail:
28113 :
28114 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28115 0 : SWIG_croak_null();
28116 : }
28117 : }
28118 :
28119 :
28120 0 : XS(_wrap_layerObj_getFirstMetaDataKey) {
28121 : {
28122 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28123 0 : void *argp1 = 0 ;
28124 : int res1 = 0 ;
28125 : int argvi = 0;
28126 : char *result = 0 ;
28127 0 : dXSARGS;
28128 :
28129 0 : if ((items < 1) || (items > 1)) {
28130 0 : SWIG_croak("Usage: layerObj_getFirstMetaDataKey(self);");
28131 : }
28132 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28133 0 : if (!SWIG_IsOK(res1)) {
28134 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getFirstMetaDataKey" "', argument " "1"" of type '" "struct layerObj *""'");
28135 : }
28136 0 : arg1 = (struct layerObj *)(argp1);
28137 : result = (char *)layerObj_getFirstMetaDataKey(arg1);
28138 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28139 :
28140 0 : XSRETURN(argvi);
28141 : fail:
28142 :
28143 0 : SWIG_croak_null();
28144 : }
28145 : }
28146 :
28147 :
28148 0 : XS(_wrap_layerObj_getNextMetaDataKey) {
28149 : {
28150 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28151 : char *arg2 = (char *) 0 ;
28152 0 : void *argp1 = 0 ;
28153 : int res1 = 0 ;
28154 : int res2 ;
28155 0 : char *buf2 = 0 ;
28156 0 : int alloc2 = 0 ;
28157 : int argvi = 0;
28158 : char *result = 0 ;
28159 0 : dXSARGS;
28160 :
28161 0 : if ((items < 2) || (items > 2)) {
28162 0 : SWIG_croak("Usage: layerObj_getNextMetaDataKey(self,lastkey);");
28163 : }
28164 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28165 0 : if (!SWIG_IsOK(res1)) {
28166 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getNextMetaDataKey" "', argument " "1"" of type '" "struct layerObj *""'");
28167 : }
28168 0 : arg1 = (struct layerObj *)(argp1);
28169 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28170 0 : if (!SWIG_IsOK(res2)) {
28171 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getNextMetaDataKey" "', argument " "2"" of type '" "char *""'");
28172 : }
28173 0 : arg2 = (char *)(buf2);
28174 : result = (char *)layerObj_getNextMetaDataKey(arg1,arg2);
28175 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28176 :
28177 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28178 0 : XSRETURN(argvi);
28179 : fail:
28180 :
28181 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28182 0 : SWIG_croak_null();
28183 : }
28184 : }
28185 :
28186 :
28187 0 : XS(_wrap_layerObj_getWMSFeatureInfoURL) {
28188 : {
28189 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28190 : mapObj *arg2 = (mapObj *) 0 ;
28191 : int arg3 ;
28192 : int arg4 ;
28193 : int arg5 ;
28194 : char *arg6 = (char *) 0 ;
28195 0 : void *argp1 = 0 ;
28196 : int res1 = 0 ;
28197 0 : void *argp2 = 0 ;
28198 : int res2 = 0 ;
28199 : int val3 ;
28200 : int ecode3 = 0 ;
28201 : int val4 ;
28202 : int ecode4 = 0 ;
28203 : int val5 ;
28204 : int ecode5 = 0 ;
28205 : int res6 ;
28206 0 : char *buf6 = 0 ;
28207 0 : int alloc6 = 0 ;
28208 : int argvi = 0;
28209 : char *result = 0 ;
28210 0 : dXSARGS;
28211 :
28212 0 : if ((items < 6) || (items > 6)) {
28213 0 : SWIG_croak("Usage: layerObj_getWMSFeatureInfoURL(self,map,click_x,click_y,feature_count,info_format);");
28214 : }
28215 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28216 0 : if (!SWIG_IsOK(res1)) {
28217 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "1"" of type '" "struct layerObj *""'");
28218 : }
28219 0 : arg1 = (struct layerObj *)(argp1);
28220 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
28221 0 : if (!SWIG_IsOK(res2)) {
28222 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "2"" of type '" "mapObj *""'");
28223 : }
28224 0 : arg2 = (mapObj *)(argp2);
28225 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
28226 0 : if (!SWIG_IsOK(ecode3)) {
28227 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "3"" of type '" "int""'");
28228 : }
28229 0 : arg3 = (int)(val3);
28230 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
28231 0 : if (!SWIG_IsOK(ecode4)) {
28232 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "4"" of type '" "int""'");
28233 : }
28234 0 : arg4 = (int)(val4);
28235 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
28236 0 : if (!SWIG_IsOK(ecode5)) {
28237 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "5"" of type '" "int""'");
28238 : }
28239 0 : arg5 = (int)(val5);
28240 0 : res6 = SWIG_AsCharPtrAndSize(ST(5), &buf6, NULL, &alloc6);
28241 0 : if (!SWIG_IsOK(res6)) {
28242 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "6"" of type '" "char *""'");
28243 : }
28244 0 : arg6 = (char *)(buf6);
28245 : result = (char *)layerObj_getWMSFeatureInfoURL(arg1,arg2,arg3,arg4,arg5,arg6);
28246 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28247 :
28248 :
28249 :
28250 :
28251 :
28252 0 : if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
28253 0 : free((char*)result);
28254 0 : XSRETURN(argvi);
28255 : fail:
28256 :
28257 :
28258 :
28259 :
28260 :
28261 0 : if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
28262 0 : SWIG_croak_null();
28263 : }
28264 : }
28265 :
28266 :
28267 0 : XS(_wrap_layerObj_executeWFSGetFeature) {
28268 : {
28269 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28270 : layerObj *arg2 = (layerObj *) 0 ;
28271 0 : void *argp1 = 0 ;
28272 : int res1 = 0 ;
28273 0 : void *argp2 = 0 ;
28274 : int res2 = 0 ;
28275 : int argvi = 0;
28276 : char *result = 0 ;
28277 0 : dXSARGS;
28278 :
28279 0 : if ((items < 2) || (items > 2)) {
28280 0 : SWIG_croak("Usage: layerObj_executeWFSGetFeature(self,layer);");
28281 : }
28282 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28283 0 : if (!SWIG_IsOK(res1)) {
28284 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_executeWFSGetFeature" "', argument " "1"" of type '" "struct layerObj *""'");
28285 : }
28286 : arg1 = (struct layerObj *)(argp1);
28287 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_layerObj, 0 | 0 );
28288 0 : if (!SWIG_IsOK(res2)) {
28289 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_executeWFSGetFeature" "', argument " "2"" of type '" "layerObj *""'");
28290 : }
28291 0 : arg2 = (layerObj *)(argp2);
28292 : result = (char *)layerObj_executeWFSGetFeature(arg1,arg2);
28293 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28294 :
28295 :
28296 0 : free((char*)result);
28297 0 : XSRETURN(argvi);
28298 : fail:
28299 :
28300 :
28301 0 : SWIG_croak_null();
28302 : }
28303 : }
28304 :
28305 :
28306 0 : XS(_wrap_layerObj_applySLD) {
28307 : {
28308 0 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28309 : char *arg2 = (char *) 0 ;
28310 : char *arg3 = (char *) 0 ;
28311 0 : void *argp1 = 0 ;
28312 : int res1 = 0 ;
28313 : int res2 ;
28314 0 : char *buf2 = 0 ;
28315 0 : int alloc2 = 0 ;
28316 : int res3 ;
28317 0 : char *buf3 = 0 ;
28318 0 : int alloc3 = 0 ;
28319 : int argvi = 0;
28320 : int result;
28321 0 : dXSARGS;
28322 :
28323 0 : if ((items < 3) || (items > 3)) {
28324 0 : SWIG_croak("Usage: layerObj_applySLD(self,sld,stylelayer);");
28325 : }
28326 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28327 0 : if (!SWIG_IsOK(res1)) {
28328 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_applySLD" "', argument " "1"" of type '" "struct layerObj *""'");
28329 : }
28330 0 : arg1 = (struct layerObj *)(argp1);
28331 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28332 0 : if (!SWIG_IsOK(res2)) {
28333 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_applySLD" "', argument " "2"" of type '" "char *""'");
28334 : }
28335 0 : arg2 = (char *)(buf2);
28336 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
28337 0 : if (!SWIG_IsOK(res3)) {
28338 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_applySLD" "', argument " "3"" of type '" "char *""'");
28339 : }
28340 0 : arg3 = (char *)(buf3);
28341 : result = (int)layerObj_applySLD(arg1,arg2,arg3);
28342 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28343 :
28344 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28345 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28346 0 : XSRETURN(argvi);
28347 : fail:
28348 :
28349 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28350 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28351 0 : SWIG_croak_null();
28352 : }
28353 : }
28354 :
28355 :
28356 0 : XS(_wrap_layerObj_applySLDURL) {
28357 : {
28358 0 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28359 : char *arg2 = (char *) 0 ;
28360 : char *arg3 = (char *) 0 ;
28361 0 : void *argp1 = 0 ;
28362 : int res1 = 0 ;
28363 : int res2 ;
28364 0 : char *buf2 = 0 ;
28365 0 : int alloc2 = 0 ;
28366 : int res3 ;
28367 0 : char *buf3 = 0 ;
28368 0 : int alloc3 = 0 ;
28369 : int argvi = 0;
28370 : int result;
28371 0 : dXSARGS;
28372 :
28373 0 : if ((items < 3) || (items > 3)) {
28374 0 : SWIG_croak("Usage: layerObj_applySLDURL(self,sld,stylelayer);");
28375 : }
28376 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28377 0 : if (!SWIG_IsOK(res1)) {
28378 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_applySLDURL" "', argument " "1"" of type '" "struct layerObj *""'");
28379 : }
28380 0 : arg1 = (struct layerObj *)(argp1);
28381 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28382 0 : if (!SWIG_IsOK(res2)) {
28383 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_applySLDURL" "', argument " "2"" of type '" "char *""'");
28384 : }
28385 0 : arg2 = (char *)(buf2);
28386 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
28387 0 : if (!SWIG_IsOK(res3)) {
28388 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_applySLDURL" "', argument " "3"" of type '" "char *""'");
28389 : }
28390 0 : arg3 = (char *)(buf3);
28391 : result = (int)layerObj_applySLDURL(arg1,arg2,arg3);
28392 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28393 :
28394 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28395 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28396 0 : XSRETURN(argvi);
28397 : fail:
28398 :
28399 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28400 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28401 0 : SWIG_croak_null();
28402 : }
28403 : }
28404 :
28405 :
28406 0 : XS(_wrap_layerObj_generateSLD) {
28407 : {
28408 0 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28409 0 : void *argp1 = 0 ;
28410 : int res1 = 0 ;
28411 : int argvi = 0;
28412 : char *result = 0 ;
28413 0 : dXSARGS;
28414 :
28415 0 : if ((items < 1) || (items > 1)) {
28416 0 : SWIG_croak("Usage: layerObj_generateSLD(self);");
28417 : }
28418 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28419 0 : if (!SWIG_IsOK(res1)) {
28420 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_generateSLD" "', argument " "1"" of type '" "struct layerObj *""'");
28421 : }
28422 0 : arg1 = (struct layerObj *)(argp1);
28423 : result = (char *)layerObj_generateSLD(arg1);
28424 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28425 :
28426 0 : free((char*)result);
28427 0 : XSRETURN(argvi);
28428 : fail:
28429 :
28430 0 : SWIG_croak_null();
28431 : }
28432 : }
28433 :
28434 :
28435 0 : XS(_wrap_layerObj_isVisible) {
28436 : {
28437 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28438 0 : void *argp1 = 0 ;
28439 : int res1 = 0 ;
28440 : int argvi = 0;
28441 : int result;
28442 0 : dXSARGS;
28443 :
28444 0 : if ((items < 1) || (items > 1)) {
28445 0 : SWIG_croak("Usage: layerObj_isVisible(self);");
28446 : }
28447 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28448 0 : if (!SWIG_IsOK(res1)) {
28449 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_isVisible" "', argument " "1"" of type '" "struct layerObj *""'");
28450 : }
28451 0 : arg1 = (struct layerObj *)(argp1);
28452 0 : result = (int)layerObj_isVisible(arg1);
28453 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28454 :
28455 0 : XSRETURN(argvi);
28456 : fail:
28457 :
28458 0 : SWIG_croak_null();
28459 : }
28460 : }
28461 :
28462 :
28463 0 : XS(_wrap_layerObj_moveClassUp) {
28464 : {
28465 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28466 : int arg2 ;
28467 0 : void *argp1 = 0 ;
28468 : int res1 = 0 ;
28469 : int val2 ;
28470 : int ecode2 = 0 ;
28471 : int argvi = 0;
28472 : int result;
28473 0 : dXSARGS;
28474 :
28475 0 : if ((items < 2) || (items > 2)) {
28476 0 : SWIG_croak("Usage: layerObj_moveClassUp(self,index);");
28477 : }
28478 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28479 0 : if (!SWIG_IsOK(res1)) {
28480 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_moveClassUp" "', argument " "1"" of type '" "struct layerObj *""'");
28481 : }
28482 0 : arg1 = (struct layerObj *)(argp1);
28483 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
28484 0 : if (!SWIG_IsOK(ecode2)) {
28485 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_moveClassUp" "', argument " "2"" of type '" "int""'");
28486 : }
28487 0 : arg2 = (int)(val2);
28488 : result = (int)layerObj_moveClassUp(arg1,arg2);
28489 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28490 :
28491 :
28492 0 : XSRETURN(argvi);
28493 : fail:
28494 :
28495 :
28496 0 : SWIG_croak_null();
28497 : }
28498 : }
28499 :
28500 :
28501 0 : XS(_wrap_layerObj_moveClassDown) {
28502 : {
28503 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28504 : int arg2 ;
28505 0 : void *argp1 = 0 ;
28506 : int res1 = 0 ;
28507 : int val2 ;
28508 : int ecode2 = 0 ;
28509 : int argvi = 0;
28510 : int result;
28511 0 : dXSARGS;
28512 :
28513 0 : if ((items < 2) || (items > 2)) {
28514 0 : SWIG_croak("Usage: layerObj_moveClassDown(self,index);");
28515 : }
28516 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28517 0 : if (!SWIG_IsOK(res1)) {
28518 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_moveClassDown" "', argument " "1"" of type '" "struct layerObj *""'");
28519 : }
28520 0 : arg1 = (struct layerObj *)(argp1);
28521 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
28522 0 : if (!SWIG_IsOK(ecode2)) {
28523 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_moveClassDown" "', argument " "2"" of type '" "int""'");
28524 : }
28525 0 : arg2 = (int)(val2);
28526 : result = (int)layerObj_moveClassDown(arg1,arg2);
28527 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28528 :
28529 :
28530 0 : XSRETURN(argvi);
28531 : fail:
28532 :
28533 :
28534 0 : SWIG_croak_null();
28535 : }
28536 : }
28537 :
28538 :
28539 0 : XS(_wrap_layerObj_setProcessingKey) {
28540 : {
28541 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28542 : char *arg2 = (char *) 0 ;
28543 : char *arg3 = (char *) 0 ;
28544 0 : void *argp1 = 0 ;
28545 : int res1 = 0 ;
28546 : int res2 ;
28547 0 : char *buf2 = 0 ;
28548 0 : int alloc2 = 0 ;
28549 : int res3 ;
28550 0 : char *buf3 = 0 ;
28551 0 : int alloc3 = 0 ;
28552 : int argvi = 0;
28553 0 : dXSARGS;
28554 :
28555 0 : if ((items < 3) || (items > 3)) {
28556 0 : SWIG_croak("Usage: layerObj_setProcessingKey(self,key,value);");
28557 : }
28558 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28559 0 : if (!SWIG_IsOK(res1)) {
28560 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setProcessingKey" "', argument " "1"" of type '" "struct layerObj *""'");
28561 : }
28562 0 : arg1 = (struct layerObj *)(argp1);
28563 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28564 0 : if (!SWIG_IsOK(res2)) {
28565 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setProcessingKey" "', argument " "2"" of type '" "char const *""'");
28566 : }
28567 0 : arg2 = (char *)(buf2);
28568 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
28569 0 : if (!SWIG_IsOK(res3)) {
28570 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_setProcessingKey" "', argument " "3"" of type '" "char const *""'");
28571 : }
28572 0 : arg3 = (char *)(buf3);
28573 : layerObj_setProcessingKey(arg1,(char const *)arg2,(char const *)arg3);
28574 0 : ST(argvi) = sv_newmortal();
28575 :
28576 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28577 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28578 0 : XSRETURN(argvi);
28579 : fail:
28580 :
28581 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28582 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28583 0 : SWIG_croak_null();
28584 : }
28585 : }
28586 :
28587 :
28588 0 : XS(_wrap_layerObj_setProcessing) {
28589 : {
28590 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28591 : char *arg2 = (char *) 0 ;
28592 0 : void *argp1 = 0 ;
28593 : int res1 = 0 ;
28594 : int res2 ;
28595 0 : char *buf2 = 0 ;
28596 0 : int alloc2 = 0 ;
28597 : int argvi = 0;
28598 0 : dXSARGS;
28599 :
28600 0 : if ((items < 2) || (items > 2)) {
28601 0 : SWIG_croak("Usage: layerObj_setProcessing(self,directive);");
28602 : }
28603 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28604 0 : if (!SWIG_IsOK(res1)) {
28605 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setProcessing" "', argument " "1"" of type '" "struct layerObj *""'");
28606 : }
28607 0 : arg1 = (struct layerObj *)(argp1);
28608 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28609 0 : if (!SWIG_IsOK(res2)) {
28610 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setProcessing" "', argument " "2"" of type '" "char const *""'");
28611 : }
28612 0 : arg2 = (char *)(buf2);
28613 : layerObj_setProcessing(arg1,(char const *)arg2);
28614 0 : ST(argvi) = sv_newmortal();
28615 :
28616 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28617 0 : XSRETURN(argvi);
28618 : fail:
28619 :
28620 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28621 0 : SWIG_croak_null();
28622 : }
28623 : }
28624 :
28625 :
28626 0 : XS(_wrap_layerObj_addProcessing) {
28627 : {
28628 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28629 : char *arg2 = (char *) 0 ;
28630 0 : void *argp1 = 0 ;
28631 : int res1 = 0 ;
28632 : int res2 ;
28633 0 : char *buf2 = 0 ;
28634 0 : int alloc2 = 0 ;
28635 : int argvi = 0;
28636 0 : dXSARGS;
28637 :
28638 0 : if ((items < 2) || (items > 2)) {
28639 0 : SWIG_croak("Usage: layerObj_addProcessing(self,directive);");
28640 : }
28641 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28642 0 : if (!SWIG_IsOK(res1)) {
28643 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_addProcessing" "', argument " "1"" of type '" "struct layerObj *""'");
28644 : }
28645 0 : arg1 = (struct layerObj *)(argp1);
28646 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28647 0 : if (!SWIG_IsOK(res2)) {
28648 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_addProcessing" "', argument " "2"" of type '" "char const *""'");
28649 : }
28650 0 : arg2 = (char *)(buf2);
28651 : layerObj_addProcessing(arg1,(char const *)arg2);
28652 0 : ST(argvi) = sv_newmortal();
28653 :
28654 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28655 0 : XSRETURN(argvi);
28656 : fail:
28657 :
28658 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28659 0 : SWIG_croak_null();
28660 : }
28661 : }
28662 :
28663 :
28664 0 : XS(_wrap_layerObj_getProcessing) {
28665 : {
28666 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28667 : int arg2 ;
28668 0 : void *argp1 = 0 ;
28669 : int res1 = 0 ;
28670 : int val2 ;
28671 : int ecode2 = 0 ;
28672 : int argvi = 0;
28673 : char *result = 0 ;
28674 0 : dXSARGS;
28675 :
28676 0 : if ((items < 2) || (items > 2)) {
28677 0 : SWIG_croak("Usage: layerObj_getProcessing(self,index);");
28678 : }
28679 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28680 0 : if (!SWIG_IsOK(res1)) {
28681 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getProcessing" "', argument " "1"" of type '" "struct layerObj *""'");
28682 : }
28683 0 : arg1 = (struct layerObj *)(argp1);
28684 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
28685 0 : if (!SWIG_IsOK(ecode2)) {
28686 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getProcessing" "', argument " "2"" of type '" "int""'");
28687 : }
28688 0 : arg2 = (int)(val2);
28689 : result = (char *)layerObj_getProcessing(arg1,arg2);
28690 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28691 :
28692 :
28693 0 : XSRETURN(argvi);
28694 : fail:
28695 :
28696 :
28697 0 : SWIG_croak_null();
28698 : }
28699 : }
28700 :
28701 :
28702 0 : XS(_wrap_layerObj_getProcessingKey) {
28703 : {
28704 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28705 : char *arg2 = (char *) 0 ;
28706 0 : void *argp1 = 0 ;
28707 : int res1 = 0 ;
28708 : int res2 ;
28709 0 : char *buf2 = 0 ;
28710 0 : int alloc2 = 0 ;
28711 : int argvi = 0;
28712 : char *result = 0 ;
28713 0 : dXSARGS;
28714 :
28715 0 : if ((items < 2) || (items > 2)) {
28716 0 : SWIG_croak("Usage: layerObj_getProcessingKey(self,key);");
28717 : }
28718 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28719 0 : if (!SWIG_IsOK(res1)) {
28720 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getProcessingKey" "', argument " "1"" of type '" "struct layerObj *""'");
28721 : }
28722 0 : arg1 = (struct layerObj *)(argp1);
28723 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28724 0 : if (!SWIG_IsOK(res2)) {
28725 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getProcessingKey" "', argument " "2"" of type '" "char const *""'");
28726 : }
28727 0 : arg2 = (char *)(buf2);
28728 : result = (char *)layerObj_getProcessingKey(arg1,(char const *)arg2);
28729 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28730 :
28731 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28732 0 : XSRETURN(argvi);
28733 : fail:
28734 :
28735 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28736 0 : SWIG_croak_null();
28737 : }
28738 : }
28739 :
28740 :
28741 0 : XS(_wrap_layerObj_clearProcessing) {
28742 : {
28743 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28744 0 : void *argp1 = 0 ;
28745 : int res1 = 0 ;
28746 : int argvi = 0;
28747 : int result;
28748 0 : dXSARGS;
28749 :
28750 0 : if ((items < 1) || (items > 1)) {
28751 0 : SWIG_croak("Usage: layerObj_clearProcessing(self);");
28752 : }
28753 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28754 0 : if (!SWIG_IsOK(res1)) {
28755 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_clearProcessing" "', argument " "1"" of type '" "struct layerObj *""'");
28756 : }
28757 0 : arg1 = (struct layerObj *)(argp1);
28758 : result = (int)layerObj_clearProcessing(arg1);
28759 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28760 :
28761 0 : XSRETURN(argvi);
28762 : fail:
28763 :
28764 0 : SWIG_croak_null();
28765 : }
28766 : }
28767 :
28768 :
28769 0 : XS(_wrap_layerObj_setConnectionType) {
28770 : {
28771 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28772 : int arg2 ;
28773 : char *arg3 = (char *) 0 ;
28774 0 : void *argp1 = 0 ;
28775 : int res1 = 0 ;
28776 : int val2 ;
28777 : int ecode2 = 0 ;
28778 : int res3 ;
28779 0 : char *buf3 = 0 ;
28780 0 : int alloc3 = 0 ;
28781 : int argvi = 0;
28782 : int result;
28783 0 : dXSARGS;
28784 :
28785 0 : if ((items < 3) || (items > 3)) {
28786 0 : SWIG_croak("Usage: layerObj_setConnectionType(self,connectiontype,library_str);");
28787 : }
28788 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28789 0 : if (!SWIG_IsOK(res1)) {
28790 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setConnectionType" "', argument " "1"" of type '" "struct layerObj *""'");
28791 : }
28792 0 : arg1 = (struct layerObj *)(argp1);
28793 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
28794 0 : if (!SWIG_IsOK(ecode2)) {
28795 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_setConnectionType" "', argument " "2"" of type '" "int""'");
28796 : }
28797 0 : arg2 = (int)(val2);
28798 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
28799 0 : if (!SWIG_IsOK(res3)) {
28800 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_setConnectionType" "', argument " "3"" of type '" "char const *""'");
28801 : }
28802 0 : arg3 = (char *)(buf3);
28803 0 : result = (int)layerObj_setConnectionType(arg1,arg2,(char const *)arg3);
28804 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28805 :
28806 :
28807 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28808 0 : XSRETURN(argvi);
28809 : fail:
28810 :
28811 :
28812 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
28813 0 : SWIG_croak_null();
28814 : }
28815 : }
28816 :
28817 :
28818 0 : XS(_wrap_layerObj_getClassIndex) {
28819 : {
28820 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28821 : mapObj *arg2 = (mapObj *) 0 ;
28822 : shapeObj *arg3 = (shapeObj *) 0 ;
28823 : int *arg4 = (int *) NULL ;
28824 : int arg5 = (int) 0 ;
28825 0 : void *argp1 = 0 ;
28826 : int res1 = 0 ;
28827 0 : void *argp2 = 0 ;
28828 : int res2 = 0 ;
28829 0 : void *argp3 = 0 ;
28830 : int res3 = 0 ;
28831 0 : void *argp4 = 0 ;
28832 : int res4 = 0 ;
28833 : int val5 ;
28834 : int ecode5 = 0 ;
28835 : int argvi = 0;
28836 : int result;
28837 0 : dXSARGS;
28838 :
28839 0 : if ((items < 3) || (items > 5)) {
28840 0 : SWIG_croak("Usage: layerObj_getClassIndex(self,map,shape,classgroup,numclasses);");
28841 : }
28842 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28843 0 : if (!SWIG_IsOK(res1)) {
28844 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getClassIndex" "', argument " "1"" of type '" "struct layerObj *""'");
28845 : }
28846 0 : arg1 = (struct layerObj *)(argp1);
28847 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
28848 0 : if (!SWIG_IsOK(res2)) {
28849 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getClassIndex" "', argument " "2"" of type '" "mapObj *""'");
28850 : }
28851 0 : arg2 = (mapObj *)(argp2);
28852 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_shapeObj, 0 | 0 );
28853 0 : if (!SWIG_IsOK(res3)) {
28854 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_getClassIndex" "', argument " "3"" of type '" "shapeObj *""'");
28855 : }
28856 0 : arg3 = (shapeObj *)(argp3);
28857 0 : if (items > 3) {
28858 0 : res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_int, 0 | 0 );
28859 0 : if (!SWIG_IsOK(res4)) {
28860 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "layerObj_getClassIndex" "', argument " "4"" of type '" "int *""'");
28861 : }
28862 0 : arg4 = (int *)(argp4);
28863 : }
28864 0 : if (items > 4) {
28865 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
28866 0 : if (!SWIG_IsOK(ecode5)) {
28867 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_getClassIndex" "', argument " "5"" of type '" "int""'");
28868 : }
28869 0 : arg5 = (int)(val5);
28870 : }
28871 : result = (int)layerObj_getClassIndex(arg1,arg2,arg3,arg4,arg5);
28872 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
28873 :
28874 :
28875 :
28876 :
28877 :
28878 0 : XSRETURN(argvi);
28879 : fail:
28880 :
28881 :
28882 :
28883 :
28884 :
28885 0 : SWIG_croak_null();
28886 : }
28887 : }
28888 :
28889 :
28890 0 : XS(_wrap_layerObj_getGeomTransform) {
28891 : {
28892 0 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28893 0 : void *argp1 = 0 ;
28894 : int res1 = 0 ;
28895 : int argvi = 0;
28896 : char *result = 0 ;
28897 0 : dXSARGS;
28898 :
28899 0 : if ((items < 1) || (items > 1)) {
28900 0 : SWIG_croak("Usage: layerObj_getGeomTransform(self);");
28901 : }
28902 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28903 0 : if (!SWIG_IsOK(res1)) {
28904 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getGeomTransform" "', argument " "1"" of type '" "struct layerObj *""'");
28905 : }
28906 0 : arg1 = (struct layerObj *)(argp1);
28907 : result = (char *)layerObj_getGeomTransform(arg1);
28908 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28909 :
28910 0 : XSRETURN(argvi);
28911 : fail:
28912 :
28913 0 : SWIG_croak_null();
28914 : }
28915 : }
28916 :
28917 :
28918 0 : XS(_wrap_layerObj_setGeomTransform) {
28919 : {
28920 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28921 : char *arg2 = (char *) 0 ;
28922 0 : void *argp1 = 0 ;
28923 : int res1 = 0 ;
28924 : int res2 ;
28925 0 : char *buf2 = 0 ;
28926 0 : int alloc2 = 0 ;
28927 : int argvi = 0;
28928 0 : dXSARGS;
28929 :
28930 0 : if ((items < 2) || (items > 2)) {
28931 0 : SWIG_croak("Usage: layerObj_setGeomTransform(self,transform);");
28932 : }
28933 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28934 0 : if (!SWIG_IsOK(res1)) {
28935 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setGeomTransform" "', argument " "1"" of type '" "struct layerObj *""'");
28936 : }
28937 0 : arg1 = (struct layerObj *)(argp1);
28938 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
28939 0 : if (!SWIG_IsOK(res2)) {
28940 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setGeomTransform" "', argument " "2"" of type '" "char *""'");
28941 : }
28942 0 : arg2 = (char *)(buf2);
28943 0 : layerObj_setGeomTransform(arg1,arg2);
28944 0 : ST(argvi) = sv_newmortal();
28945 :
28946 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28947 0 : XSRETURN(argvi);
28948 : fail:
28949 :
28950 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
28951 0 : SWIG_croak_null();
28952 : }
28953 : }
28954 :
28955 :
28956 0 : XS(_wrap_layerObj_getItemType) {
28957 : {
28958 : struct layerObj *arg1 = (struct layerObj *) 0 ;
28959 : int arg2 ;
28960 0 : void *argp1 = 0 ;
28961 : int res1 = 0 ;
28962 : int val2 ;
28963 : int ecode2 = 0 ;
28964 : int argvi = 0;
28965 : char *result = 0 ;
28966 0 : dXSARGS;
28967 :
28968 0 : if ((items < 2) || (items > 2)) {
28969 0 : SWIG_croak("Usage: layerObj_getItemType(self,i);");
28970 : }
28971 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 | 0 );
28972 0 : if (!SWIG_IsOK(res1)) {
28973 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getItemType" "', argument " "1"" of type '" "struct layerObj *""'");
28974 : }
28975 0 : arg1 = (struct layerObj *)(argp1);
28976 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
28977 0 : if (!SWIG_IsOK(ecode2)) {
28978 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getItemType" "', argument " "2"" of type '" "int""'");
28979 : }
28980 0 : arg2 = (int)(val2);
28981 0 : result = (char *)layerObj_getItemType(arg1,arg2);
28982 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
28983 :
28984 :
28985 0 : XSRETURN(argvi);
28986 : fail:
28987 :
28988 :
28989 0 : SWIG_croak_null();
28990 : }
28991 : }
28992 :
28993 :
28994 0 : XS(_wrap_mapObj_name_set) {
28995 : {
28996 : struct mapObj *arg1 = (struct mapObj *) 0 ;
28997 : char *arg2 = (char *) 0 ;
28998 0 : void *argp1 = 0 ;
28999 : int res1 = 0 ;
29000 : int res2 ;
29001 0 : char *buf2 = 0 ;
29002 0 : int alloc2 = 0 ;
29003 : int argvi = 0;
29004 0 : dXSARGS;
29005 :
29006 0 : if ((items < 2) || (items > 2)) {
29007 0 : SWIG_croak("Usage: mapObj_name_set(self,name);");
29008 : }
29009 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29010 0 : if (!SWIG_IsOK(res1)) {
29011 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_name_set" "', argument " "1"" of type '" "struct mapObj *""'");
29012 : }
29013 0 : arg1 = (struct mapObj *)(argp1);
29014 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
29015 0 : if (!SWIG_IsOK(res2)) {
29016 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_name_set" "', argument " "2"" of type '" "char *""'");
29017 : }
29018 0 : arg2 = (char *)(buf2);
29019 : {
29020 0 : if (arg1->name) free((char*)arg1->name);
29021 0 : if (arg2) {
29022 0 : arg1->name = (char *) malloc(strlen(arg2)+1);
29023 : strcpy((char*)arg1->name,arg2);
29024 : } else {
29025 0 : arg1->name = 0;
29026 : }
29027 : }
29028 0 : ST(argvi) = sv_newmortal();
29029 :
29030 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29031 0 : XSRETURN(argvi);
29032 : fail:
29033 :
29034 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
29035 0 : SWIG_croak_null();
29036 : }
29037 : }
29038 :
29039 :
29040 0 : XS(_wrap_mapObj_name_get) {
29041 : {
29042 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29043 0 : void *argp1 = 0 ;
29044 : int res1 = 0 ;
29045 : int argvi = 0;
29046 : char *result = 0 ;
29047 0 : dXSARGS;
29048 :
29049 0 : if ((items < 1) || (items > 1)) {
29050 0 : SWIG_croak("Usage: mapObj_name_get(self);");
29051 : }
29052 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29053 0 : if (!SWIG_IsOK(res1)) {
29054 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_name_get" "', argument " "1"" of type '" "struct mapObj *""'");
29055 : }
29056 0 : arg1 = (struct mapObj *)(argp1);
29057 0 : result = (char *) ((arg1)->name);
29058 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
29059 :
29060 0 : XSRETURN(argvi);
29061 : fail:
29062 :
29063 0 : SWIG_croak_null();
29064 : }
29065 : }
29066 :
29067 :
29068 0 : XS(_wrap_mapObj_status_set) {
29069 : {
29070 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29071 : int arg2 ;
29072 0 : void *argp1 = 0 ;
29073 : int res1 = 0 ;
29074 : int val2 ;
29075 : int ecode2 = 0 ;
29076 : int argvi = 0;
29077 0 : dXSARGS;
29078 :
29079 0 : if ((items < 2) || (items > 2)) {
29080 0 : SWIG_croak("Usage: mapObj_status_set(self,status);");
29081 : }
29082 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29083 0 : if (!SWIG_IsOK(res1)) {
29084 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_status_set" "', argument " "1"" of type '" "struct mapObj *""'");
29085 : }
29086 0 : arg1 = (struct mapObj *)(argp1);
29087 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29088 0 : if (!SWIG_IsOK(ecode2)) {
29089 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_status_set" "', argument " "2"" of type '" "int""'");
29090 : }
29091 0 : arg2 = (int)(val2);
29092 0 : if (arg1) (arg1)->status = arg2;
29093 0 : ST(argvi) = sv_newmortal();
29094 :
29095 :
29096 0 : XSRETURN(argvi);
29097 : fail:
29098 :
29099 :
29100 0 : SWIG_croak_null();
29101 : }
29102 : }
29103 :
29104 :
29105 0 : XS(_wrap_mapObj_status_get) {
29106 : {
29107 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29108 0 : void *argp1 = 0 ;
29109 : int res1 = 0 ;
29110 : int argvi = 0;
29111 : int result;
29112 0 : dXSARGS;
29113 :
29114 0 : if ((items < 1) || (items > 1)) {
29115 0 : SWIG_croak("Usage: mapObj_status_get(self);");
29116 : }
29117 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29118 0 : if (!SWIG_IsOK(res1)) {
29119 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_status_get" "', argument " "1"" of type '" "struct mapObj *""'");
29120 : }
29121 0 : arg1 = (struct mapObj *)(argp1);
29122 0 : result = (int) ((arg1)->status);
29123 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29124 :
29125 0 : XSRETURN(argvi);
29126 : fail:
29127 :
29128 0 : SWIG_croak_null();
29129 : }
29130 : }
29131 :
29132 :
29133 0 : XS(_wrap_mapObj_height_set) {
29134 : {
29135 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29136 : int arg2 ;
29137 0 : void *argp1 = 0 ;
29138 : int res1 = 0 ;
29139 : int val2 ;
29140 : int ecode2 = 0 ;
29141 : int argvi = 0;
29142 0 : dXSARGS;
29143 :
29144 0 : if ((items < 2) || (items > 2)) {
29145 0 : SWIG_croak("Usage: mapObj_height_set(self,height);");
29146 : }
29147 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29148 0 : if (!SWIG_IsOK(res1)) {
29149 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_height_set" "', argument " "1"" of type '" "struct mapObj *""'");
29150 : }
29151 0 : arg1 = (struct mapObj *)(argp1);
29152 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29153 0 : if (!SWIG_IsOK(ecode2)) {
29154 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_height_set" "', argument " "2"" of type '" "int""'");
29155 : }
29156 0 : arg2 = (int)(val2);
29157 0 : if (arg1) (arg1)->height = arg2;
29158 0 : ST(argvi) = sv_newmortal();
29159 :
29160 :
29161 0 : XSRETURN(argvi);
29162 : fail:
29163 :
29164 :
29165 0 : SWIG_croak_null();
29166 : }
29167 : }
29168 :
29169 :
29170 0 : XS(_wrap_mapObj_height_get) {
29171 : {
29172 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29173 0 : void *argp1 = 0 ;
29174 : int res1 = 0 ;
29175 : int argvi = 0;
29176 : int result;
29177 0 : dXSARGS;
29178 :
29179 0 : if ((items < 1) || (items > 1)) {
29180 0 : SWIG_croak("Usage: mapObj_height_get(self);");
29181 : }
29182 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29183 0 : if (!SWIG_IsOK(res1)) {
29184 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_height_get" "', argument " "1"" of type '" "struct mapObj *""'");
29185 : }
29186 0 : arg1 = (struct mapObj *)(argp1);
29187 0 : result = (int) ((arg1)->height);
29188 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29189 :
29190 0 : XSRETURN(argvi);
29191 : fail:
29192 :
29193 0 : SWIG_croak_null();
29194 : }
29195 : }
29196 :
29197 :
29198 0 : XS(_wrap_mapObj_width_set) {
29199 : {
29200 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29201 : int arg2 ;
29202 0 : void *argp1 = 0 ;
29203 : int res1 = 0 ;
29204 : int val2 ;
29205 : int ecode2 = 0 ;
29206 : int argvi = 0;
29207 0 : dXSARGS;
29208 :
29209 0 : if ((items < 2) || (items > 2)) {
29210 0 : SWIG_croak("Usage: mapObj_width_set(self,width);");
29211 : }
29212 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29213 0 : if (!SWIG_IsOK(res1)) {
29214 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_width_set" "', argument " "1"" of type '" "struct mapObj *""'");
29215 : }
29216 0 : arg1 = (struct mapObj *)(argp1);
29217 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29218 0 : if (!SWIG_IsOK(ecode2)) {
29219 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_width_set" "', argument " "2"" of type '" "int""'");
29220 : }
29221 0 : arg2 = (int)(val2);
29222 0 : if (arg1) (arg1)->width = arg2;
29223 0 : ST(argvi) = sv_newmortal();
29224 :
29225 :
29226 0 : XSRETURN(argvi);
29227 : fail:
29228 :
29229 :
29230 0 : SWIG_croak_null();
29231 : }
29232 : }
29233 :
29234 :
29235 0 : XS(_wrap_mapObj_width_get) {
29236 : {
29237 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29238 0 : void *argp1 = 0 ;
29239 : int res1 = 0 ;
29240 : int argvi = 0;
29241 : int result;
29242 0 : dXSARGS;
29243 :
29244 0 : if ((items < 1) || (items > 1)) {
29245 0 : SWIG_croak("Usage: mapObj_width_get(self);");
29246 : }
29247 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29248 0 : if (!SWIG_IsOK(res1)) {
29249 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_width_get" "', argument " "1"" of type '" "struct mapObj *""'");
29250 : }
29251 0 : arg1 = (struct mapObj *)(argp1);
29252 0 : result = (int) ((arg1)->width);
29253 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29254 :
29255 0 : XSRETURN(argvi);
29256 : fail:
29257 :
29258 0 : SWIG_croak_null();
29259 : }
29260 : }
29261 :
29262 :
29263 0 : XS(_wrap_mapObj_maxsize_set) {
29264 : {
29265 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29266 : int arg2 ;
29267 0 : void *argp1 = 0 ;
29268 : int res1 = 0 ;
29269 : int val2 ;
29270 : int ecode2 = 0 ;
29271 : int argvi = 0;
29272 0 : dXSARGS;
29273 :
29274 0 : if ((items < 2) || (items > 2)) {
29275 0 : SWIG_croak("Usage: mapObj_maxsize_set(self,maxsize);");
29276 : }
29277 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29278 0 : if (!SWIG_IsOK(res1)) {
29279 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_maxsize_set" "', argument " "1"" of type '" "struct mapObj *""'");
29280 : }
29281 0 : arg1 = (struct mapObj *)(argp1);
29282 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29283 0 : if (!SWIG_IsOK(ecode2)) {
29284 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_maxsize_set" "', argument " "2"" of type '" "int""'");
29285 : }
29286 0 : arg2 = (int)(val2);
29287 0 : if (arg1) (arg1)->maxsize = arg2;
29288 0 : ST(argvi) = sv_newmortal();
29289 :
29290 :
29291 0 : XSRETURN(argvi);
29292 : fail:
29293 :
29294 :
29295 0 : SWIG_croak_null();
29296 : }
29297 : }
29298 :
29299 :
29300 0 : XS(_wrap_mapObj_maxsize_get) {
29301 : {
29302 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29303 0 : void *argp1 = 0 ;
29304 : int res1 = 0 ;
29305 : int argvi = 0;
29306 : int result;
29307 0 : dXSARGS;
29308 :
29309 0 : if ((items < 1) || (items > 1)) {
29310 0 : SWIG_croak("Usage: mapObj_maxsize_get(self);");
29311 : }
29312 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29313 0 : if (!SWIG_IsOK(res1)) {
29314 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_maxsize_get" "', argument " "1"" of type '" "struct mapObj *""'");
29315 : }
29316 0 : arg1 = (struct mapObj *)(argp1);
29317 0 : result = (int) ((arg1)->maxsize);
29318 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29319 :
29320 0 : XSRETURN(argvi);
29321 : fail:
29322 :
29323 0 : SWIG_croak_null();
29324 : }
29325 : }
29326 :
29327 :
29328 0 : XS(_wrap_mapObj_refcount_get) {
29329 : {
29330 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29331 0 : void *argp1 = 0 ;
29332 : int res1 = 0 ;
29333 : int argvi = 0;
29334 : int result;
29335 0 : dXSARGS;
29336 :
29337 0 : if ((items < 1) || (items > 1)) {
29338 0 : SWIG_croak("Usage: mapObj_refcount_get(self);");
29339 : }
29340 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29341 0 : if (!SWIG_IsOK(res1)) {
29342 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_refcount_get" "', argument " "1"" of type '" "struct mapObj *""'");
29343 : }
29344 0 : arg1 = (struct mapObj *)(argp1);
29345 0 : result = (int) ((arg1)->refcount);
29346 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29347 :
29348 0 : XSRETURN(argvi);
29349 : fail:
29350 :
29351 0 : SWIG_croak_null();
29352 : }
29353 : }
29354 :
29355 :
29356 0 : XS(_wrap_mapObj_numlayers_get) {
29357 : {
29358 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29359 0 : void *argp1 = 0 ;
29360 : int res1 = 0 ;
29361 : int argvi = 0;
29362 : int result;
29363 0 : dXSARGS;
29364 :
29365 0 : if ((items < 1) || (items > 1)) {
29366 0 : SWIG_croak("Usage: mapObj_numlayers_get(self);");
29367 : }
29368 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29369 0 : if (!SWIG_IsOK(res1)) {
29370 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_numlayers_get" "', argument " "1"" of type '" "struct mapObj *""'");
29371 : }
29372 0 : arg1 = (struct mapObj *)(argp1);
29373 0 : result = (int) ((arg1)->numlayers);
29374 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29375 :
29376 0 : XSRETURN(argvi);
29377 : fail:
29378 :
29379 0 : SWIG_croak_null();
29380 : }
29381 : }
29382 :
29383 :
29384 0 : XS(_wrap_mapObj_maxlayers_get) {
29385 : {
29386 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29387 0 : void *argp1 = 0 ;
29388 : int res1 = 0 ;
29389 : int argvi = 0;
29390 : int result;
29391 0 : dXSARGS;
29392 :
29393 0 : if ((items < 1) || (items > 1)) {
29394 0 : SWIG_croak("Usage: mapObj_maxlayers_get(self);");
29395 : }
29396 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29397 0 : if (!SWIG_IsOK(res1)) {
29398 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_maxlayers_get" "', argument " "1"" of type '" "struct mapObj *""'");
29399 : }
29400 0 : arg1 = (struct mapObj *)(argp1);
29401 0 : result = (int) ((arg1)->maxlayers);
29402 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29403 :
29404 0 : XSRETURN(argvi);
29405 : fail:
29406 :
29407 0 : SWIG_croak_null();
29408 : }
29409 : }
29410 :
29411 :
29412 0 : XS(_wrap_mapObj_symbolset_get) {
29413 : {
29414 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29415 0 : void *argp1 = 0 ;
29416 : int res1 = 0 ;
29417 : int argvi = 0;
29418 : symbolSetObj *result = 0 ;
29419 0 : dXSARGS;
29420 :
29421 0 : if ((items < 1) || (items > 1)) {
29422 0 : SWIG_croak("Usage: mapObj_symbolset_get(self);");
29423 : }
29424 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29425 0 : if (!SWIG_IsOK(res1)) {
29426 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_symbolset_get" "', argument " "1"" of type '" "struct mapObj *""'");
29427 : }
29428 0 : arg1 = (struct mapObj *)(argp1);
29429 0 : result = (symbolSetObj *)& ((arg1)->symbolset);
29430 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolSetObj, 0 | SWIG_SHADOW); argvi++ ;
29431 :
29432 0 : XSRETURN(argvi);
29433 : fail:
29434 :
29435 0 : SWIG_croak_null();
29436 : }
29437 : }
29438 :
29439 :
29440 0 : XS(_wrap_mapObj_fontset_get) {
29441 : {
29442 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29443 0 : void *argp1 = 0 ;
29444 : int res1 = 0 ;
29445 : int argvi = 0;
29446 : fontSetObj *result = 0 ;
29447 0 : dXSARGS;
29448 :
29449 0 : if ((items < 1) || (items > 1)) {
29450 0 : SWIG_croak("Usage: mapObj_fontset_get(self);");
29451 : }
29452 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29453 0 : if (!SWIG_IsOK(res1)) {
29454 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_fontset_get" "', argument " "1"" of type '" "struct mapObj *""'");
29455 : }
29456 0 : arg1 = (struct mapObj *)(argp1);
29457 0 : result = (fontSetObj *)& ((arg1)->fontset);
29458 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fontSetObj, 0 | SWIG_SHADOW); argvi++ ;
29459 :
29460 0 : XSRETURN(argvi);
29461 : fail:
29462 :
29463 0 : SWIG_croak_null();
29464 : }
29465 : }
29466 :
29467 :
29468 0 : XS(_wrap_mapObj_labelcache_get) {
29469 : {
29470 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29471 0 : void *argp1 = 0 ;
29472 : int res1 = 0 ;
29473 : int argvi = 0;
29474 : labelCacheObj *result = 0 ;
29475 0 : dXSARGS;
29476 :
29477 0 : if ((items < 1) || (items > 1)) {
29478 0 : SWIG_croak("Usage: mapObj_labelcache_get(self);");
29479 : }
29480 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29481 0 : if (!SWIG_IsOK(res1)) {
29482 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_labelcache_get" "', argument " "1"" of type '" "struct mapObj *""'");
29483 : }
29484 0 : arg1 = (struct mapObj *)(argp1);
29485 0 : result = (labelCacheObj *)& ((arg1)->labelcache);
29486 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheObj, 0 | SWIG_SHADOW); argvi++ ;
29487 :
29488 0 : XSRETURN(argvi);
29489 : fail:
29490 :
29491 0 : SWIG_croak_null();
29492 : }
29493 : }
29494 :
29495 :
29496 0 : XS(_wrap_mapObj_transparent_set) {
29497 : {
29498 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29499 : int arg2 ;
29500 0 : void *argp1 = 0 ;
29501 : int res1 = 0 ;
29502 : int val2 ;
29503 : int ecode2 = 0 ;
29504 : int argvi = 0;
29505 0 : dXSARGS;
29506 :
29507 0 : if ((items < 2) || (items > 2)) {
29508 0 : SWIG_croak("Usage: mapObj_transparent_set(self,transparent);");
29509 : }
29510 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29511 0 : if (!SWIG_IsOK(res1)) {
29512 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_transparent_set" "', argument " "1"" of type '" "struct mapObj *""'");
29513 : }
29514 0 : arg1 = (struct mapObj *)(argp1);
29515 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29516 0 : if (!SWIG_IsOK(ecode2)) {
29517 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_transparent_set" "', argument " "2"" of type '" "int""'");
29518 : }
29519 0 : arg2 = (int)(val2);
29520 0 : if (arg1) (arg1)->transparent = arg2;
29521 0 : ST(argvi) = sv_newmortal();
29522 :
29523 :
29524 0 : XSRETURN(argvi);
29525 : fail:
29526 :
29527 :
29528 0 : SWIG_croak_null();
29529 : }
29530 : }
29531 :
29532 :
29533 0 : XS(_wrap_mapObj_transparent_get) {
29534 : {
29535 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29536 0 : void *argp1 = 0 ;
29537 : int res1 = 0 ;
29538 : int argvi = 0;
29539 : int result;
29540 0 : dXSARGS;
29541 :
29542 0 : if ((items < 1) || (items > 1)) {
29543 0 : SWIG_croak("Usage: mapObj_transparent_get(self);");
29544 : }
29545 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29546 0 : if (!SWIG_IsOK(res1)) {
29547 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_transparent_get" "', argument " "1"" of type '" "struct mapObj *""'");
29548 : }
29549 0 : arg1 = (struct mapObj *)(argp1);
29550 0 : result = (int) ((arg1)->transparent);
29551 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29552 :
29553 0 : XSRETURN(argvi);
29554 : fail:
29555 :
29556 0 : SWIG_croak_null();
29557 : }
29558 : }
29559 :
29560 :
29561 0 : XS(_wrap_mapObj_interlace_set) {
29562 : {
29563 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29564 : int arg2 ;
29565 0 : void *argp1 = 0 ;
29566 : int res1 = 0 ;
29567 : int val2 ;
29568 : int ecode2 = 0 ;
29569 : int argvi = 0;
29570 0 : dXSARGS;
29571 :
29572 0 : if ((items < 2) || (items > 2)) {
29573 0 : SWIG_croak("Usage: mapObj_interlace_set(self,interlace);");
29574 : }
29575 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29576 0 : if (!SWIG_IsOK(res1)) {
29577 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_interlace_set" "', argument " "1"" of type '" "struct mapObj *""'");
29578 : }
29579 0 : arg1 = (struct mapObj *)(argp1);
29580 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29581 0 : if (!SWIG_IsOK(ecode2)) {
29582 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_interlace_set" "', argument " "2"" of type '" "int""'");
29583 : }
29584 0 : arg2 = (int)(val2);
29585 0 : if (arg1) (arg1)->interlace = arg2;
29586 0 : ST(argvi) = sv_newmortal();
29587 :
29588 :
29589 0 : XSRETURN(argvi);
29590 : fail:
29591 :
29592 :
29593 0 : SWIG_croak_null();
29594 : }
29595 : }
29596 :
29597 :
29598 0 : XS(_wrap_mapObj_interlace_get) {
29599 : {
29600 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29601 0 : void *argp1 = 0 ;
29602 : int res1 = 0 ;
29603 : int argvi = 0;
29604 : int result;
29605 0 : dXSARGS;
29606 :
29607 0 : if ((items < 1) || (items > 1)) {
29608 0 : SWIG_croak("Usage: mapObj_interlace_get(self);");
29609 : }
29610 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29611 0 : if (!SWIG_IsOK(res1)) {
29612 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_interlace_get" "', argument " "1"" of type '" "struct mapObj *""'");
29613 : }
29614 0 : arg1 = (struct mapObj *)(argp1);
29615 0 : result = (int) ((arg1)->interlace);
29616 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29617 :
29618 0 : XSRETURN(argvi);
29619 : fail:
29620 :
29621 0 : SWIG_croak_null();
29622 : }
29623 : }
29624 :
29625 :
29626 0 : XS(_wrap_mapObj_imagequality_set) {
29627 : {
29628 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29629 : int arg2 ;
29630 0 : void *argp1 = 0 ;
29631 : int res1 = 0 ;
29632 : int val2 ;
29633 : int ecode2 = 0 ;
29634 : int argvi = 0;
29635 0 : dXSARGS;
29636 :
29637 0 : if ((items < 2) || (items > 2)) {
29638 0 : SWIG_croak("Usage: mapObj_imagequality_set(self,imagequality);");
29639 : }
29640 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29641 0 : if (!SWIG_IsOK(res1)) {
29642 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagequality_set" "', argument " "1"" of type '" "struct mapObj *""'");
29643 : }
29644 0 : arg1 = (struct mapObj *)(argp1);
29645 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29646 0 : if (!SWIG_IsOK(ecode2)) {
29647 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_imagequality_set" "', argument " "2"" of type '" "int""'");
29648 : }
29649 0 : arg2 = (int)(val2);
29650 0 : if (arg1) (arg1)->imagequality = arg2;
29651 0 : ST(argvi) = sv_newmortal();
29652 :
29653 :
29654 0 : XSRETURN(argvi);
29655 : fail:
29656 :
29657 :
29658 0 : SWIG_croak_null();
29659 : }
29660 : }
29661 :
29662 :
29663 0 : XS(_wrap_mapObj_imagequality_get) {
29664 : {
29665 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29666 0 : void *argp1 = 0 ;
29667 : int res1 = 0 ;
29668 : int argvi = 0;
29669 : int result;
29670 0 : dXSARGS;
29671 :
29672 0 : if ((items < 1) || (items > 1)) {
29673 0 : SWIG_croak("Usage: mapObj_imagequality_get(self);");
29674 : }
29675 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29676 0 : if (!SWIG_IsOK(res1)) {
29677 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagequality_get" "', argument " "1"" of type '" "struct mapObj *""'");
29678 : }
29679 0 : arg1 = (struct mapObj *)(argp1);
29680 0 : result = (int) ((arg1)->imagequality);
29681 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29682 :
29683 0 : XSRETURN(argvi);
29684 : fail:
29685 :
29686 0 : SWIG_croak_null();
29687 : }
29688 : }
29689 :
29690 :
29691 0 : XS(_wrap_mapObj_extent_set) {
29692 : {
29693 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29694 : rectObj *arg2 = (rectObj *) 0 ;
29695 0 : void *argp1 = 0 ;
29696 : int res1 = 0 ;
29697 0 : void *argp2 = 0 ;
29698 : int res2 = 0 ;
29699 : int argvi = 0;
29700 0 : dXSARGS;
29701 :
29702 0 : if ((items < 2) || (items > 2)) {
29703 0 : SWIG_croak("Usage: mapObj_extent_set(self,extent);");
29704 : }
29705 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29706 0 : if (!SWIG_IsOK(res1)) {
29707 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_extent_set" "', argument " "1"" of type '" "struct mapObj *""'");
29708 : }
29709 0 : arg1 = (struct mapObj *)(argp1);
29710 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 | 0 );
29711 0 : if (!SWIG_IsOK(res2)) {
29712 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_extent_set" "', argument " "2"" of type '" "rectObj *""'");
29713 : }
29714 0 : arg2 = (rectObj *)(argp2);
29715 0 : if (arg1) (arg1)->extent = *arg2;
29716 0 : ST(argvi) = sv_newmortal();
29717 :
29718 :
29719 0 : XSRETURN(argvi);
29720 : fail:
29721 :
29722 :
29723 0 : SWIG_croak_null();
29724 : }
29725 : }
29726 :
29727 :
29728 0 : XS(_wrap_mapObj_extent_get) {
29729 : {
29730 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29731 0 : void *argp1 = 0 ;
29732 : int res1 = 0 ;
29733 : int argvi = 0;
29734 : rectObj *result = 0 ;
29735 0 : dXSARGS;
29736 :
29737 0 : if ((items < 1) || (items > 1)) {
29738 0 : SWIG_croak("Usage: mapObj_extent_get(self);");
29739 : }
29740 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29741 0 : if (!SWIG_IsOK(res1)) {
29742 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_extent_get" "', argument " "1"" of type '" "struct mapObj *""'");
29743 : }
29744 0 : arg1 = (struct mapObj *)(argp1);
29745 0 : result = (rectObj *)& ((arg1)->extent);
29746 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
29747 :
29748 0 : XSRETURN(argvi);
29749 : fail:
29750 :
29751 0 : SWIG_croak_null();
29752 : }
29753 : }
29754 :
29755 :
29756 0 : XS(_wrap_mapObj_cellsize_set) {
29757 : {
29758 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29759 : double arg2 ;
29760 0 : void *argp1 = 0 ;
29761 : int res1 = 0 ;
29762 : double val2 ;
29763 : int ecode2 = 0 ;
29764 : int argvi = 0;
29765 0 : dXSARGS;
29766 :
29767 0 : if ((items < 2) || (items > 2)) {
29768 0 : SWIG_croak("Usage: mapObj_cellsize_set(self,cellsize);");
29769 : }
29770 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29771 0 : if (!SWIG_IsOK(res1)) {
29772 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_cellsize_set" "', argument " "1"" of type '" "struct mapObj *""'");
29773 : }
29774 0 : arg1 = (struct mapObj *)(argp1);
29775 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29776 0 : if (!SWIG_IsOK(ecode2)) {
29777 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_cellsize_set" "', argument " "2"" of type '" "double""'");
29778 : }
29779 0 : arg2 = (double)(val2);
29780 0 : if (arg1) (arg1)->cellsize = arg2;
29781 0 : ST(argvi) = sv_newmortal();
29782 :
29783 :
29784 0 : XSRETURN(argvi);
29785 : fail:
29786 :
29787 :
29788 0 : SWIG_croak_null();
29789 : }
29790 : }
29791 :
29792 :
29793 0 : XS(_wrap_mapObj_cellsize_get) {
29794 : {
29795 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29796 0 : void *argp1 = 0 ;
29797 : int res1 = 0 ;
29798 : int argvi = 0;
29799 : double result;
29800 0 : dXSARGS;
29801 :
29802 0 : if ((items < 1) || (items > 1)) {
29803 0 : SWIG_croak("Usage: mapObj_cellsize_get(self);");
29804 : }
29805 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29806 0 : if (!SWIG_IsOK(res1)) {
29807 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_cellsize_get" "', argument " "1"" of type '" "struct mapObj *""'");
29808 : }
29809 0 : arg1 = (struct mapObj *)(argp1);
29810 0 : result = (double) ((arg1)->cellsize);
29811 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
29812 :
29813 0 : XSRETURN(argvi);
29814 : fail:
29815 :
29816 0 : SWIG_croak_null();
29817 : }
29818 : }
29819 :
29820 :
29821 0 : XS(_wrap_mapObj_units_set) {
29822 : {
29823 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29824 : enum MS_UNITS arg2 ;
29825 0 : void *argp1 = 0 ;
29826 : int res1 = 0 ;
29827 : int val2 ;
29828 : int ecode2 = 0 ;
29829 : int argvi = 0;
29830 0 : dXSARGS;
29831 :
29832 0 : if ((items < 2) || (items > 2)) {
29833 0 : SWIG_croak("Usage: mapObj_units_set(self,units);");
29834 : }
29835 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29836 0 : if (!SWIG_IsOK(res1)) {
29837 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_units_set" "', argument " "1"" of type '" "struct mapObj *""'");
29838 : }
29839 0 : arg1 = (struct mapObj *)(argp1);
29840 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29841 0 : if (!SWIG_IsOK(ecode2)) {
29842 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_units_set" "', argument " "2"" of type '" "enum MS_UNITS""'");
29843 : }
29844 0 : arg2 = (enum MS_UNITS)(val2);
29845 0 : if (arg1) (arg1)->units = arg2;
29846 0 : ST(argvi) = sv_newmortal();
29847 :
29848 :
29849 0 : XSRETURN(argvi);
29850 : fail:
29851 :
29852 :
29853 0 : SWIG_croak_null();
29854 : }
29855 : }
29856 :
29857 :
29858 0 : XS(_wrap_mapObj_units_get) {
29859 : {
29860 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29861 0 : void *argp1 = 0 ;
29862 : int res1 = 0 ;
29863 : int argvi = 0;
29864 : enum MS_UNITS result;
29865 0 : dXSARGS;
29866 :
29867 0 : if ((items < 1) || (items > 1)) {
29868 0 : SWIG_croak("Usage: mapObj_units_get(self);");
29869 : }
29870 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29871 0 : if (!SWIG_IsOK(res1)) {
29872 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_units_get" "', argument " "1"" of type '" "struct mapObj *""'");
29873 : }
29874 0 : arg1 = (struct mapObj *)(argp1);
29875 0 : result = (enum MS_UNITS) ((arg1)->units);
29876 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
29877 :
29878 0 : XSRETURN(argvi);
29879 : fail:
29880 :
29881 0 : SWIG_croak_null();
29882 : }
29883 : }
29884 :
29885 :
29886 0 : XS(_wrap_mapObj_scaledenom_set) {
29887 : {
29888 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29889 : double arg2 ;
29890 0 : void *argp1 = 0 ;
29891 : int res1 = 0 ;
29892 : double val2 ;
29893 : int ecode2 = 0 ;
29894 : int argvi = 0;
29895 0 : dXSARGS;
29896 :
29897 0 : if ((items < 2) || (items > 2)) {
29898 0 : SWIG_croak("Usage: mapObj_scaledenom_set(self,scaledenom);");
29899 : }
29900 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29901 0 : if (!SWIG_IsOK(res1)) {
29902 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scaledenom_set" "', argument " "1"" of type '" "struct mapObj *""'");
29903 : }
29904 0 : arg1 = (struct mapObj *)(argp1);
29905 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29906 0 : if (!SWIG_IsOK(ecode2)) {
29907 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_scaledenom_set" "', argument " "2"" of type '" "double""'");
29908 : }
29909 0 : arg2 = (double)(val2);
29910 0 : if (arg1) (arg1)->scaledenom = arg2;
29911 0 : ST(argvi) = sv_newmortal();
29912 :
29913 :
29914 0 : XSRETURN(argvi);
29915 : fail:
29916 :
29917 :
29918 0 : SWIG_croak_null();
29919 : }
29920 : }
29921 :
29922 :
29923 0 : XS(_wrap_mapObj_scaledenom_get) {
29924 : {
29925 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29926 0 : void *argp1 = 0 ;
29927 : int res1 = 0 ;
29928 : int argvi = 0;
29929 : double result;
29930 0 : dXSARGS;
29931 :
29932 0 : if ((items < 1) || (items > 1)) {
29933 0 : SWIG_croak("Usage: mapObj_scaledenom_get(self);");
29934 : }
29935 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29936 0 : if (!SWIG_IsOK(res1)) {
29937 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scaledenom_get" "', argument " "1"" of type '" "struct mapObj *""'");
29938 : }
29939 0 : arg1 = (struct mapObj *)(argp1);
29940 0 : result = (double) ((arg1)->scaledenom);
29941 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
29942 :
29943 0 : XSRETURN(argvi);
29944 : fail:
29945 :
29946 0 : SWIG_croak_null();
29947 : }
29948 : }
29949 :
29950 :
29951 0 : XS(_wrap_mapObj_resolution_set) {
29952 : {
29953 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29954 : double arg2 ;
29955 0 : void *argp1 = 0 ;
29956 : int res1 = 0 ;
29957 : double val2 ;
29958 : int ecode2 = 0 ;
29959 : int argvi = 0;
29960 0 : dXSARGS;
29961 :
29962 0 : if ((items < 2) || (items > 2)) {
29963 0 : SWIG_croak("Usage: mapObj_resolution_set(self,resolution);");
29964 : }
29965 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
29966 0 : if (!SWIG_IsOK(res1)) {
29967 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_resolution_set" "', argument " "1"" of type '" "struct mapObj *""'");
29968 : }
29969 0 : arg1 = (struct mapObj *)(argp1);
29970 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
29971 0 : if (!SWIG_IsOK(ecode2)) {
29972 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_resolution_set" "', argument " "2"" of type '" "double""'");
29973 : }
29974 0 : arg2 = (double)(val2);
29975 0 : if (arg1) (arg1)->resolution = arg2;
29976 0 : ST(argvi) = sv_newmortal();
29977 :
29978 :
29979 0 : XSRETURN(argvi);
29980 : fail:
29981 :
29982 :
29983 0 : SWIG_croak_null();
29984 : }
29985 : }
29986 :
29987 :
29988 0 : XS(_wrap_mapObj_resolution_get) {
29989 : {
29990 : struct mapObj *arg1 = (struct mapObj *) 0 ;
29991 0 : void *argp1 = 0 ;
29992 : int res1 = 0 ;
29993 : int argvi = 0;
29994 : double result;
29995 0 : dXSARGS;
29996 :
29997 0 : if ((items < 1) || (items > 1)) {
29998 0 : SWIG_croak("Usage: mapObj_resolution_get(self);");
29999 : }
30000 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30001 0 : if (!SWIG_IsOK(res1)) {
30002 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_resolution_get" "', argument " "1"" of type '" "struct mapObj *""'");
30003 : }
30004 0 : arg1 = (struct mapObj *)(argp1);
30005 0 : result = (double) ((arg1)->resolution);
30006 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
30007 :
30008 0 : XSRETURN(argvi);
30009 : fail:
30010 :
30011 0 : SWIG_croak_null();
30012 : }
30013 : }
30014 :
30015 :
30016 0 : XS(_wrap_mapObj_defresolution_set) {
30017 : {
30018 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30019 : double arg2 ;
30020 0 : void *argp1 = 0 ;
30021 : int res1 = 0 ;
30022 : double val2 ;
30023 : int ecode2 = 0 ;
30024 : int argvi = 0;
30025 0 : dXSARGS;
30026 :
30027 0 : if ((items < 2) || (items > 2)) {
30028 0 : SWIG_croak("Usage: mapObj_defresolution_set(self,defresolution);");
30029 : }
30030 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30031 0 : if (!SWIG_IsOK(res1)) {
30032 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_defresolution_set" "', argument " "1"" of type '" "struct mapObj *""'");
30033 : }
30034 0 : arg1 = (struct mapObj *)(argp1);
30035 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
30036 0 : if (!SWIG_IsOK(ecode2)) {
30037 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_defresolution_set" "', argument " "2"" of type '" "double""'");
30038 : }
30039 0 : arg2 = (double)(val2);
30040 0 : if (arg1) (arg1)->defresolution = arg2;
30041 0 : ST(argvi) = sv_newmortal();
30042 :
30043 :
30044 0 : XSRETURN(argvi);
30045 : fail:
30046 :
30047 :
30048 0 : SWIG_croak_null();
30049 : }
30050 : }
30051 :
30052 :
30053 0 : XS(_wrap_mapObj_defresolution_get) {
30054 : {
30055 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30056 0 : void *argp1 = 0 ;
30057 : int res1 = 0 ;
30058 : int argvi = 0;
30059 : double result;
30060 0 : dXSARGS;
30061 :
30062 0 : if ((items < 1) || (items > 1)) {
30063 0 : SWIG_croak("Usage: mapObj_defresolution_get(self);");
30064 : }
30065 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30066 0 : if (!SWIG_IsOK(res1)) {
30067 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_defresolution_get" "', argument " "1"" of type '" "struct mapObj *""'");
30068 : }
30069 0 : arg1 = (struct mapObj *)(argp1);
30070 0 : result = (double) ((arg1)->defresolution);
30071 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
30072 :
30073 0 : XSRETURN(argvi);
30074 : fail:
30075 :
30076 0 : SWIG_croak_null();
30077 : }
30078 : }
30079 :
30080 :
30081 0 : XS(_wrap_mapObj_shapepath_set) {
30082 : {
30083 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30084 : char *arg2 = (char *) 0 ;
30085 0 : void *argp1 = 0 ;
30086 : int res1 = 0 ;
30087 : int res2 ;
30088 0 : char *buf2 = 0 ;
30089 0 : int alloc2 = 0 ;
30090 : int argvi = 0;
30091 0 : dXSARGS;
30092 :
30093 0 : if ((items < 2) || (items > 2)) {
30094 0 : SWIG_croak("Usage: mapObj_shapepath_set(self,shapepath);");
30095 : }
30096 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30097 0 : if (!SWIG_IsOK(res1)) {
30098 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_shapepath_set" "', argument " "1"" of type '" "struct mapObj *""'");
30099 : }
30100 0 : arg1 = (struct mapObj *)(argp1);
30101 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
30102 0 : if (!SWIG_IsOK(res2)) {
30103 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_shapepath_set" "', argument " "2"" of type '" "char *""'");
30104 : }
30105 0 : arg2 = (char *)(buf2);
30106 : {
30107 0 : if (arg1->shapepath) free((char*)arg1->shapepath);
30108 0 : if (arg2) {
30109 0 : arg1->shapepath = (char *) malloc(strlen(arg2)+1);
30110 : strcpy((char*)arg1->shapepath,arg2);
30111 : } else {
30112 0 : arg1->shapepath = 0;
30113 : }
30114 : }
30115 0 : ST(argvi) = sv_newmortal();
30116 :
30117 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30118 0 : XSRETURN(argvi);
30119 : fail:
30120 :
30121 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30122 0 : SWIG_croak_null();
30123 : }
30124 : }
30125 :
30126 :
30127 0 : XS(_wrap_mapObj_shapepath_get) {
30128 : {
30129 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30130 0 : void *argp1 = 0 ;
30131 : int res1 = 0 ;
30132 : int argvi = 0;
30133 : char *result = 0 ;
30134 0 : dXSARGS;
30135 :
30136 0 : if ((items < 1) || (items > 1)) {
30137 0 : SWIG_croak("Usage: mapObj_shapepath_get(self);");
30138 : }
30139 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30140 0 : if (!SWIG_IsOK(res1)) {
30141 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_shapepath_get" "', argument " "1"" of type '" "struct mapObj *""'");
30142 : }
30143 0 : arg1 = (struct mapObj *)(argp1);
30144 0 : result = (char *) ((arg1)->shapepath);
30145 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
30146 :
30147 0 : XSRETURN(argvi);
30148 : fail:
30149 :
30150 0 : SWIG_croak_null();
30151 : }
30152 : }
30153 :
30154 :
30155 0 : XS(_wrap_mapObj_mappath_set) {
30156 : {
30157 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30158 : char *arg2 = (char *) 0 ;
30159 0 : void *argp1 = 0 ;
30160 : int res1 = 0 ;
30161 : int res2 ;
30162 0 : char *buf2 = 0 ;
30163 0 : int alloc2 = 0 ;
30164 : int argvi = 0;
30165 0 : dXSARGS;
30166 :
30167 0 : if ((items < 2) || (items > 2)) {
30168 0 : SWIG_croak("Usage: mapObj_mappath_set(self,mappath);");
30169 : }
30170 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30171 0 : if (!SWIG_IsOK(res1)) {
30172 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_mappath_set" "', argument " "1"" of type '" "struct mapObj *""'");
30173 : }
30174 0 : arg1 = (struct mapObj *)(argp1);
30175 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
30176 0 : if (!SWIG_IsOK(res2)) {
30177 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_mappath_set" "', argument " "2"" of type '" "char *""'");
30178 : }
30179 0 : arg2 = (char *)(buf2);
30180 : {
30181 0 : if (arg1->mappath) free((char*)arg1->mappath);
30182 0 : if (arg2) {
30183 0 : arg1->mappath = (char *) malloc(strlen(arg2)+1);
30184 : strcpy((char*)arg1->mappath,arg2);
30185 : } else {
30186 0 : arg1->mappath = 0;
30187 : }
30188 : }
30189 0 : ST(argvi) = sv_newmortal();
30190 :
30191 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30192 0 : XSRETURN(argvi);
30193 : fail:
30194 :
30195 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30196 0 : SWIG_croak_null();
30197 : }
30198 : }
30199 :
30200 :
30201 0 : XS(_wrap_mapObj_mappath_get) {
30202 : {
30203 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30204 0 : void *argp1 = 0 ;
30205 : int res1 = 0 ;
30206 : int argvi = 0;
30207 : char *result = 0 ;
30208 0 : dXSARGS;
30209 :
30210 0 : if ((items < 1) || (items > 1)) {
30211 0 : SWIG_croak("Usage: mapObj_mappath_get(self);");
30212 : }
30213 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30214 0 : if (!SWIG_IsOK(res1)) {
30215 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_mappath_get" "', argument " "1"" of type '" "struct mapObj *""'");
30216 : }
30217 0 : arg1 = (struct mapObj *)(argp1);
30218 0 : result = (char *) ((arg1)->mappath);
30219 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
30220 :
30221 0 : XSRETURN(argvi);
30222 : fail:
30223 :
30224 0 : SWIG_croak_null();
30225 : }
30226 : }
30227 :
30228 :
30229 0 : XS(_wrap_mapObj_imagecolor_set) {
30230 : {
30231 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30232 : colorObj *arg2 = (colorObj *) 0 ;
30233 0 : void *argp1 = 0 ;
30234 : int res1 = 0 ;
30235 0 : void *argp2 = 0 ;
30236 : int res2 = 0 ;
30237 : int argvi = 0;
30238 0 : dXSARGS;
30239 :
30240 0 : if ((items < 2) || (items > 2)) {
30241 0 : SWIG_croak("Usage: mapObj_imagecolor_set(self,imagecolor);");
30242 : }
30243 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30244 0 : if (!SWIG_IsOK(res1)) {
30245 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagecolor_set" "', argument " "1"" of type '" "struct mapObj *""'");
30246 : }
30247 0 : arg1 = (struct mapObj *)(argp1);
30248 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 | 0 );
30249 0 : if (!SWIG_IsOK(res2)) {
30250 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_imagecolor_set" "', argument " "2"" of type '" "colorObj *""'");
30251 : }
30252 0 : arg2 = (colorObj *)(argp2);
30253 0 : if (arg1) (arg1)->imagecolor = *arg2;
30254 0 : ST(argvi) = sv_newmortal();
30255 :
30256 :
30257 0 : XSRETURN(argvi);
30258 : fail:
30259 :
30260 :
30261 0 : SWIG_croak_null();
30262 : }
30263 : }
30264 :
30265 :
30266 0 : XS(_wrap_mapObj_imagecolor_get) {
30267 : {
30268 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30269 0 : void *argp1 = 0 ;
30270 : int res1 = 0 ;
30271 : int argvi = 0;
30272 : colorObj *result = 0 ;
30273 0 : dXSARGS;
30274 :
30275 0 : if ((items < 1) || (items > 1)) {
30276 0 : SWIG_croak("Usage: mapObj_imagecolor_get(self);");
30277 : }
30278 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30279 0 : if (!SWIG_IsOK(res1)) {
30280 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagecolor_get" "', argument " "1"" of type '" "struct mapObj *""'");
30281 : }
30282 0 : arg1 = (struct mapObj *)(argp1);
30283 0 : result = (colorObj *)& ((arg1)->imagecolor);
30284 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
30285 :
30286 0 : XSRETURN(argvi);
30287 : fail:
30288 :
30289 0 : SWIG_croak_null();
30290 : }
30291 : }
30292 :
30293 :
30294 0 : XS(_wrap_mapObj_numoutputformats_get) {
30295 : {
30296 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30297 0 : void *argp1 = 0 ;
30298 : int res1 = 0 ;
30299 : int argvi = 0;
30300 : int result;
30301 0 : dXSARGS;
30302 :
30303 0 : if ((items < 1) || (items > 1)) {
30304 0 : SWIG_croak("Usage: mapObj_numoutputformats_get(self);");
30305 : }
30306 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30307 0 : if (!SWIG_IsOK(res1)) {
30308 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_numoutputformats_get" "', argument " "1"" of type '" "struct mapObj *""'");
30309 : }
30310 0 : arg1 = (struct mapObj *)(argp1);
30311 0 : result = (int) ((arg1)->numoutputformats);
30312 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
30313 :
30314 0 : XSRETURN(argvi);
30315 : fail:
30316 :
30317 0 : SWIG_croak_null();
30318 : }
30319 : }
30320 :
30321 :
30322 0 : XS(_wrap_mapObj_outputformat_get) {
30323 : {
30324 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30325 0 : void *argp1 = 0 ;
30326 : int res1 = 0 ;
30327 : int argvi = 0;
30328 : outputFormatObj *result = 0 ;
30329 0 : dXSARGS;
30330 :
30331 0 : if ((items < 1) || (items > 1)) {
30332 0 : SWIG_croak("Usage: mapObj_outputformat_get(self);");
30333 : }
30334 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30335 0 : if (!SWIG_IsOK(res1)) {
30336 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_outputformat_get" "', argument " "1"" of type '" "struct mapObj *""'");
30337 : }
30338 0 : arg1 = (struct mapObj *)(argp1);
30339 0 : result = (outputFormatObj *) ((arg1)->outputformat);
30340 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, 0 | SWIG_SHADOW); argvi++ ;
30341 :
30342 0 : XSRETURN(argvi);
30343 : fail:
30344 :
30345 0 : SWIG_croak_null();
30346 : }
30347 : }
30348 :
30349 :
30350 0 : XS(_wrap_mapObj_imagetype_get) {
30351 : {
30352 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30353 0 : void *argp1 = 0 ;
30354 : int res1 = 0 ;
30355 : int argvi = 0;
30356 : char *result = 0 ;
30357 0 : dXSARGS;
30358 :
30359 0 : if ((items < 1) || (items > 1)) {
30360 0 : SWIG_croak("Usage: mapObj_imagetype_get(self);");
30361 : }
30362 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30363 0 : if (!SWIG_IsOK(res1)) {
30364 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagetype_get" "', argument " "1"" of type '" "struct mapObj *""'");
30365 : }
30366 0 : arg1 = (struct mapObj *)(argp1);
30367 0 : result = (char *) ((arg1)->imagetype);
30368 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
30369 :
30370 0 : XSRETURN(argvi);
30371 : fail:
30372 :
30373 0 : SWIG_croak_null();
30374 : }
30375 : }
30376 :
30377 :
30378 0 : XS(_wrap_mapObj_reference_get) {
30379 : {
30380 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30381 0 : void *argp1 = 0 ;
30382 : int res1 = 0 ;
30383 : int argvi = 0;
30384 : referenceMapObj *result = 0 ;
30385 0 : dXSARGS;
30386 :
30387 0 : if ((items < 1) || (items > 1)) {
30388 0 : SWIG_croak("Usage: mapObj_reference_get(self);");
30389 : }
30390 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30391 0 : if (!SWIG_IsOK(res1)) {
30392 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_reference_get" "', argument " "1"" of type '" "struct mapObj *""'");
30393 : }
30394 0 : arg1 = (struct mapObj *)(argp1);
30395 0 : result = (referenceMapObj *)& ((arg1)->reference);
30396 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_referenceMapObj, 0 | SWIG_SHADOW); argvi++ ;
30397 :
30398 0 : XSRETURN(argvi);
30399 : fail:
30400 :
30401 0 : SWIG_croak_null();
30402 : }
30403 : }
30404 :
30405 :
30406 0 : XS(_wrap_mapObj_scalebar_get) {
30407 : {
30408 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30409 0 : void *argp1 = 0 ;
30410 : int res1 = 0 ;
30411 : int argvi = 0;
30412 : scalebarObj *result = 0 ;
30413 0 : dXSARGS;
30414 :
30415 0 : if ((items < 1) || (items > 1)) {
30416 0 : SWIG_croak("Usage: mapObj_scalebar_get(self);");
30417 : }
30418 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30419 0 : if (!SWIG_IsOK(res1)) {
30420 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scalebar_get" "', argument " "1"" of type '" "struct mapObj *""'");
30421 : }
30422 0 : arg1 = (struct mapObj *)(argp1);
30423 0 : result = (scalebarObj *)& ((arg1)->scalebar);
30424 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scalebarObj, 0 | SWIG_SHADOW); argvi++ ;
30425 :
30426 0 : XSRETURN(argvi);
30427 : fail:
30428 :
30429 0 : SWIG_croak_null();
30430 : }
30431 : }
30432 :
30433 :
30434 0 : XS(_wrap_mapObj_legend_get) {
30435 : {
30436 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30437 0 : void *argp1 = 0 ;
30438 : int res1 = 0 ;
30439 : int argvi = 0;
30440 : legendObj *result = 0 ;
30441 0 : dXSARGS;
30442 :
30443 0 : if ((items < 1) || (items > 1)) {
30444 0 : SWIG_croak("Usage: mapObj_legend_get(self);");
30445 : }
30446 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30447 0 : if (!SWIG_IsOK(res1)) {
30448 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_legend_get" "', argument " "1"" of type '" "struct mapObj *""'");
30449 : }
30450 0 : arg1 = (struct mapObj *)(argp1);
30451 0 : result = (legendObj *)& ((arg1)->legend);
30452 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_legendObj, 0 | SWIG_SHADOW); argvi++ ;
30453 :
30454 0 : XSRETURN(argvi);
30455 : fail:
30456 :
30457 0 : SWIG_croak_null();
30458 : }
30459 : }
30460 :
30461 :
30462 0 : XS(_wrap_mapObj_querymap_get) {
30463 : {
30464 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30465 0 : void *argp1 = 0 ;
30466 : int res1 = 0 ;
30467 : int argvi = 0;
30468 : queryMapObj *result = 0 ;
30469 0 : dXSARGS;
30470 :
30471 0 : if ((items < 1) || (items > 1)) {
30472 0 : SWIG_croak("Usage: mapObj_querymap_get(self);");
30473 : }
30474 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30475 0 : if (!SWIG_IsOK(res1)) {
30476 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_querymap_get" "', argument " "1"" of type '" "struct mapObj *""'");
30477 : }
30478 0 : arg1 = (struct mapObj *)(argp1);
30479 0 : result = (queryMapObj *)& ((arg1)->querymap);
30480 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_queryMapObj, 0 | SWIG_SHADOW); argvi++ ;
30481 :
30482 0 : XSRETURN(argvi);
30483 : fail:
30484 :
30485 0 : SWIG_croak_null();
30486 : }
30487 : }
30488 :
30489 :
30490 0 : XS(_wrap_mapObj_web_get) {
30491 : {
30492 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30493 0 : void *argp1 = 0 ;
30494 : int res1 = 0 ;
30495 : int argvi = 0;
30496 : webObj *result = 0 ;
30497 0 : dXSARGS;
30498 :
30499 0 : if ((items < 1) || (items > 1)) {
30500 0 : SWIG_croak("Usage: mapObj_web_get(self);");
30501 : }
30502 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30503 0 : if (!SWIG_IsOK(res1)) {
30504 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_web_get" "', argument " "1"" of type '" "struct mapObj *""'");
30505 : }
30506 0 : arg1 = (struct mapObj *)(argp1);
30507 0 : result = (webObj *)& ((arg1)->web);
30508 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_webObj, 0 | SWIG_SHADOW); argvi++ ;
30509 :
30510 0 : XSRETURN(argvi);
30511 : fail:
30512 :
30513 0 : SWIG_croak_null();
30514 : }
30515 : }
30516 :
30517 :
30518 0 : XS(_wrap_mapObj_layerorder_set) {
30519 : {
30520 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30521 : int *arg2 = (int *) 0 ;
30522 0 : void *argp1 = 0 ;
30523 : int res1 = 0 ;
30524 0 : void *argp2 = 0 ;
30525 : int res2 = 0 ;
30526 : int argvi = 0;
30527 0 : dXSARGS;
30528 :
30529 0 : if ((items < 2) || (items > 2)) {
30530 0 : SWIG_croak("Usage: mapObj_layerorder_set(self,layerorder);");
30531 : }
30532 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30533 0 : if (!SWIG_IsOK(res1)) {
30534 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_layerorder_set" "', argument " "1"" of type '" "struct mapObj *""'");
30535 : }
30536 0 : arg1 = (struct mapObj *)(argp1);
30537 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, SWIG_POINTER_DISOWN | 0 );
30538 0 : if (!SWIG_IsOK(res2)) {
30539 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_layerorder_set" "', argument " "2"" of type '" "int *""'");
30540 : }
30541 0 : arg2 = (int *)(argp2);
30542 0 : if (arg1) (arg1)->layerorder = arg2;
30543 0 : ST(argvi) = sv_newmortal();
30544 :
30545 :
30546 0 : XSRETURN(argvi);
30547 : fail:
30548 :
30549 :
30550 0 : SWIG_croak_null();
30551 : }
30552 : }
30553 :
30554 :
30555 0 : XS(_wrap_mapObj_layerorder_get) {
30556 : {
30557 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30558 0 : void *argp1 = 0 ;
30559 : int res1 = 0 ;
30560 : int argvi = 0;
30561 : int *result = 0 ;
30562 0 : dXSARGS;
30563 :
30564 0 : if ((items < 1) || (items > 1)) {
30565 0 : SWIG_croak("Usage: mapObj_layerorder_get(self);");
30566 : }
30567 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30568 0 : if (!SWIG_IsOK(res1)) {
30569 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_layerorder_get" "', argument " "1"" of type '" "struct mapObj *""'");
30570 : }
30571 0 : arg1 = (struct mapObj *)(argp1);
30572 0 : result = (int *) ((arg1)->layerorder);
30573 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
30574 :
30575 0 : XSRETURN(argvi);
30576 : fail:
30577 :
30578 0 : SWIG_croak_null();
30579 : }
30580 : }
30581 :
30582 :
30583 0 : XS(_wrap_mapObj_debug_set) {
30584 : {
30585 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30586 : int arg2 ;
30587 0 : void *argp1 = 0 ;
30588 : int res1 = 0 ;
30589 : int val2 ;
30590 : int ecode2 = 0 ;
30591 : int argvi = 0;
30592 0 : dXSARGS;
30593 :
30594 0 : if ((items < 2) || (items > 2)) {
30595 0 : SWIG_croak("Usage: mapObj_debug_set(self,debug);");
30596 : }
30597 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30598 0 : if (!SWIG_IsOK(res1)) {
30599 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_debug_set" "', argument " "1"" of type '" "struct mapObj *""'");
30600 : }
30601 0 : arg1 = (struct mapObj *)(argp1);
30602 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
30603 0 : if (!SWIG_IsOK(ecode2)) {
30604 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_debug_set" "', argument " "2"" of type '" "int""'");
30605 : }
30606 0 : arg2 = (int)(val2);
30607 0 : if (arg1) (arg1)->debug = arg2;
30608 0 : ST(argvi) = sv_newmortal();
30609 :
30610 :
30611 0 : XSRETURN(argvi);
30612 : fail:
30613 :
30614 :
30615 0 : SWIG_croak_null();
30616 : }
30617 : }
30618 :
30619 :
30620 0 : XS(_wrap_mapObj_debug_get) {
30621 : {
30622 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30623 0 : void *argp1 = 0 ;
30624 : int res1 = 0 ;
30625 : int argvi = 0;
30626 : int result;
30627 0 : dXSARGS;
30628 :
30629 0 : if ((items < 1) || (items > 1)) {
30630 0 : SWIG_croak("Usage: mapObj_debug_get(self);");
30631 : }
30632 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30633 0 : if (!SWIG_IsOK(res1)) {
30634 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_debug_get" "', argument " "1"" of type '" "struct mapObj *""'");
30635 : }
30636 0 : arg1 = (struct mapObj *)(argp1);
30637 0 : result = (int) ((arg1)->debug);
30638 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
30639 :
30640 0 : XSRETURN(argvi);
30641 : fail:
30642 :
30643 0 : SWIG_croak_null();
30644 : }
30645 : }
30646 :
30647 :
30648 0 : XS(_wrap_mapObj_datapattern_set) {
30649 : {
30650 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30651 : char *arg2 = (char *) 0 ;
30652 0 : void *argp1 = 0 ;
30653 : int res1 = 0 ;
30654 : int res2 ;
30655 0 : char *buf2 = 0 ;
30656 0 : int alloc2 = 0 ;
30657 : int argvi = 0;
30658 0 : dXSARGS;
30659 :
30660 0 : if ((items < 2) || (items > 2)) {
30661 0 : SWIG_croak("Usage: mapObj_datapattern_set(self,datapattern);");
30662 : }
30663 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30664 0 : if (!SWIG_IsOK(res1)) {
30665 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_datapattern_set" "', argument " "1"" of type '" "struct mapObj *""'");
30666 : }
30667 0 : arg1 = (struct mapObj *)(argp1);
30668 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
30669 0 : if (!SWIG_IsOK(res2)) {
30670 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_datapattern_set" "', argument " "2"" of type '" "char *""'");
30671 : }
30672 0 : arg2 = (char *)(buf2);
30673 : {
30674 0 : if (arg1->datapattern) free((char*)arg1->datapattern);
30675 0 : if (arg2) {
30676 0 : arg1->datapattern = (char *) malloc(strlen(arg2)+1);
30677 : strcpy((char*)arg1->datapattern,arg2);
30678 : } else {
30679 0 : arg1->datapattern = 0;
30680 : }
30681 : }
30682 0 : ST(argvi) = sv_newmortal();
30683 :
30684 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30685 0 : XSRETURN(argvi);
30686 : fail:
30687 :
30688 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30689 0 : SWIG_croak_null();
30690 : }
30691 : }
30692 :
30693 :
30694 0 : XS(_wrap_mapObj_datapattern_get) {
30695 : {
30696 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30697 0 : void *argp1 = 0 ;
30698 : int res1 = 0 ;
30699 : int argvi = 0;
30700 : char *result = 0 ;
30701 0 : dXSARGS;
30702 :
30703 0 : if ((items < 1) || (items > 1)) {
30704 0 : SWIG_croak("Usage: mapObj_datapattern_get(self);");
30705 : }
30706 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30707 0 : if (!SWIG_IsOK(res1)) {
30708 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_datapattern_get" "', argument " "1"" of type '" "struct mapObj *""'");
30709 : }
30710 0 : arg1 = (struct mapObj *)(argp1);
30711 0 : result = (char *) ((arg1)->datapattern);
30712 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
30713 :
30714 0 : XSRETURN(argvi);
30715 : fail:
30716 :
30717 0 : SWIG_croak_null();
30718 : }
30719 : }
30720 :
30721 :
30722 0 : XS(_wrap_mapObj_templatepattern_set) {
30723 : {
30724 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30725 : char *arg2 = (char *) 0 ;
30726 0 : void *argp1 = 0 ;
30727 : int res1 = 0 ;
30728 : int res2 ;
30729 0 : char *buf2 = 0 ;
30730 0 : int alloc2 = 0 ;
30731 : int argvi = 0;
30732 0 : dXSARGS;
30733 :
30734 0 : if ((items < 2) || (items > 2)) {
30735 0 : SWIG_croak("Usage: mapObj_templatepattern_set(self,templatepattern);");
30736 : }
30737 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30738 0 : if (!SWIG_IsOK(res1)) {
30739 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_templatepattern_set" "', argument " "1"" of type '" "struct mapObj *""'");
30740 : }
30741 0 : arg1 = (struct mapObj *)(argp1);
30742 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
30743 0 : if (!SWIG_IsOK(res2)) {
30744 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_templatepattern_set" "', argument " "2"" of type '" "char *""'");
30745 : }
30746 0 : arg2 = (char *)(buf2);
30747 : {
30748 0 : if (arg1->templatepattern) free((char*)arg1->templatepattern);
30749 0 : if (arg2) {
30750 0 : arg1->templatepattern = (char *) malloc(strlen(arg2)+1);
30751 : strcpy((char*)arg1->templatepattern,arg2);
30752 : } else {
30753 0 : arg1->templatepattern = 0;
30754 : }
30755 : }
30756 0 : ST(argvi) = sv_newmortal();
30757 :
30758 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30759 0 : XSRETURN(argvi);
30760 : fail:
30761 :
30762 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
30763 0 : SWIG_croak_null();
30764 : }
30765 : }
30766 :
30767 :
30768 0 : XS(_wrap_mapObj_templatepattern_get) {
30769 : {
30770 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30771 0 : void *argp1 = 0 ;
30772 : int res1 = 0 ;
30773 : int argvi = 0;
30774 : char *result = 0 ;
30775 0 : dXSARGS;
30776 :
30777 0 : if ((items < 1) || (items > 1)) {
30778 0 : SWIG_croak("Usage: mapObj_templatepattern_get(self);");
30779 : }
30780 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30781 0 : if (!SWIG_IsOK(res1)) {
30782 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_templatepattern_get" "', argument " "1"" of type '" "struct mapObj *""'");
30783 : }
30784 0 : arg1 = (struct mapObj *)(argp1);
30785 0 : result = (char *) ((arg1)->templatepattern);
30786 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
30787 :
30788 0 : XSRETURN(argvi);
30789 : fail:
30790 :
30791 0 : SWIG_croak_null();
30792 : }
30793 : }
30794 :
30795 :
30796 0 : XS(_wrap_mapObj_configoptions_get) {
30797 : {
30798 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30799 0 : void *argp1 = 0 ;
30800 : int res1 = 0 ;
30801 : int argvi = 0;
30802 : hashTableObj *result = 0 ;
30803 0 : dXSARGS;
30804 :
30805 0 : if ((items < 1) || (items > 1)) {
30806 0 : SWIG_croak("Usage: mapObj_configoptions_get(self);");
30807 : }
30808 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30809 0 : if (!SWIG_IsOK(res1)) {
30810 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_configoptions_get" "', argument " "1"" of type '" "struct mapObj *""'");
30811 : }
30812 0 : arg1 = (struct mapObj *)(argp1);
30813 0 : result = (hashTableObj *)& ((arg1)->configoptions);
30814 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
30815 :
30816 0 : XSRETURN(argvi);
30817 : fail:
30818 :
30819 0 : SWIG_croak_null();
30820 : }
30821 : }
30822 :
30823 :
30824 1 : XS(_wrap_new_mapObj) {
30825 : {
30826 : char *arg1 = (char *) "" ;
30827 : int res1 ;
30828 1 : char *buf1 = 0 ;
30829 1 : int alloc1 = 0 ;
30830 : int argvi = 0;
30831 : struct mapObj *result = 0 ;
30832 1 : dXSARGS;
30833 :
30834 1 : if ((items < 0) || (items > 1)) {
30835 0 : SWIG_croak("Usage: new_mapObj(filename);");
30836 : }
30837 1 : if (items > 0) {
30838 1 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
30839 1 : if (!SWIG_IsOK(res1)) {
30840 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_mapObj" "', argument " "1"" of type '" "char *""'");
30841 : }
30842 1 : arg1 = (char *)(buf1);
30843 : }
30844 1 : result = (struct mapObj *)new_mapObj(arg1);
30845 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
30846 1 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
30847 1 : XSRETURN(argvi);
30848 : fail:
30849 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
30850 0 : SWIG_croak_null();
30851 : }
30852 : }
30853 :
30854 :
30855 1 : XS(_wrap_delete_mapObj) {
30856 : {
30857 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30858 1 : void *argp1 = 0 ;
30859 : int res1 = 0 ;
30860 : int argvi = 0;
30861 1 : dXSARGS;
30862 :
30863 1 : if ((items < 1) || (items > 1)) {
30864 0 : SWIG_croak("Usage: delete_mapObj(self);");
30865 : }
30866 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, SWIG_POINTER_DISOWN | 0 );
30867 1 : if (!SWIG_IsOK(res1)) {
30868 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_mapObj" "', argument " "1"" of type '" "struct mapObj *""'");
30869 : }
30870 1 : arg1 = (struct mapObj *)(argp1);
30871 : delete_mapObj(arg1);
30872 1 : ST(argvi) = sv_newmortal();
30873 :
30874 1 : XSRETURN(argvi);
30875 : fail:
30876 :
30877 0 : SWIG_croak_null();
30878 : }
30879 : }
30880 :
30881 :
30882 0 : XS(_wrap_mapObj_clone) {
30883 : {
30884 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30885 0 : void *argp1 = 0 ;
30886 : int res1 = 0 ;
30887 : int argvi = 0;
30888 : mapObj *result = 0 ;
30889 0 : dXSARGS;
30890 :
30891 0 : if ((items < 1) || (items > 1)) {
30892 0 : SWIG_croak("Usage: mapObj_clone(self);");
30893 : }
30894 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30895 0 : if (!SWIG_IsOK(res1)) {
30896 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_clone" "', argument " "1"" of type '" "struct mapObj *""'");
30897 : }
30898 0 : arg1 = (struct mapObj *)(argp1);
30899 0 : result = (mapObj *)mapObj_clone(arg1);
30900 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
30901 :
30902 0 : XSRETURN(argvi);
30903 : fail:
30904 :
30905 0 : SWIG_croak_null();
30906 : }
30907 : }
30908 :
30909 :
30910 1 : XS(_wrap_mapObj_insertLayer) {
30911 : {
30912 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30913 : layerObj *arg2 = (layerObj *) 0 ;
30914 : int arg3 = (int) -1 ;
30915 1 : void *argp1 = 0 ;
30916 : int res1 = 0 ;
30917 1 : void *argp2 = 0 ;
30918 : int res2 = 0 ;
30919 : int val3 ;
30920 : int ecode3 = 0 ;
30921 : int argvi = 0;
30922 : int result;
30923 1 : dXSARGS;
30924 :
30925 1 : if ((items < 2) || (items > 3)) {
30926 0 : SWIG_croak("Usage: mapObj_insertLayer(self,layer,index);");
30927 : }
30928 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30929 1 : if (!SWIG_IsOK(res1)) {
30930 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_insertLayer" "', argument " "1"" of type '" "struct mapObj *""'");
30931 : }
30932 1 : arg1 = (struct mapObj *)(argp1);
30933 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_layerObj, 0 | 0 );
30934 1 : if (!SWIG_IsOK(res2)) {
30935 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_insertLayer" "', argument " "2"" of type '" "layerObj *""'");
30936 : }
30937 1 : arg2 = (layerObj *)(argp2);
30938 1 : if (items > 2) {
30939 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
30940 0 : if (!SWIG_IsOK(ecode3)) {
30941 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_insertLayer" "', argument " "3"" of type '" "int""'");
30942 : }
30943 0 : arg3 = (int)(val3);
30944 : }
30945 : result = (int)mapObj_insertLayer(arg1,arg2,arg3);
30946 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
30947 :
30948 :
30949 :
30950 1 : XSRETURN(argvi);
30951 : fail:
30952 :
30953 :
30954 :
30955 0 : SWIG_croak_null();
30956 : }
30957 : }
30958 :
30959 :
30960 0 : XS(_wrap_mapObj_removeLayer) {
30961 : {
30962 : struct mapObj *arg1 = (struct mapObj *) 0 ;
30963 : int arg2 ;
30964 0 : void *argp1 = 0 ;
30965 : int res1 = 0 ;
30966 : int val2 ;
30967 : int ecode2 = 0 ;
30968 : int argvi = 0;
30969 : layerObj *result = 0 ;
30970 0 : dXSARGS;
30971 :
30972 0 : if ((items < 2) || (items > 2)) {
30973 0 : SWIG_croak("Usage: mapObj_removeLayer(self,index);");
30974 : }
30975 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
30976 0 : if (!SWIG_IsOK(res1)) {
30977 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_removeLayer" "', argument " "1"" of type '" "struct mapObj *""'");
30978 : }
30979 0 : arg1 = (struct mapObj *)(argp1);
30980 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
30981 0 : if (!SWIG_IsOK(ecode2)) {
30982 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_removeLayer" "', argument " "2"" of type '" "int""'");
30983 : }
30984 0 : arg2 = (int)(val2);
30985 : result = (layerObj *)mapObj_removeLayer(arg1,arg2);
30986 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
30987 :
30988 :
30989 0 : XSRETURN(argvi);
30990 : fail:
30991 :
30992 :
30993 0 : SWIG_croak_null();
30994 : }
30995 : }
30996 :
30997 :
30998 0 : XS(_wrap_mapObj_setExtent) {
30999 : {
31000 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31001 : double arg2 ;
31002 : double arg3 ;
31003 : double arg4 ;
31004 : double arg5 ;
31005 0 : void *argp1 = 0 ;
31006 : int res1 = 0 ;
31007 : double val2 ;
31008 : int ecode2 = 0 ;
31009 : double val3 ;
31010 : int ecode3 = 0 ;
31011 : double val4 ;
31012 : int ecode4 = 0 ;
31013 : double val5 ;
31014 : int ecode5 = 0 ;
31015 : int argvi = 0;
31016 : int result;
31017 0 : dXSARGS;
31018 :
31019 0 : if ((items < 5) || (items > 5)) {
31020 0 : SWIG_croak("Usage: mapObj_setExtent(self,minx,miny,maxx,maxy);");
31021 : }
31022 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31023 0 : if (!SWIG_IsOK(res1)) {
31024 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setExtent" "', argument " "1"" of type '" "struct mapObj *""'");
31025 : }
31026 0 : arg1 = (struct mapObj *)(argp1);
31027 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31028 0 : if (!SWIG_IsOK(ecode2)) {
31029 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_setExtent" "', argument " "2"" of type '" "double""'");
31030 : }
31031 0 : arg2 = (double)(val2);
31032 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
31033 0 : if (!SWIG_IsOK(ecode3)) {
31034 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_setExtent" "', argument " "3"" of type '" "double""'");
31035 : }
31036 0 : arg3 = (double)(val3);
31037 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
31038 0 : if (!SWIG_IsOK(ecode4)) {
31039 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_setExtent" "', argument " "4"" of type '" "double""'");
31040 : }
31041 0 : arg4 = (double)(val4);
31042 0 : ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
31043 0 : if (!SWIG_IsOK(ecode5)) {
31044 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_setExtent" "', argument " "5"" of type '" "double""'");
31045 : }
31046 0 : arg5 = (double)(val5);
31047 : result = (int)mapObj_setExtent(arg1,arg2,arg3,arg4,arg5);
31048 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31049 :
31050 :
31051 :
31052 :
31053 :
31054 0 : XSRETURN(argvi);
31055 : fail:
31056 :
31057 :
31058 :
31059 :
31060 :
31061 0 : SWIG_croak_null();
31062 : }
31063 : }
31064 :
31065 :
31066 0 : XS(_wrap_mapObj_offsetExtent) {
31067 : {
31068 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31069 : double arg2 ;
31070 : double arg3 ;
31071 0 : void *argp1 = 0 ;
31072 : int res1 = 0 ;
31073 : double val2 ;
31074 : int ecode2 = 0 ;
31075 : double val3 ;
31076 : int ecode3 = 0 ;
31077 : int argvi = 0;
31078 : int result;
31079 0 : dXSARGS;
31080 :
31081 0 : if ((items < 3) || (items > 3)) {
31082 0 : SWIG_croak("Usage: mapObj_offsetExtent(self,x,y);");
31083 : }
31084 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31085 0 : if (!SWIG_IsOK(res1)) {
31086 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_offsetExtent" "', argument " "1"" of type '" "struct mapObj *""'");
31087 : }
31088 0 : arg1 = (struct mapObj *)(argp1);
31089 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31090 0 : if (!SWIG_IsOK(ecode2)) {
31091 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_offsetExtent" "', argument " "2"" of type '" "double""'");
31092 : }
31093 0 : arg2 = (double)(val2);
31094 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
31095 0 : if (!SWIG_IsOK(ecode3)) {
31096 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_offsetExtent" "', argument " "3"" of type '" "double""'");
31097 : }
31098 0 : arg3 = (double)(val3);
31099 : result = (int)mapObj_offsetExtent(arg1,arg2,arg3);
31100 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31101 :
31102 :
31103 :
31104 0 : XSRETURN(argvi);
31105 : fail:
31106 :
31107 :
31108 :
31109 0 : SWIG_croak_null();
31110 : }
31111 : }
31112 :
31113 :
31114 0 : XS(_wrap_mapObj_scaleExtent) {
31115 : {
31116 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31117 : double arg2 ;
31118 : double arg3 ;
31119 : double arg4 ;
31120 0 : void *argp1 = 0 ;
31121 : int res1 = 0 ;
31122 : double val2 ;
31123 : int ecode2 = 0 ;
31124 : double val3 ;
31125 : int ecode3 = 0 ;
31126 : double val4 ;
31127 : int ecode4 = 0 ;
31128 : int argvi = 0;
31129 : int result;
31130 0 : dXSARGS;
31131 :
31132 0 : if ((items < 4) || (items > 4)) {
31133 0 : SWIG_croak("Usage: mapObj_scaleExtent(self,zoomfactor,minscaledenom,maxscaledenom);");
31134 : }
31135 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31136 0 : if (!SWIG_IsOK(res1)) {
31137 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scaleExtent" "', argument " "1"" of type '" "struct mapObj *""'");
31138 : }
31139 0 : arg1 = (struct mapObj *)(argp1);
31140 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31141 0 : if (!SWIG_IsOK(ecode2)) {
31142 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_scaleExtent" "', argument " "2"" of type '" "double""'");
31143 : }
31144 0 : arg2 = (double)(val2);
31145 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
31146 0 : if (!SWIG_IsOK(ecode3)) {
31147 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_scaleExtent" "', argument " "3"" of type '" "double""'");
31148 : }
31149 0 : arg3 = (double)(val3);
31150 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
31151 0 : if (!SWIG_IsOK(ecode4)) {
31152 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_scaleExtent" "', argument " "4"" of type '" "double""'");
31153 : }
31154 0 : arg4 = (double)(val4);
31155 : result = (int)mapObj_scaleExtent(arg1,arg2,arg3,arg4);
31156 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31157 :
31158 :
31159 :
31160 :
31161 0 : XSRETURN(argvi);
31162 : fail:
31163 :
31164 :
31165 :
31166 :
31167 0 : SWIG_croak_null();
31168 : }
31169 : }
31170 :
31171 :
31172 0 : XS(_wrap_mapObj_setCenter) {
31173 : {
31174 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31175 : pointObj *arg2 = (pointObj *) 0 ;
31176 0 : void *argp1 = 0 ;
31177 : int res1 = 0 ;
31178 0 : void *argp2 = 0 ;
31179 : int res2 = 0 ;
31180 : int argvi = 0;
31181 : int result;
31182 0 : dXSARGS;
31183 :
31184 0 : if ((items < 2) || (items > 2)) {
31185 0 : SWIG_croak("Usage: mapObj_setCenter(self,center);");
31186 : }
31187 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31188 0 : if (!SWIG_IsOK(res1)) {
31189 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setCenter" "', argument " "1"" of type '" "struct mapObj *""'");
31190 : }
31191 0 : arg1 = (struct mapObj *)(argp1);
31192 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
31193 0 : if (!SWIG_IsOK(res2)) {
31194 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setCenter" "', argument " "2"" of type '" "pointObj *""'");
31195 : }
31196 0 : arg2 = (pointObj *)(argp2);
31197 : result = (int)mapObj_setCenter(arg1,arg2);
31198 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31199 :
31200 :
31201 0 : XSRETURN(argvi);
31202 : fail:
31203 :
31204 :
31205 0 : SWIG_croak_null();
31206 : }
31207 : }
31208 :
31209 :
31210 0 : XS(_wrap_mapObj_setSize) {
31211 : {
31212 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31213 : int arg2 ;
31214 : int arg3 ;
31215 0 : void *argp1 = 0 ;
31216 : int res1 = 0 ;
31217 : int val2 ;
31218 : int ecode2 = 0 ;
31219 : int val3 ;
31220 : int ecode3 = 0 ;
31221 : int argvi = 0;
31222 : int result;
31223 0 : dXSARGS;
31224 :
31225 0 : if ((items < 3) || (items > 3)) {
31226 0 : SWIG_croak("Usage: mapObj_setSize(self,width,height);");
31227 : }
31228 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31229 0 : if (!SWIG_IsOK(res1)) {
31230 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setSize" "', argument " "1"" of type '" "struct mapObj *""'");
31231 : }
31232 0 : arg1 = (struct mapObj *)(argp1);
31233 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31234 0 : if (!SWIG_IsOK(ecode2)) {
31235 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_setSize" "', argument " "2"" of type '" "int""'");
31236 : }
31237 0 : arg2 = (int)(val2);
31238 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
31239 0 : if (!SWIG_IsOK(ecode3)) {
31240 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_setSize" "', argument " "3"" of type '" "int""'");
31241 : }
31242 0 : arg3 = (int)(val3);
31243 : result = (int)mapObj_setSize(arg1,arg2,arg3);
31244 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31245 :
31246 :
31247 :
31248 0 : XSRETURN(argvi);
31249 : fail:
31250 :
31251 :
31252 :
31253 0 : SWIG_croak_null();
31254 : }
31255 : }
31256 :
31257 :
31258 0 : XS(_wrap_mapObj_setRotation) {
31259 : {
31260 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31261 : double arg2 ;
31262 0 : void *argp1 = 0 ;
31263 : int res1 = 0 ;
31264 : double val2 ;
31265 : int ecode2 = 0 ;
31266 : int argvi = 0;
31267 : int result;
31268 0 : dXSARGS;
31269 :
31270 0 : if ((items < 2) || (items > 2)) {
31271 0 : SWIG_croak("Usage: mapObj_setRotation(self,rotation_angle);");
31272 : }
31273 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31274 0 : if (!SWIG_IsOK(res1)) {
31275 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setRotation" "', argument " "1"" of type '" "struct mapObj *""'");
31276 : }
31277 0 : arg1 = (struct mapObj *)(argp1);
31278 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31279 0 : if (!SWIG_IsOK(ecode2)) {
31280 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_setRotation" "', argument " "2"" of type '" "double""'");
31281 : }
31282 0 : arg2 = (double)(val2);
31283 : result = (int)mapObj_setRotation(arg1,arg2);
31284 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31285 :
31286 :
31287 0 : XSRETURN(argvi);
31288 : fail:
31289 :
31290 :
31291 0 : SWIG_croak_null();
31292 : }
31293 : }
31294 :
31295 :
31296 1 : XS(_wrap_mapObj_getLayer) {
31297 : {
31298 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31299 : int arg2 ;
31300 1 : void *argp1 = 0 ;
31301 : int res1 = 0 ;
31302 : int val2 ;
31303 : int ecode2 = 0 ;
31304 : int argvi = 0;
31305 : layerObj *result = 0 ;
31306 1 : dXSARGS;
31307 :
31308 1 : if ((items < 2) || (items > 2)) {
31309 0 : SWIG_croak("Usage: mapObj_getLayer(self,i);");
31310 : }
31311 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31312 1 : if (!SWIG_IsOK(res1)) {
31313 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getLayer" "', argument " "1"" of type '" "struct mapObj *""'");
31314 : }
31315 1 : arg1 = (struct mapObj *)(argp1);
31316 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31317 1 : if (!SWIG_IsOK(ecode2)) {
31318 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_getLayer" "', argument " "2"" of type '" "int""'");
31319 : }
31320 1 : arg2 = (int)(val2);
31321 1 : result = (layerObj *)mapObj_getLayer(arg1,arg2);
31322 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31323 :
31324 :
31325 1 : XSRETURN(argvi);
31326 : fail:
31327 :
31328 :
31329 0 : SWIG_croak_null();
31330 : }
31331 : }
31332 :
31333 :
31334 1 : XS(_wrap_mapObj_getLayerByName) {
31335 : {
31336 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31337 : char *arg2 = (char *) 0 ;
31338 1 : void *argp1 = 0 ;
31339 : int res1 = 0 ;
31340 : int res2 ;
31341 1 : char *buf2 = 0 ;
31342 1 : int alloc2 = 0 ;
31343 : int argvi = 0;
31344 : layerObj *result = 0 ;
31345 1 : dXSARGS;
31346 :
31347 1 : if ((items < 2) || (items > 2)) {
31348 0 : SWIG_croak("Usage: mapObj_getLayerByName(self,name);");
31349 : }
31350 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31351 1 : if (!SWIG_IsOK(res1)) {
31352 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getLayerByName" "', argument " "1"" of type '" "struct mapObj *""'");
31353 : }
31354 1 : arg1 = (struct mapObj *)(argp1);
31355 1 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
31356 1 : if (!SWIG_IsOK(res2)) {
31357 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getLayerByName" "', argument " "2"" of type '" "char *""'");
31358 : }
31359 1 : arg2 = (char *)(buf2);
31360 1 : result = (layerObj *)mapObj_getLayerByName(arg1,arg2);
31361 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31362 :
31363 1 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31364 1 : XSRETURN(argvi);
31365 : fail:
31366 :
31367 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31368 0 : SWIG_croak_null();
31369 : }
31370 : }
31371 :
31372 :
31373 0 : XS(_wrap_mapObj_getSymbolByName) {
31374 : {
31375 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31376 : char *arg2 = (char *) 0 ;
31377 0 : void *argp1 = 0 ;
31378 : int res1 = 0 ;
31379 : int res2 ;
31380 0 : char *buf2 = 0 ;
31381 0 : int alloc2 = 0 ;
31382 : int argvi = 0;
31383 : int result;
31384 0 : dXSARGS;
31385 :
31386 0 : if ((items < 2) || (items > 2)) {
31387 0 : SWIG_croak("Usage: mapObj_getSymbolByName(self,name);");
31388 : }
31389 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31390 0 : if (!SWIG_IsOK(res1)) {
31391 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getSymbolByName" "', argument " "1"" of type '" "struct mapObj *""'");
31392 : }
31393 0 : arg1 = (struct mapObj *)(argp1);
31394 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
31395 0 : if (!SWIG_IsOK(res2)) {
31396 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getSymbolByName" "', argument " "2"" of type '" "char *""'");
31397 : }
31398 0 : arg2 = (char *)(buf2);
31399 : result = (int)mapObj_getSymbolByName(arg1,arg2);
31400 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31401 :
31402 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31403 0 : XSRETURN(argvi);
31404 : fail:
31405 :
31406 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31407 0 : SWIG_croak_null();
31408 : }
31409 : }
31410 :
31411 :
31412 0 : XS(_wrap_mapObj_prepareQuery) {
31413 : {
31414 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31415 0 : void *argp1 = 0 ;
31416 : int res1 = 0 ;
31417 : int argvi = 0;
31418 0 : dXSARGS;
31419 :
31420 0 : if ((items < 1) || (items > 1)) {
31421 0 : SWIG_croak("Usage: mapObj_prepareQuery(self);");
31422 : }
31423 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31424 0 : if (!SWIG_IsOK(res1)) {
31425 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_prepareQuery" "', argument " "1"" of type '" "struct mapObj *""'");
31426 : }
31427 0 : arg1 = (struct mapObj *)(argp1);
31428 0 : mapObj_prepareQuery(arg1);
31429 0 : ST(argvi) = sv_newmortal();
31430 :
31431 0 : XSRETURN(argvi);
31432 : fail:
31433 :
31434 0 : SWIG_croak_null();
31435 : }
31436 : }
31437 :
31438 :
31439 0 : XS(_wrap_mapObj_prepareImage) {
31440 : {
31441 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31442 0 : void *argp1 = 0 ;
31443 : int res1 = 0 ;
31444 : int argvi = 0;
31445 : imageObj *result = 0 ;
31446 0 : dXSARGS;
31447 :
31448 0 : if ((items < 1) || (items > 1)) {
31449 0 : SWIG_croak("Usage: mapObj_prepareImage(self);");
31450 : }
31451 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31452 0 : if (!SWIG_IsOK(res1)) {
31453 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_prepareImage" "', argument " "1"" of type '" "struct mapObj *""'");
31454 : }
31455 0 : arg1 = (struct mapObj *)(argp1);
31456 : result = (imageObj *)mapObj_prepareImage(arg1);
31457 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31458 :
31459 0 : XSRETURN(argvi);
31460 : fail:
31461 :
31462 0 : SWIG_croak_null();
31463 : }
31464 : }
31465 :
31466 :
31467 0 : XS(_wrap_mapObj_setImageType) {
31468 : {
31469 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31470 : char *arg2 = (char *) 0 ;
31471 0 : void *argp1 = 0 ;
31472 : int res1 = 0 ;
31473 : int res2 ;
31474 0 : char *buf2 = 0 ;
31475 0 : int alloc2 = 0 ;
31476 : int argvi = 0;
31477 0 : dXSARGS;
31478 :
31479 0 : if ((items < 2) || (items > 2)) {
31480 0 : SWIG_croak("Usage: mapObj_setImageType(self,imagetype);");
31481 : }
31482 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31483 0 : if (!SWIG_IsOK(res1)) {
31484 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setImageType" "', argument " "1"" of type '" "struct mapObj *""'");
31485 : }
31486 0 : arg1 = (struct mapObj *)(argp1);
31487 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
31488 0 : if (!SWIG_IsOK(res2)) {
31489 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setImageType" "', argument " "2"" of type '" "char *""'");
31490 : }
31491 0 : arg2 = (char *)(buf2);
31492 0 : mapObj_setImageType(arg1,arg2);
31493 0 : ST(argvi) = sv_newmortal();
31494 :
31495 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31496 0 : XSRETURN(argvi);
31497 : fail:
31498 :
31499 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31500 0 : SWIG_croak_null();
31501 : }
31502 : }
31503 :
31504 :
31505 0 : XS(_wrap_mapObj_selectOutputFormat) {
31506 : {
31507 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31508 : char *arg2 = (char *) 0 ;
31509 0 : void *argp1 = 0 ;
31510 : int res1 = 0 ;
31511 : int res2 ;
31512 0 : char *buf2 = 0 ;
31513 0 : int alloc2 = 0 ;
31514 : int argvi = 0;
31515 0 : dXSARGS;
31516 :
31517 0 : if ((items < 2) || (items > 2)) {
31518 0 : SWIG_croak("Usage: mapObj_selectOutputFormat(self,imagetype);");
31519 : }
31520 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31521 0 : if (!SWIG_IsOK(res1)) {
31522 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_selectOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'");
31523 : }
31524 0 : arg1 = (struct mapObj *)(argp1);
31525 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
31526 0 : if (!SWIG_IsOK(res2)) {
31527 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_selectOutputFormat" "', argument " "2"" of type '" "char *""'");
31528 : }
31529 0 : arg2 = (char *)(buf2);
31530 0 : mapObj_selectOutputFormat(arg1,arg2);
31531 0 : ST(argvi) = sv_newmortal();
31532 :
31533 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31534 0 : XSRETURN(argvi);
31535 : fail:
31536 :
31537 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31538 0 : SWIG_croak_null();
31539 : }
31540 : }
31541 :
31542 :
31543 0 : XS(_wrap_mapObj_getOutputFormat) {
31544 : {
31545 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31546 : int arg2 ;
31547 0 : void *argp1 = 0 ;
31548 : int res1 = 0 ;
31549 : int val2 ;
31550 : int ecode2 = 0 ;
31551 : int argvi = 0;
31552 : outputFormatObj *result = 0 ;
31553 0 : dXSARGS;
31554 :
31555 0 : if ((items < 2) || (items > 2)) {
31556 0 : SWIG_croak("Usage: mapObj_getOutputFormat(self,i);");
31557 : }
31558 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31559 0 : if (!SWIG_IsOK(res1)) {
31560 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'");
31561 : }
31562 0 : arg1 = (struct mapObj *)(argp1);
31563 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
31564 0 : if (!SWIG_IsOK(ecode2)) {
31565 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_getOutputFormat" "', argument " "2"" of type '" "int""'");
31566 : }
31567 0 : arg2 = (int)(val2);
31568 0 : result = (outputFormatObj *)mapObj_getOutputFormat(arg1,arg2);
31569 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31570 :
31571 :
31572 0 : XSRETURN(argvi);
31573 : fail:
31574 :
31575 :
31576 0 : SWIG_croak_null();
31577 : }
31578 : }
31579 :
31580 :
31581 0 : XS(_wrap_mapObj_setOutputFormat) {
31582 : {
31583 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31584 : outputFormatObj *arg2 = (outputFormatObj *) 0 ;
31585 0 : void *argp1 = 0 ;
31586 : int res1 = 0 ;
31587 0 : void *argp2 = 0 ;
31588 : int res2 = 0 ;
31589 : int argvi = 0;
31590 0 : dXSARGS;
31591 :
31592 0 : if ((items < 2) || (items > 2)) {
31593 0 : SWIG_croak("Usage: mapObj_setOutputFormat(self,format);");
31594 : }
31595 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31596 0 : if (!SWIG_IsOK(res1)) {
31597 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'");
31598 : }
31599 0 : arg1 = (struct mapObj *)(argp1);
31600 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_outputFormatObj, 0 | 0 );
31601 0 : if (!SWIG_IsOK(res2)) {
31602 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setOutputFormat" "', argument " "2"" of type '" "outputFormatObj *""'");
31603 : }
31604 0 : arg2 = (outputFormatObj *)(argp2);
31605 : mapObj_setOutputFormat(arg1,arg2);
31606 0 : ST(argvi) = sv_newmortal();
31607 :
31608 :
31609 0 : XSRETURN(argvi);
31610 : fail:
31611 :
31612 :
31613 0 : SWIG_croak_null();
31614 : }
31615 : }
31616 :
31617 :
31618 0 : XS(_wrap_mapObj_draw) {
31619 : {
31620 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31621 0 : void *argp1 = 0 ;
31622 : int res1 = 0 ;
31623 : int argvi = 0;
31624 : imageObj *result = 0 ;
31625 0 : dXSARGS;
31626 :
31627 0 : if ((items < 1) || (items > 1)) {
31628 0 : SWIG_croak("Usage: mapObj_draw(self);");
31629 : }
31630 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31631 0 : if (!SWIG_IsOK(res1)) {
31632 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_draw" "', argument " "1"" of type '" "struct mapObj *""'");
31633 : }
31634 0 : arg1 = (struct mapObj *)(argp1);
31635 : result = (imageObj *)mapObj_draw(arg1);
31636 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31637 :
31638 0 : XSRETURN(argvi);
31639 : fail:
31640 :
31641 0 : SWIG_croak_null();
31642 : }
31643 : }
31644 :
31645 :
31646 0 : XS(_wrap_mapObj_drawQuery) {
31647 : {
31648 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31649 0 : void *argp1 = 0 ;
31650 : int res1 = 0 ;
31651 : int argvi = 0;
31652 : imageObj *result = 0 ;
31653 0 : dXSARGS;
31654 :
31655 0 : if ((items < 1) || (items > 1)) {
31656 0 : SWIG_croak("Usage: mapObj_drawQuery(self);");
31657 : }
31658 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31659 0 : if (!SWIG_IsOK(res1)) {
31660 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawQuery" "', argument " "1"" of type '" "struct mapObj *""'");
31661 : }
31662 0 : arg1 = (struct mapObj *)(argp1);
31663 : result = (imageObj *)mapObj_drawQuery(arg1);
31664 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31665 :
31666 0 : XSRETURN(argvi);
31667 : fail:
31668 :
31669 0 : SWIG_croak_null();
31670 : }
31671 : }
31672 :
31673 :
31674 0 : XS(_wrap_mapObj_drawLegend) {
31675 : {
31676 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31677 0 : void *argp1 = 0 ;
31678 : int res1 = 0 ;
31679 : int argvi = 0;
31680 : imageObj *result = 0 ;
31681 0 : dXSARGS;
31682 :
31683 0 : if ((items < 1) || (items > 1)) {
31684 0 : SWIG_croak("Usage: mapObj_drawLegend(self);");
31685 : }
31686 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31687 0 : if (!SWIG_IsOK(res1)) {
31688 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawLegend" "', argument " "1"" of type '" "struct mapObj *""'");
31689 : }
31690 0 : arg1 = (struct mapObj *)(argp1);
31691 : result = (imageObj *)mapObj_drawLegend(arg1);
31692 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31693 :
31694 0 : XSRETURN(argvi);
31695 : fail:
31696 :
31697 0 : SWIG_croak_null();
31698 : }
31699 : }
31700 :
31701 :
31702 0 : XS(_wrap_mapObj_drawScalebar) {
31703 : {
31704 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31705 0 : void *argp1 = 0 ;
31706 : int res1 = 0 ;
31707 : int argvi = 0;
31708 : imageObj *result = 0 ;
31709 0 : dXSARGS;
31710 :
31711 0 : if ((items < 1) || (items > 1)) {
31712 0 : SWIG_croak("Usage: mapObj_drawScalebar(self);");
31713 : }
31714 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31715 0 : if (!SWIG_IsOK(res1)) {
31716 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawScalebar" "', argument " "1"" of type '" "struct mapObj *""'");
31717 : }
31718 0 : arg1 = (struct mapObj *)(argp1);
31719 : result = (imageObj *)mapObj_drawScalebar(arg1);
31720 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31721 :
31722 0 : XSRETURN(argvi);
31723 : fail:
31724 :
31725 0 : SWIG_croak_null();
31726 : }
31727 : }
31728 :
31729 :
31730 0 : XS(_wrap_mapObj_drawReferenceMap) {
31731 : {
31732 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31733 0 : void *argp1 = 0 ;
31734 : int res1 = 0 ;
31735 : int argvi = 0;
31736 : imageObj *result = 0 ;
31737 0 : dXSARGS;
31738 :
31739 0 : if ((items < 1) || (items > 1)) {
31740 0 : SWIG_croak("Usage: mapObj_drawReferenceMap(self);");
31741 : }
31742 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31743 0 : if (!SWIG_IsOK(res1)) {
31744 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawReferenceMap" "', argument " "1"" of type '" "struct mapObj *""'");
31745 : }
31746 0 : arg1 = (struct mapObj *)(argp1);
31747 : result = (imageObj *)mapObj_drawReferenceMap(arg1);
31748 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
31749 :
31750 0 : XSRETURN(argvi);
31751 : fail:
31752 :
31753 0 : SWIG_croak_null();
31754 : }
31755 : }
31756 :
31757 :
31758 0 : XS(_wrap_mapObj_embedScalebar) {
31759 : {
31760 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31761 : imageObj *arg2 = (imageObj *) 0 ;
31762 0 : void *argp1 = 0 ;
31763 : int res1 = 0 ;
31764 0 : void *argp2 = 0 ;
31765 : int res2 = 0 ;
31766 : int argvi = 0;
31767 : int result;
31768 0 : dXSARGS;
31769 :
31770 0 : if ((items < 2) || (items > 2)) {
31771 0 : SWIG_croak("Usage: mapObj_embedScalebar(self,image);");
31772 : }
31773 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31774 0 : if (!SWIG_IsOK(res1)) {
31775 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_embedScalebar" "', argument " "1"" of type '" "struct mapObj *""'");
31776 : }
31777 0 : arg1 = (struct mapObj *)(argp1);
31778 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 | 0 );
31779 0 : if (!SWIG_IsOK(res2)) {
31780 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_embedScalebar" "', argument " "2"" of type '" "imageObj *""'");
31781 : }
31782 0 : arg2 = (imageObj *)(argp2);
31783 : result = (int)mapObj_embedScalebar(arg1,arg2);
31784 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31785 :
31786 :
31787 0 : XSRETURN(argvi);
31788 : fail:
31789 :
31790 :
31791 0 : SWIG_croak_null();
31792 : }
31793 : }
31794 :
31795 :
31796 0 : XS(_wrap_mapObj_embedLegend) {
31797 : {
31798 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31799 : imageObj *arg2 = (imageObj *) 0 ;
31800 0 : void *argp1 = 0 ;
31801 : int res1 = 0 ;
31802 0 : void *argp2 = 0 ;
31803 : int res2 = 0 ;
31804 : int argvi = 0;
31805 : int result;
31806 0 : dXSARGS;
31807 :
31808 0 : if ((items < 2) || (items > 2)) {
31809 0 : SWIG_croak("Usage: mapObj_embedLegend(self,image);");
31810 : }
31811 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31812 0 : if (!SWIG_IsOK(res1)) {
31813 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_embedLegend" "', argument " "1"" of type '" "struct mapObj *""'");
31814 : }
31815 0 : arg1 = (struct mapObj *)(argp1);
31816 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 | 0 );
31817 0 : if (!SWIG_IsOK(res2)) {
31818 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_embedLegend" "', argument " "2"" of type '" "imageObj *""'");
31819 : }
31820 0 : arg2 = (imageObj *)(argp2);
31821 : result = (int)mapObj_embedLegend(arg1,arg2);
31822 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31823 :
31824 :
31825 0 : XSRETURN(argvi);
31826 : fail:
31827 :
31828 :
31829 0 : SWIG_croak_null();
31830 : }
31831 : }
31832 :
31833 :
31834 0 : XS(_wrap_mapObj_drawLabelCache) {
31835 : {
31836 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31837 : imageObj *arg2 = (imageObj *) 0 ;
31838 0 : void *argp1 = 0 ;
31839 : int res1 = 0 ;
31840 0 : void *argp2 = 0 ;
31841 : int res2 = 0 ;
31842 : int argvi = 0;
31843 : int result;
31844 0 : dXSARGS;
31845 :
31846 0 : if ((items < 2) || (items > 2)) {
31847 0 : SWIG_croak("Usage: mapObj_drawLabelCache(self,image);");
31848 : }
31849 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31850 0 : if (!SWIG_IsOK(res1)) {
31851 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawLabelCache" "', argument " "1"" of type '" "struct mapObj *""'");
31852 : }
31853 0 : arg1 = (struct mapObj *)(argp1);
31854 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 | 0 );
31855 0 : if (!SWIG_IsOK(res2)) {
31856 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_drawLabelCache" "', argument " "2"" of type '" "imageObj *""'");
31857 : }
31858 0 : arg2 = (imageObj *)(argp2);
31859 : result = (int)mapObj_drawLabelCache(arg1,arg2);
31860 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31861 :
31862 :
31863 0 : XSRETURN(argvi);
31864 : fail:
31865 :
31866 :
31867 0 : SWIG_croak_null();
31868 : }
31869 : }
31870 :
31871 :
31872 0 : XS(_wrap_mapObj_queryByFilter) {
31873 : {
31874 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31875 : char *arg2 = (char *) 0 ;
31876 0 : void *argp1 = 0 ;
31877 : int res1 = 0 ;
31878 : int res2 ;
31879 0 : char *buf2 = 0 ;
31880 0 : int alloc2 = 0 ;
31881 : int argvi = 0;
31882 : int result;
31883 0 : dXSARGS;
31884 :
31885 0 : if ((items < 2) || (items > 2)) {
31886 0 : SWIG_croak("Usage: mapObj_queryByFilter(self,string);");
31887 : }
31888 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31889 0 : if (!SWIG_IsOK(res1)) {
31890 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByFilter" "', argument " "1"" of type '" "struct mapObj *""'");
31891 : }
31892 0 : arg1 = (struct mapObj *)(argp1);
31893 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
31894 0 : if (!SWIG_IsOK(res2)) {
31895 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByFilter" "', argument " "2"" of type '" "char *""'");
31896 : }
31897 0 : arg2 = (char *)(buf2);
31898 0 : result = (int)mapObj_queryByFilter(arg1,arg2);
31899 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31900 :
31901 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31902 0 : XSRETURN(argvi);
31903 : fail:
31904 :
31905 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
31906 0 : SWIG_croak_null();
31907 : }
31908 : }
31909 :
31910 :
31911 0 : XS(_wrap_mapObj_queryByPoint) {
31912 : {
31913 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31914 : pointObj *arg2 = (pointObj *) 0 ;
31915 : int arg3 ;
31916 : double arg4 ;
31917 0 : void *argp1 = 0 ;
31918 : int res1 = 0 ;
31919 0 : void *argp2 = 0 ;
31920 : int res2 = 0 ;
31921 : int val3 ;
31922 : int ecode3 = 0 ;
31923 : double val4 ;
31924 : int ecode4 = 0 ;
31925 : int argvi = 0;
31926 : int result;
31927 0 : dXSARGS;
31928 :
31929 0 : if ((items < 4) || (items > 4)) {
31930 0 : SWIG_croak("Usage: mapObj_queryByPoint(self,point,mode,buffer);");
31931 : }
31932 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31933 0 : if (!SWIG_IsOK(res1)) {
31934 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByPoint" "', argument " "1"" of type '" "struct mapObj *""'");
31935 : }
31936 0 : arg1 = (struct mapObj *)(argp1);
31937 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
31938 0 : if (!SWIG_IsOK(res2)) {
31939 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByPoint" "', argument " "2"" of type '" "pointObj *""'");
31940 : }
31941 0 : arg2 = (pointObj *)(argp2);
31942 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
31943 0 : if (!SWIG_IsOK(ecode3)) {
31944 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_queryByPoint" "', argument " "3"" of type '" "int""'");
31945 : }
31946 0 : arg3 = (int)(val3);
31947 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
31948 0 : if (!SWIG_IsOK(ecode4)) {
31949 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_queryByPoint" "', argument " "4"" of type '" "double""'");
31950 : }
31951 0 : arg4 = (double)(val4);
31952 0 : result = (int)mapObj_queryByPoint(arg1,arg2,arg3,arg4);
31953 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
31954 :
31955 :
31956 :
31957 :
31958 0 : XSRETURN(argvi);
31959 : fail:
31960 :
31961 :
31962 :
31963 :
31964 0 : SWIG_croak_null();
31965 : }
31966 : }
31967 :
31968 :
31969 0 : XS(_wrap_mapObj_queryByRect) {
31970 : {
31971 : struct mapObj *arg1 = (struct mapObj *) 0 ;
31972 : rectObj arg2 ;
31973 0 : void *argp1 = 0 ;
31974 : int res1 = 0 ;
31975 : void *argp2 ;
31976 : int res2 = 0 ;
31977 : int argvi = 0;
31978 : int result;
31979 0 : dXSARGS;
31980 :
31981 0 : if ((items < 2) || (items > 2)) {
31982 0 : SWIG_croak("Usage: mapObj_queryByRect(self,rect);");
31983 : }
31984 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
31985 0 : if (!SWIG_IsOK(res1)) {
31986 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByRect" "', argument " "1"" of type '" "struct mapObj *""'");
31987 : }
31988 0 : arg1 = (struct mapObj *)(argp1);
31989 : {
31990 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_rectObj, 0 );
31991 0 : if (!SWIG_IsOK(res2)) {
31992 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByRect" "', argument " "2"" of type '" "rectObj""'");
31993 : }
31994 0 : if (!argp2) {
31995 0 : SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "mapObj_queryByRect" "', argument " "2"" of type '" "rectObj""'");
31996 : } else {
31997 0 : arg2 = *((rectObj *)(argp2));
31998 : }
31999 : }
32000 : result = (int)mapObj_queryByRect(arg1,arg2);
32001 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32002 :
32003 0 : XSRETURN(argvi);
32004 : fail:
32005 :
32006 0 : SWIG_croak_null();
32007 : }
32008 : }
32009 :
32010 :
32011 0 : XS(_wrap_mapObj_queryByFeatures) {
32012 : {
32013 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32014 : int arg2 ;
32015 0 : void *argp1 = 0 ;
32016 : int res1 = 0 ;
32017 : int val2 ;
32018 : int ecode2 = 0 ;
32019 : int argvi = 0;
32020 : int result;
32021 0 : dXSARGS;
32022 :
32023 0 : if ((items < 2) || (items > 2)) {
32024 0 : SWIG_croak("Usage: mapObj_queryByFeatures(self,slayer);");
32025 : }
32026 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32027 0 : if (!SWIG_IsOK(res1)) {
32028 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByFeatures" "', argument " "1"" of type '" "struct mapObj *""'");
32029 : }
32030 0 : arg1 = (struct mapObj *)(argp1);
32031 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
32032 0 : if (!SWIG_IsOK(ecode2)) {
32033 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_queryByFeatures" "', argument " "2"" of type '" "int""'");
32034 : }
32035 0 : arg2 = (int)(val2);
32036 : result = (int)mapObj_queryByFeatures(arg1,arg2);
32037 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32038 :
32039 :
32040 0 : XSRETURN(argvi);
32041 : fail:
32042 :
32043 :
32044 0 : SWIG_croak_null();
32045 : }
32046 : }
32047 :
32048 :
32049 0 : XS(_wrap_mapObj_queryByShape) {
32050 : {
32051 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32052 : shapeObj *arg2 = (shapeObj *) 0 ;
32053 0 : void *argp1 = 0 ;
32054 : int res1 = 0 ;
32055 0 : void *argp2 = 0 ;
32056 : int res2 = 0 ;
32057 : int argvi = 0;
32058 : int result;
32059 0 : dXSARGS;
32060 :
32061 0 : if ((items < 2) || (items > 2)) {
32062 0 : SWIG_croak("Usage: mapObj_queryByShape(self,shape);");
32063 : }
32064 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32065 0 : if (!SWIG_IsOK(res1)) {
32066 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByShape" "', argument " "1"" of type '" "struct mapObj *""'");
32067 : }
32068 0 : arg1 = (struct mapObj *)(argp1);
32069 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
32070 0 : if (!SWIG_IsOK(res2)) {
32071 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByShape" "', argument " "2"" of type '" "shapeObj *""'");
32072 : }
32073 0 : arg2 = (shapeObj *)(argp2);
32074 0 : result = (int)mapObj_queryByShape(arg1,arg2);
32075 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32076 :
32077 :
32078 0 : XSRETURN(argvi);
32079 : fail:
32080 :
32081 :
32082 0 : SWIG_croak_null();
32083 : }
32084 : }
32085 :
32086 :
32087 0 : XS(_wrap_mapObj_setWKTProjection) {
32088 : {
32089 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32090 : char *arg2 = (char *) 0 ;
32091 0 : void *argp1 = 0 ;
32092 : int res1 = 0 ;
32093 : int res2 ;
32094 0 : char *buf2 = 0 ;
32095 0 : int alloc2 = 0 ;
32096 : int argvi = 0;
32097 : int result;
32098 0 : dXSARGS;
32099 :
32100 0 : if ((items < 2) || (items > 2)) {
32101 0 : SWIG_croak("Usage: mapObj_setWKTProjection(self,wkt);");
32102 : }
32103 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32104 0 : if (!SWIG_IsOK(res1)) {
32105 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setWKTProjection" "', argument " "1"" of type '" "struct mapObj *""'");
32106 : }
32107 0 : arg1 = (struct mapObj *)(argp1);
32108 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32109 0 : if (!SWIG_IsOK(res2)) {
32110 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setWKTProjection" "', argument " "2"" of type '" "char *""'");
32111 : }
32112 0 : arg2 = (char *)(buf2);
32113 : result = (int)mapObj_setWKTProjection(arg1,arg2);
32114 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32115 :
32116 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32117 0 : XSRETURN(argvi);
32118 : fail:
32119 :
32120 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32121 0 : SWIG_croak_null();
32122 : }
32123 : }
32124 :
32125 :
32126 0 : XS(_wrap_mapObj_getProjection) {
32127 : {
32128 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32129 0 : void *argp1 = 0 ;
32130 : int res1 = 0 ;
32131 : int argvi = 0;
32132 : char *result = 0 ;
32133 0 : dXSARGS;
32134 :
32135 0 : if ((items < 1) || (items > 1)) {
32136 0 : SWIG_croak("Usage: mapObj_getProjection(self);");
32137 : }
32138 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32139 0 : if (!SWIG_IsOK(res1)) {
32140 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getProjection" "', argument " "1"" of type '" "struct mapObj *""'");
32141 : }
32142 0 : arg1 = (struct mapObj *)(argp1);
32143 : result = (char *)mapObj_getProjection(arg1);
32144 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
32145 :
32146 0 : free((char*)result);
32147 0 : XSRETURN(argvi);
32148 : fail:
32149 :
32150 0 : SWIG_croak_null();
32151 : }
32152 : }
32153 :
32154 :
32155 0 : XS(_wrap_mapObj_setProjection) {
32156 : {
32157 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32158 : char *arg2 = (char *) 0 ;
32159 0 : void *argp1 = 0 ;
32160 : int res1 = 0 ;
32161 : int res2 ;
32162 0 : char *buf2 = 0 ;
32163 0 : int alloc2 = 0 ;
32164 : int argvi = 0;
32165 : int result;
32166 0 : dXSARGS;
32167 :
32168 0 : if ((items < 2) || (items > 2)) {
32169 0 : SWIG_croak("Usage: mapObj_setProjection(self,proj4);");
32170 : }
32171 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32172 0 : if (!SWIG_IsOK(res1)) {
32173 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setProjection" "', argument " "1"" of type '" "struct mapObj *""'");
32174 : }
32175 0 : arg1 = (struct mapObj *)(argp1);
32176 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32177 0 : if (!SWIG_IsOK(res2)) {
32178 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setProjection" "', argument " "2"" of type '" "char *""'");
32179 : }
32180 0 : arg2 = (char *)(buf2);
32181 : result = (int)mapObj_setProjection(arg1,arg2);
32182 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32183 :
32184 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32185 0 : XSRETURN(argvi);
32186 : fail:
32187 :
32188 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32189 0 : SWIG_croak_null();
32190 : }
32191 : }
32192 :
32193 :
32194 0 : XS(_wrap_mapObj_save) {
32195 : {
32196 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32197 : char *arg2 = (char *) 0 ;
32198 0 : void *argp1 = 0 ;
32199 : int res1 = 0 ;
32200 : int res2 ;
32201 0 : char *buf2 = 0 ;
32202 0 : int alloc2 = 0 ;
32203 : int argvi = 0;
32204 : int result;
32205 0 : dXSARGS;
32206 :
32207 0 : if ((items < 2) || (items > 2)) {
32208 0 : SWIG_croak("Usage: mapObj_save(self,filename);");
32209 : }
32210 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32211 0 : if (!SWIG_IsOK(res1)) {
32212 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_save" "', argument " "1"" of type '" "struct mapObj *""'");
32213 : }
32214 0 : arg1 = (struct mapObj *)(argp1);
32215 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32216 0 : if (!SWIG_IsOK(res2)) {
32217 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_save" "', argument " "2"" of type '" "char *""'");
32218 : }
32219 0 : arg2 = (char *)(buf2);
32220 : result = (int)mapObj_save(arg1,arg2);
32221 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32222 :
32223 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32224 0 : XSRETURN(argvi);
32225 : fail:
32226 :
32227 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32228 0 : SWIG_croak_null();
32229 : }
32230 : }
32231 :
32232 :
32233 0 : XS(_wrap_mapObj_saveQuery) {
32234 : {
32235 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32236 : char *arg2 = (char *) 0 ;
32237 : int arg3 = (int) 0 ;
32238 0 : void *argp1 = 0 ;
32239 : int res1 = 0 ;
32240 : int res2 ;
32241 0 : char *buf2 = 0 ;
32242 0 : int alloc2 = 0 ;
32243 : int val3 ;
32244 : int ecode3 = 0 ;
32245 : int argvi = 0;
32246 : int result;
32247 0 : dXSARGS;
32248 :
32249 0 : if ((items < 2) || (items > 3)) {
32250 0 : SWIG_croak("Usage: mapObj_saveQuery(self,filename,results);");
32251 : }
32252 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32253 0 : if (!SWIG_IsOK(res1)) {
32254 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_saveQuery" "', argument " "1"" of type '" "struct mapObj *""'");
32255 : }
32256 0 : arg1 = (struct mapObj *)(argp1);
32257 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32258 0 : if (!SWIG_IsOK(res2)) {
32259 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_saveQuery" "', argument " "2"" of type '" "char *""'");
32260 : }
32261 0 : arg2 = (char *)(buf2);
32262 0 : if (items > 2) {
32263 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
32264 0 : if (!SWIG_IsOK(ecode3)) {
32265 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_saveQuery" "', argument " "3"" of type '" "int""'");
32266 : }
32267 0 : arg3 = (int)(val3);
32268 : }
32269 : result = (int)mapObj_saveQuery(arg1,arg2,arg3);
32270 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32271 :
32272 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32273 :
32274 0 : XSRETURN(argvi);
32275 : fail:
32276 :
32277 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32278 :
32279 0 : SWIG_croak_null();
32280 : }
32281 : }
32282 :
32283 :
32284 0 : XS(_wrap_mapObj_loadQuery) {
32285 : {
32286 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32287 : char *arg2 = (char *) 0 ;
32288 0 : void *argp1 = 0 ;
32289 : int res1 = 0 ;
32290 : int res2 ;
32291 0 : char *buf2 = 0 ;
32292 0 : int alloc2 = 0 ;
32293 : int argvi = 0;
32294 : int result;
32295 0 : dXSARGS;
32296 :
32297 0 : if ((items < 2) || (items > 2)) {
32298 0 : SWIG_croak("Usage: mapObj_loadQuery(self,filename);");
32299 : }
32300 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32301 0 : if (!SWIG_IsOK(res1)) {
32302 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_loadQuery" "', argument " "1"" of type '" "struct mapObj *""'");
32303 : }
32304 0 : arg1 = (struct mapObj *)(argp1);
32305 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32306 0 : if (!SWIG_IsOK(res2)) {
32307 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_loadQuery" "', argument " "2"" of type '" "char *""'");
32308 : }
32309 0 : arg2 = (char *)(buf2);
32310 : result = (int)mapObj_loadQuery(arg1,arg2);
32311 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32312 :
32313 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32314 0 : XSRETURN(argvi);
32315 : fail:
32316 :
32317 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32318 0 : SWIG_croak_null();
32319 : }
32320 : }
32321 :
32322 :
32323 0 : XS(_wrap_mapObj_freeQuery) {
32324 : {
32325 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32326 : int arg2 = (int) -1 ;
32327 0 : void *argp1 = 0 ;
32328 : int res1 = 0 ;
32329 : int val2 ;
32330 : int ecode2 = 0 ;
32331 : int argvi = 0;
32332 0 : dXSARGS;
32333 :
32334 0 : if ((items < 1) || (items > 2)) {
32335 0 : SWIG_croak("Usage: mapObj_freeQuery(self,qlayer);");
32336 : }
32337 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32338 0 : if (!SWIG_IsOK(res1)) {
32339 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_freeQuery" "', argument " "1"" of type '" "struct mapObj *""'");
32340 : }
32341 0 : arg1 = (struct mapObj *)(argp1);
32342 0 : if (items > 1) {
32343 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
32344 0 : if (!SWIG_IsOK(ecode2)) {
32345 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_freeQuery" "', argument " "2"" of type '" "int""'");
32346 : }
32347 0 : arg2 = (int)(val2);
32348 : }
32349 : mapObj_freeQuery(arg1,arg2);
32350 0 : ST(argvi) = sv_newmortal();
32351 :
32352 :
32353 0 : XSRETURN(argvi);
32354 : fail:
32355 :
32356 :
32357 0 : SWIG_croak_null();
32358 : }
32359 : }
32360 :
32361 :
32362 0 : XS(_wrap_mapObj_saveQueryAsGML) {
32363 : {
32364 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32365 : char *arg2 = (char *) 0 ;
32366 : char *arg3 = (char *) "GOMF" ;
32367 0 : void *argp1 = 0 ;
32368 : int res1 = 0 ;
32369 : int res2 ;
32370 0 : char *buf2 = 0 ;
32371 0 : int alloc2 = 0 ;
32372 : int res3 ;
32373 0 : char *buf3 = 0 ;
32374 0 : int alloc3 = 0 ;
32375 : int argvi = 0;
32376 : int result;
32377 0 : dXSARGS;
32378 :
32379 0 : if ((items < 2) || (items > 3)) {
32380 0 : SWIG_croak("Usage: mapObj_saveQueryAsGML(self,filename,ns);");
32381 : }
32382 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32383 0 : if (!SWIG_IsOK(res1)) {
32384 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_saveQueryAsGML" "', argument " "1"" of type '" "struct mapObj *""'");
32385 : }
32386 0 : arg1 = (struct mapObj *)(argp1);
32387 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32388 0 : if (!SWIG_IsOK(res2)) {
32389 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_saveQueryAsGML" "', argument " "2"" of type '" "char *""'");
32390 : }
32391 0 : arg2 = (char *)(buf2);
32392 0 : if (items > 2) {
32393 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
32394 0 : if (!SWIG_IsOK(res3)) {
32395 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_saveQueryAsGML" "', argument " "3"" of type '" "char const *""'");
32396 : }
32397 0 : arg3 = (char *)(buf3);
32398 : }
32399 : result = (int)mapObj_saveQueryAsGML(arg1,arg2,(char const *)arg3);
32400 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32401 :
32402 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32403 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
32404 0 : XSRETURN(argvi);
32405 : fail:
32406 :
32407 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32408 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
32409 0 : SWIG_croak_null();
32410 : }
32411 : }
32412 :
32413 :
32414 0 : XS(_wrap_mapObj_getMetaData) {
32415 : {
32416 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32417 : char *arg2 = (char *) 0 ;
32418 0 : void *argp1 = 0 ;
32419 : int res1 = 0 ;
32420 : int res2 ;
32421 0 : char *buf2 = 0 ;
32422 0 : int alloc2 = 0 ;
32423 : int argvi = 0;
32424 : char *result = 0 ;
32425 0 : dXSARGS;
32426 :
32427 0 : if ((items < 2) || (items > 2)) {
32428 0 : SWIG_croak("Usage: mapObj_getMetaData(self,name);");
32429 : }
32430 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32431 0 : if (!SWIG_IsOK(res1)) {
32432 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getMetaData" "', argument " "1"" of type '" "struct mapObj *""'");
32433 : }
32434 0 : arg1 = (struct mapObj *)(argp1);
32435 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32436 0 : if (!SWIG_IsOK(res2)) {
32437 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getMetaData" "', argument " "2"" of type '" "char *""'");
32438 : }
32439 0 : arg2 = (char *)(buf2);
32440 0 : result = (char *)mapObj_getMetaData(arg1,arg2);
32441 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
32442 :
32443 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32444 0 : XSRETURN(argvi);
32445 : fail:
32446 :
32447 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32448 0 : SWIG_croak_null();
32449 : }
32450 : }
32451 :
32452 :
32453 0 : XS(_wrap_mapObj_setMetaData) {
32454 : {
32455 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32456 : char *arg2 = (char *) 0 ;
32457 : char *arg3 = (char *) 0 ;
32458 0 : void *argp1 = 0 ;
32459 : int res1 = 0 ;
32460 : int res2 ;
32461 0 : char *buf2 = 0 ;
32462 0 : int alloc2 = 0 ;
32463 : int res3 ;
32464 0 : char *buf3 = 0 ;
32465 0 : int alloc3 = 0 ;
32466 : int argvi = 0;
32467 : int result;
32468 0 : dXSARGS;
32469 :
32470 0 : if ((items < 3) || (items > 3)) {
32471 0 : SWIG_croak("Usage: mapObj_setMetaData(self,name,value);");
32472 : }
32473 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32474 0 : if (!SWIG_IsOK(res1)) {
32475 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setMetaData" "', argument " "1"" of type '" "struct mapObj *""'");
32476 : }
32477 0 : arg1 = (struct mapObj *)(argp1);
32478 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32479 0 : if (!SWIG_IsOK(res2)) {
32480 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setMetaData" "', argument " "2"" of type '" "char *""'");
32481 : }
32482 0 : arg2 = (char *)(buf2);
32483 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
32484 0 : if (!SWIG_IsOK(res3)) {
32485 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_setMetaData" "', argument " "3"" of type '" "char *""'");
32486 : }
32487 0 : arg3 = (char *)(buf3);
32488 : result = (int)mapObj_setMetaData(arg1,arg2,arg3);
32489 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32490 :
32491 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32492 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
32493 0 : XSRETURN(argvi);
32494 : fail:
32495 :
32496 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32497 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
32498 0 : SWIG_croak_null();
32499 : }
32500 : }
32501 :
32502 :
32503 0 : XS(_wrap_mapObj_removeMetaData) {
32504 : {
32505 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32506 : char *arg2 = (char *) 0 ;
32507 0 : void *argp1 = 0 ;
32508 : int res1 = 0 ;
32509 : int res2 ;
32510 0 : char *buf2 = 0 ;
32511 0 : int alloc2 = 0 ;
32512 : int argvi = 0;
32513 : int result;
32514 0 : dXSARGS;
32515 :
32516 0 : if ((items < 2) || (items > 2)) {
32517 0 : SWIG_croak("Usage: mapObj_removeMetaData(self,name);");
32518 : }
32519 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32520 0 : if (!SWIG_IsOK(res1)) {
32521 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_removeMetaData" "', argument " "1"" of type '" "struct mapObj *""'");
32522 : }
32523 0 : arg1 = (struct mapObj *)(argp1);
32524 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32525 0 : if (!SWIG_IsOK(res2)) {
32526 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_removeMetaData" "', argument " "2"" of type '" "char *""'");
32527 : }
32528 0 : arg2 = (char *)(buf2);
32529 : result = (int)mapObj_removeMetaData(arg1,arg2);
32530 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32531 :
32532 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32533 0 : XSRETURN(argvi);
32534 : fail:
32535 :
32536 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32537 0 : SWIG_croak_null();
32538 : }
32539 : }
32540 :
32541 :
32542 0 : XS(_wrap_mapObj_getFirstMetaDataKey) {
32543 : {
32544 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32545 0 : void *argp1 = 0 ;
32546 : int res1 = 0 ;
32547 : int argvi = 0;
32548 : char *result = 0 ;
32549 0 : dXSARGS;
32550 :
32551 0 : if ((items < 1) || (items > 1)) {
32552 0 : SWIG_croak("Usage: mapObj_getFirstMetaDataKey(self);");
32553 : }
32554 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32555 0 : if (!SWIG_IsOK(res1)) {
32556 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getFirstMetaDataKey" "', argument " "1"" of type '" "struct mapObj *""'");
32557 : }
32558 0 : arg1 = (struct mapObj *)(argp1);
32559 : result = (char *)mapObj_getFirstMetaDataKey(arg1);
32560 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
32561 :
32562 0 : XSRETURN(argvi);
32563 : fail:
32564 :
32565 0 : SWIG_croak_null();
32566 : }
32567 : }
32568 :
32569 :
32570 0 : XS(_wrap_mapObj_getNextMetaDataKey) {
32571 : {
32572 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32573 : char *arg2 = (char *) 0 ;
32574 0 : void *argp1 = 0 ;
32575 : int res1 = 0 ;
32576 : int res2 ;
32577 0 : char *buf2 = 0 ;
32578 0 : int alloc2 = 0 ;
32579 : int argvi = 0;
32580 : char *result = 0 ;
32581 0 : dXSARGS;
32582 :
32583 0 : if ((items < 2) || (items > 2)) {
32584 0 : SWIG_croak("Usage: mapObj_getNextMetaDataKey(self,lastkey);");
32585 : }
32586 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32587 0 : if (!SWIG_IsOK(res1)) {
32588 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getNextMetaDataKey" "', argument " "1"" of type '" "struct mapObj *""'");
32589 : }
32590 0 : arg1 = (struct mapObj *)(argp1);
32591 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32592 0 : if (!SWIG_IsOK(res2)) {
32593 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getNextMetaDataKey" "', argument " "2"" of type '" "char *""'");
32594 : }
32595 0 : arg2 = (char *)(buf2);
32596 : result = (char *)mapObj_getNextMetaDataKey(arg1,arg2);
32597 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
32598 :
32599 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32600 0 : XSRETURN(argvi);
32601 : fail:
32602 :
32603 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32604 0 : SWIG_croak_null();
32605 : }
32606 : }
32607 :
32608 :
32609 0 : XS(_wrap_mapObj_setSymbolSet) {
32610 : {
32611 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32612 : char *arg2 = (char *) 0 ;
32613 0 : void *argp1 = 0 ;
32614 : int res1 = 0 ;
32615 : int res2 ;
32616 0 : char *buf2 = 0 ;
32617 0 : int alloc2 = 0 ;
32618 : int argvi = 0;
32619 : int result;
32620 0 : dXSARGS;
32621 :
32622 0 : if ((items < 2) || (items > 2)) {
32623 0 : SWIG_croak("Usage: mapObj_setSymbolSet(self,szFileName);");
32624 : }
32625 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32626 0 : if (!SWIG_IsOK(res1)) {
32627 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setSymbolSet" "', argument " "1"" of type '" "struct mapObj *""'");
32628 : }
32629 0 : arg1 = (struct mapObj *)(argp1);
32630 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32631 0 : if (!SWIG_IsOK(res2)) {
32632 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setSymbolSet" "', argument " "2"" of type '" "char *""'");
32633 : }
32634 0 : arg2 = (char *)(buf2);
32635 0 : result = (int)mapObj_setSymbolSet(arg1,arg2);
32636 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32637 :
32638 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32639 0 : XSRETURN(argvi);
32640 : fail:
32641 :
32642 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32643 0 : SWIG_croak_null();
32644 : }
32645 : }
32646 :
32647 :
32648 0 : XS(_wrap_mapObj_getNumSymbols) {
32649 : {
32650 0 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32651 0 : void *argp1 = 0 ;
32652 : int res1 = 0 ;
32653 : int argvi = 0;
32654 : int result;
32655 0 : dXSARGS;
32656 :
32657 0 : if ((items < 1) || (items > 1)) {
32658 0 : SWIG_croak("Usage: mapObj_getNumSymbols(self);");
32659 : }
32660 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32661 0 : if (!SWIG_IsOK(res1)) {
32662 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getNumSymbols" "', argument " "1"" of type '" "struct mapObj *""'");
32663 : }
32664 0 : arg1 = (struct mapObj *)(argp1);
32665 : result = (int)mapObj_getNumSymbols(arg1);
32666 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32667 :
32668 0 : XSRETURN(argvi);
32669 : fail:
32670 :
32671 0 : SWIG_croak_null();
32672 : }
32673 : }
32674 :
32675 :
32676 0 : XS(_wrap_mapObj_setFontSet) {
32677 : {
32678 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32679 : char *arg2 = (char *) 0 ;
32680 0 : void *argp1 = 0 ;
32681 : int res1 = 0 ;
32682 : int res2 ;
32683 0 : char *buf2 = 0 ;
32684 0 : int alloc2 = 0 ;
32685 : int argvi = 0;
32686 : int result;
32687 0 : dXSARGS;
32688 :
32689 0 : if ((items < 2) || (items > 2)) {
32690 0 : SWIG_croak("Usage: mapObj_setFontSet(self,filename);");
32691 : }
32692 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32693 0 : if (!SWIG_IsOK(res1)) {
32694 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setFontSet" "', argument " "1"" of type '" "struct mapObj *""'");
32695 : }
32696 0 : arg1 = (struct mapObj *)(argp1);
32697 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32698 0 : if (!SWIG_IsOK(res2)) {
32699 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setFontSet" "', argument " "2"" of type '" "char *""'");
32700 : }
32701 0 : arg2 = (char *)(buf2);
32702 0 : result = (int)mapObj_setFontSet(arg1,arg2);
32703 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32704 :
32705 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32706 0 : XSRETURN(argvi);
32707 : fail:
32708 :
32709 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32710 0 : SWIG_croak_null();
32711 : }
32712 : }
32713 :
32714 :
32715 0 : XS(_wrap_mapObj_saveMapContext) {
32716 : {
32717 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32718 : char *arg2 = (char *) 0 ;
32719 0 : void *argp1 = 0 ;
32720 : int res1 = 0 ;
32721 : int res2 ;
32722 0 : char *buf2 = 0 ;
32723 0 : int alloc2 = 0 ;
32724 : int argvi = 0;
32725 : int result;
32726 0 : dXSARGS;
32727 :
32728 0 : if ((items < 2) || (items > 2)) {
32729 0 : SWIG_croak("Usage: mapObj_saveMapContext(self,szFileName);");
32730 : }
32731 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32732 0 : if (!SWIG_IsOK(res1)) {
32733 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_saveMapContext" "', argument " "1"" of type '" "struct mapObj *""'");
32734 : }
32735 0 : arg1 = (struct mapObj *)(argp1);
32736 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32737 0 : if (!SWIG_IsOK(res2)) {
32738 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_saveMapContext" "', argument " "2"" of type '" "char *""'");
32739 : }
32740 0 : arg2 = (char *)(buf2);
32741 : result = (int)mapObj_saveMapContext(arg1,arg2);
32742 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32743 :
32744 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32745 0 : XSRETURN(argvi);
32746 : fail:
32747 :
32748 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32749 0 : SWIG_croak_null();
32750 : }
32751 : }
32752 :
32753 :
32754 0 : XS(_wrap_mapObj_loadMapContext) {
32755 : {
32756 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32757 : char *arg2 = (char *) 0 ;
32758 : int arg3 = (int) 0 ;
32759 0 : void *argp1 = 0 ;
32760 : int res1 = 0 ;
32761 : int res2 ;
32762 0 : char *buf2 = 0 ;
32763 0 : int alloc2 = 0 ;
32764 : int val3 ;
32765 : int ecode3 = 0 ;
32766 : int argvi = 0;
32767 : int result;
32768 0 : dXSARGS;
32769 :
32770 0 : if ((items < 2) || (items > 3)) {
32771 0 : SWIG_croak("Usage: mapObj_loadMapContext(self,szFileName,useUniqueNames);");
32772 : }
32773 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32774 0 : if (!SWIG_IsOK(res1)) {
32775 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_loadMapContext" "', argument " "1"" of type '" "struct mapObj *""'");
32776 : }
32777 0 : arg1 = (struct mapObj *)(argp1);
32778 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32779 0 : if (!SWIG_IsOK(res2)) {
32780 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_loadMapContext" "', argument " "2"" of type '" "char *""'");
32781 : }
32782 0 : arg2 = (char *)(buf2);
32783 0 : if (items > 2) {
32784 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
32785 0 : if (!SWIG_IsOK(ecode3)) {
32786 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_loadMapContext" "', argument " "3"" of type '" "int""'");
32787 : }
32788 0 : arg3 = (int)(val3);
32789 : }
32790 : result = (int)mapObj_loadMapContext(arg1,arg2,arg3);
32791 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32792 :
32793 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32794 :
32795 0 : XSRETURN(argvi);
32796 : fail:
32797 :
32798 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32799 :
32800 0 : SWIG_croak_null();
32801 : }
32802 : }
32803 :
32804 :
32805 0 : XS(_wrap_mapObj_moveLayerUp) {
32806 : {
32807 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32808 : int arg2 ;
32809 0 : void *argp1 = 0 ;
32810 : int res1 = 0 ;
32811 : int val2 ;
32812 : int ecode2 = 0 ;
32813 : int argvi = 0;
32814 : int result;
32815 0 : dXSARGS;
32816 :
32817 0 : if ((items < 2) || (items > 2)) {
32818 0 : SWIG_croak("Usage: mapObj_moveLayerUp(self,layerindex);");
32819 : }
32820 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32821 0 : if (!SWIG_IsOK(res1)) {
32822 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_moveLayerUp" "', argument " "1"" of type '" "struct mapObj *""'");
32823 : }
32824 0 : arg1 = (struct mapObj *)(argp1);
32825 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
32826 0 : if (!SWIG_IsOK(ecode2)) {
32827 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_moveLayerUp" "', argument " "2"" of type '" "int""'");
32828 : }
32829 0 : arg2 = (int)(val2);
32830 : result = (int)mapObj_moveLayerUp(arg1,arg2);
32831 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32832 :
32833 :
32834 0 : XSRETURN(argvi);
32835 : fail:
32836 :
32837 :
32838 0 : SWIG_croak_null();
32839 : }
32840 : }
32841 :
32842 :
32843 0 : XS(_wrap_mapObj_moveLayerDown) {
32844 : {
32845 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32846 : int arg2 ;
32847 0 : void *argp1 = 0 ;
32848 : int res1 = 0 ;
32849 : int val2 ;
32850 : int ecode2 = 0 ;
32851 : int argvi = 0;
32852 : int result;
32853 0 : dXSARGS;
32854 :
32855 0 : if ((items < 2) || (items > 2)) {
32856 0 : SWIG_croak("Usage: mapObj_moveLayerDown(self,layerindex);");
32857 : }
32858 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32859 0 : if (!SWIG_IsOK(res1)) {
32860 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_moveLayerDown" "', argument " "1"" of type '" "struct mapObj *""'");
32861 : }
32862 0 : arg1 = (struct mapObj *)(argp1);
32863 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
32864 0 : if (!SWIG_IsOK(ecode2)) {
32865 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_moveLayerDown" "', argument " "2"" of type '" "int""'");
32866 : }
32867 0 : arg2 = (int)(val2);
32868 : result = (int)mapObj_moveLayerDown(arg1,arg2);
32869 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32870 :
32871 :
32872 0 : XSRETURN(argvi);
32873 : fail:
32874 :
32875 :
32876 0 : SWIG_croak_null();
32877 : }
32878 : }
32879 :
32880 :
32881 0 : XS(_wrap_mapObj_getLayersDrawingOrder) {
32882 : {
32883 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32884 0 : void *argp1 = 0 ;
32885 : int res1 = 0 ;
32886 : int argvi = 0;
32887 : intarray *result = 0 ;
32888 0 : dXSARGS;
32889 :
32890 0 : if ((items < 1) || (items > 1)) {
32891 0 : SWIG_croak("Usage: mapObj_getLayersDrawingOrder(self);");
32892 : }
32893 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32894 0 : if (!SWIG_IsOK(res1)) {
32895 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getLayersDrawingOrder" "', argument " "1"" of type '" "struct mapObj *""'");
32896 : }
32897 0 : arg1 = (struct mapObj *)(argp1);
32898 0 : result = (intarray *)mapObj_getLayersDrawingOrder(arg1);
32899 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intarray, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
32900 :
32901 0 : XSRETURN(argvi);
32902 : fail:
32903 :
32904 0 : SWIG_croak_null();
32905 : }
32906 : }
32907 :
32908 :
32909 0 : XS(_wrap_mapObj_setLayersDrawingOrder) {
32910 : {
32911 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32912 : int *arg2 = (int *) 0 ;
32913 0 : void *argp1 = 0 ;
32914 : int res1 = 0 ;
32915 0 : void *argp2 = 0 ;
32916 : int res2 = 0 ;
32917 : int argvi = 0;
32918 : int result;
32919 0 : dXSARGS;
32920 :
32921 0 : if ((items < 2) || (items > 2)) {
32922 0 : SWIG_croak("Usage: mapObj_setLayersDrawingOrder(self,panIndexes);");
32923 : }
32924 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32925 0 : if (!SWIG_IsOK(res1)) {
32926 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setLayersDrawingOrder" "', argument " "1"" of type '" "struct mapObj *""'");
32927 : }
32928 0 : arg1 = (struct mapObj *)(argp1);
32929 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, 0 | 0 );
32930 0 : if (!SWIG_IsOK(res2)) {
32931 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setLayersDrawingOrder" "', argument " "2"" of type '" "int *""'");
32932 : }
32933 0 : arg2 = (int *)(argp2);
32934 : result = (int)mapObj_setLayersDrawingOrder(arg1,arg2);
32935 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
32936 :
32937 :
32938 0 : XSRETURN(argvi);
32939 : fail:
32940 :
32941 :
32942 0 : SWIG_croak_null();
32943 : }
32944 : }
32945 :
32946 :
32947 0 : XS(_wrap_mapObj_setConfigOption) {
32948 : {
32949 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32950 : char *arg2 = (char *) 0 ;
32951 : char *arg3 = (char *) 0 ;
32952 0 : void *argp1 = 0 ;
32953 : int res1 = 0 ;
32954 : int res2 ;
32955 0 : char *buf2 = 0 ;
32956 0 : int alloc2 = 0 ;
32957 : int res3 ;
32958 0 : char *buf3 = 0 ;
32959 0 : int alloc3 = 0 ;
32960 : int argvi = 0;
32961 0 : dXSARGS;
32962 :
32963 0 : if ((items < 3) || (items > 3)) {
32964 0 : SWIG_croak("Usage: mapObj_setConfigOption(self,key,value);");
32965 : }
32966 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
32967 0 : if (!SWIG_IsOK(res1)) {
32968 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setConfigOption" "', argument " "1"" of type '" "struct mapObj *""'");
32969 : }
32970 0 : arg1 = (struct mapObj *)(argp1);
32971 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
32972 0 : if (!SWIG_IsOK(res2)) {
32973 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setConfigOption" "', argument " "2"" of type '" "char *""'");
32974 : }
32975 0 : arg2 = (char *)(buf2);
32976 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
32977 0 : if (!SWIG_IsOK(res3)) {
32978 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_setConfigOption" "', argument " "3"" of type '" "char *""'");
32979 : }
32980 0 : arg3 = (char *)(buf3);
32981 : mapObj_setConfigOption(arg1,arg2,arg3);
32982 0 : ST(argvi) = sv_newmortal();
32983 :
32984 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32985 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
32986 0 : XSRETURN(argvi);
32987 : fail:
32988 :
32989 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
32990 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
32991 0 : SWIG_croak_null();
32992 : }
32993 : }
32994 :
32995 :
32996 0 : XS(_wrap_mapObj_getConfigOption) {
32997 : {
32998 : struct mapObj *arg1 = (struct mapObj *) 0 ;
32999 : char *arg2 = (char *) 0 ;
33000 0 : void *argp1 = 0 ;
33001 : int res1 = 0 ;
33002 : int res2 ;
33003 0 : char *buf2 = 0 ;
33004 0 : int alloc2 = 0 ;
33005 : int argvi = 0;
33006 : char *result = 0 ;
33007 0 : dXSARGS;
33008 :
33009 0 : if ((items < 2) || (items > 2)) {
33010 0 : SWIG_croak("Usage: mapObj_getConfigOption(self,key);");
33011 : }
33012 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33013 0 : if (!SWIG_IsOK(res1)) {
33014 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getConfigOption" "', argument " "1"" of type '" "struct mapObj *""'");
33015 : }
33016 0 : arg1 = (struct mapObj *)(argp1);
33017 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33018 0 : if (!SWIG_IsOK(res2)) {
33019 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getConfigOption" "', argument " "2"" of type '" "char *""'");
33020 : }
33021 0 : arg2 = (char *)(buf2);
33022 : result = (char *)mapObj_getConfigOption(arg1,arg2);
33023 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
33024 :
33025 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33026 0 : XSRETURN(argvi);
33027 : fail:
33028 :
33029 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33030 0 : SWIG_croak_null();
33031 : }
33032 : }
33033 :
33034 :
33035 0 : XS(_wrap_mapObj_applyConfigOptions) {
33036 : {
33037 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33038 0 : void *argp1 = 0 ;
33039 : int res1 = 0 ;
33040 : int argvi = 0;
33041 0 : dXSARGS;
33042 :
33043 0 : if ((items < 1) || (items > 1)) {
33044 0 : SWIG_croak("Usage: mapObj_applyConfigOptions(self);");
33045 : }
33046 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33047 0 : if (!SWIG_IsOK(res1)) {
33048 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applyConfigOptions" "', argument " "1"" of type '" "struct mapObj *""'");
33049 : }
33050 0 : arg1 = (struct mapObj *)(argp1);
33051 : mapObj_applyConfigOptions(arg1);
33052 0 : ST(argvi) = sv_newmortal();
33053 :
33054 0 : XSRETURN(argvi);
33055 : fail:
33056 :
33057 0 : SWIG_croak_null();
33058 : }
33059 : }
33060 :
33061 :
33062 0 : XS(_wrap_mapObj_applySLD) {
33063 : {
33064 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33065 : char *arg2 = (char *) 0 ;
33066 0 : void *argp1 = 0 ;
33067 : int res1 = 0 ;
33068 : int res2 ;
33069 0 : char *buf2 = 0 ;
33070 0 : int alloc2 = 0 ;
33071 : int argvi = 0;
33072 : int result;
33073 0 : dXSARGS;
33074 :
33075 0 : if ((items < 2) || (items > 2)) {
33076 0 : SWIG_croak("Usage: mapObj_applySLD(self,sld);");
33077 : }
33078 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33079 0 : if (!SWIG_IsOK(res1)) {
33080 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applySLD" "', argument " "1"" of type '" "struct mapObj *""'");
33081 : }
33082 0 : arg1 = (struct mapObj *)(argp1);
33083 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33084 0 : if (!SWIG_IsOK(res2)) {
33085 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_applySLD" "', argument " "2"" of type '" "char *""'");
33086 : }
33087 0 : arg2 = (char *)(buf2);
33088 : result = (int)mapObj_applySLD(arg1,arg2);
33089 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33090 :
33091 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33092 0 : XSRETURN(argvi);
33093 : fail:
33094 :
33095 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33096 0 : SWIG_croak_null();
33097 : }
33098 : }
33099 :
33100 :
33101 0 : XS(_wrap_mapObj_applySLDURL) {
33102 : {
33103 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33104 : char *arg2 = (char *) 0 ;
33105 0 : void *argp1 = 0 ;
33106 : int res1 = 0 ;
33107 : int res2 ;
33108 0 : char *buf2 = 0 ;
33109 0 : int alloc2 = 0 ;
33110 : int argvi = 0;
33111 : int result;
33112 0 : dXSARGS;
33113 :
33114 0 : if ((items < 2) || (items > 2)) {
33115 0 : SWIG_croak("Usage: mapObj_applySLDURL(self,sld);");
33116 : }
33117 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33118 0 : if (!SWIG_IsOK(res1)) {
33119 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applySLDURL" "', argument " "1"" of type '" "struct mapObj *""'");
33120 : }
33121 0 : arg1 = (struct mapObj *)(argp1);
33122 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33123 0 : if (!SWIG_IsOK(res2)) {
33124 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_applySLDURL" "', argument " "2"" of type '" "char *""'");
33125 : }
33126 0 : arg2 = (char *)(buf2);
33127 : result = (int)mapObj_applySLDURL(arg1,arg2);
33128 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33129 :
33130 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33131 0 : XSRETURN(argvi);
33132 : fail:
33133 :
33134 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33135 0 : SWIG_croak_null();
33136 : }
33137 : }
33138 :
33139 :
33140 0 : XS(_wrap_mapObj_generateSLD) {
33141 : {
33142 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33143 0 : void *argp1 = 0 ;
33144 : int res1 = 0 ;
33145 : int argvi = 0;
33146 : char *result = 0 ;
33147 0 : dXSARGS;
33148 :
33149 0 : if ((items < 1) || (items > 1)) {
33150 0 : SWIG_croak("Usage: mapObj_generateSLD(self);");
33151 : }
33152 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33153 0 : if (!SWIG_IsOK(res1)) {
33154 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_generateSLD" "', argument " "1"" of type '" "struct mapObj *""'");
33155 : }
33156 0 : arg1 = (struct mapObj *)(argp1);
33157 : result = (char *)mapObj_generateSLD(arg1);
33158 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
33159 :
33160 0 : free((char*)result);
33161 0 : XSRETURN(argvi);
33162 : fail:
33163 :
33164 0 : SWIG_croak_null();
33165 : }
33166 : }
33167 :
33168 :
33169 0 : XS(_wrap_mapObj_processTemplate) {
33170 : {
33171 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33172 : int arg2 ;
33173 : char **arg3 = (char **) 0 ;
33174 : char **arg4 = (char **) 0 ;
33175 : int arg5 ;
33176 0 : void *argp1 = 0 ;
33177 : int res1 = 0 ;
33178 : int val2 ;
33179 : int ecode2 = 0 ;
33180 0 : void *argp3 = 0 ;
33181 : int res3 = 0 ;
33182 0 : void *argp4 = 0 ;
33183 : int res4 = 0 ;
33184 : int val5 ;
33185 : int ecode5 = 0 ;
33186 : int argvi = 0;
33187 : char *result = 0 ;
33188 0 : dXSARGS;
33189 :
33190 0 : if ((items < 5) || (items > 5)) {
33191 0 : SWIG_croak("Usage: mapObj_processTemplate(self,bGenerateImages,names,values,numentries);");
33192 : }
33193 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33194 0 : if (!SWIG_IsOK(res1)) {
33195 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_processTemplate" "', argument " "1"" of type '" "struct mapObj *""'");
33196 : }
33197 0 : arg1 = (struct mapObj *)(argp1);
33198 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
33199 0 : if (!SWIG_IsOK(ecode2)) {
33200 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_processTemplate" "', argument " "2"" of type '" "int""'");
33201 : }
33202 0 : arg2 = (int)(val2);
33203 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 | 0 );
33204 0 : if (!SWIG_IsOK(res3)) {
33205 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_processTemplate" "', argument " "3"" of type '" "char **""'");
33206 : }
33207 0 : arg3 = (char **)(argp3);
33208 0 : res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_p_char, 0 | 0 );
33209 0 : if (!SWIG_IsOK(res4)) {
33210 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "mapObj_processTemplate" "', argument " "4"" of type '" "char **""'");
33211 : }
33212 0 : arg4 = (char **)(argp4);
33213 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
33214 0 : if (!SWIG_IsOK(ecode5)) {
33215 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_processTemplate" "', argument " "5"" of type '" "int""'");
33216 : }
33217 0 : arg5 = (int)(val5);
33218 : result = (char *)mapObj_processTemplate(arg1,arg2,arg3,arg4,arg5);
33219 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
33220 :
33221 :
33222 :
33223 :
33224 :
33225 0 : free((char*)result);
33226 0 : XSRETURN(argvi);
33227 : fail:
33228 :
33229 :
33230 :
33231 :
33232 :
33233 0 : SWIG_croak_null();
33234 : }
33235 : }
33236 :
33237 :
33238 0 : XS(_wrap_mapObj_processLegendTemplate) {
33239 : {
33240 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33241 : char **arg2 = (char **) 0 ;
33242 : char **arg3 = (char **) 0 ;
33243 : int arg4 ;
33244 0 : void *argp1 = 0 ;
33245 : int res1 = 0 ;
33246 0 : void *argp2 = 0 ;
33247 : int res2 = 0 ;
33248 0 : void *argp3 = 0 ;
33249 : int res3 = 0 ;
33250 : int val4 ;
33251 : int ecode4 = 0 ;
33252 : int argvi = 0;
33253 : char *result = 0 ;
33254 0 : dXSARGS;
33255 :
33256 0 : if ((items < 4) || (items > 4)) {
33257 0 : SWIG_croak("Usage: mapObj_processLegendTemplate(self,names,values,numentries);");
33258 : }
33259 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33260 0 : if (!SWIG_IsOK(res1)) {
33261 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_processLegendTemplate" "', argument " "1"" of type '" "struct mapObj *""'");
33262 : }
33263 0 : arg1 = (struct mapObj *)(argp1);
33264 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 | 0 );
33265 0 : if (!SWIG_IsOK(res2)) {
33266 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_processLegendTemplate" "', argument " "2"" of type '" "char **""'");
33267 : }
33268 0 : arg2 = (char **)(argp2);
33269 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 | 0 );
33270 0 : if (!SWIG_IsOK(res3)) {
33271 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_processLegendTemplate" "', argument " "3"" of type '" "char **""'");
33272 : }
33273 0 : arg3 = (char **)(argp3);
33274 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
33275 0 : if (!SWIG_IsOK(ecode4)) {
33276 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_processLegendTemplate" "', argument " "4"" of type '" "int""'");
33277 : }
33278 0 : arg4 = (int)(val4);
33279 : result = (char *)mapObj_processLegendTemplate(arg1,arg2,arg3,arg4);
33280 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
33281 :
33282 :
33283 :
33284 :
33285 0 : free((char*)result);
33286 0 : XSRETURN(argvi);
33287 : fail:
33288 :
33289 :
33290 :
33291 :
33292 0 : SWIG_croak_null();
33293 : }
33294 : }
33295 :
33296 :
33297 0 : XS(_wrap_mapObj_processQueryTemplate) {
33298 : {
33299 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33300 : char **arg2 = (char **) 0 ;
33301 : char **arg3 = (char **) 0 ;
33302 : int arg4 ;
33303 0 : void *argp1 = 0 ;
33304 : int res1 = 0 ;
33305 0 : void *argp2 = 0 ;
33306 : int res2 = 0 ;
33307 0 : void *argp3 = 0 ;
33308 : int res3 = 0 ;
33309 : int val4 ;
33310 : int ecode4 = 0 ;
33311 : int argvi = 0;
33312 : char *result = 0 ;
33313 0 : dXSARGS;
33314 :
33315 0 : if ((items < 4) || (items > 4)) {
33316 0 : SWIG_croak("Usage: mapObj_processQueryTemplate(self,names,values,numentries);");
33317 : }
33318 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33319 0 : if (!SWIG_IsOK(res1)) {
33320 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_processQueryTemplate" "', argument " "1"" of type '" "struct mapObj *""'");
33321 : }
33322 0 : arg1 = (struct mapObj *)(argp1);
33323 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 | 0 );
33324 0 : if (!SWIG_IsOK(res2)) {
33325 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_processQueryTemplate" "', argument " "2"" of type '" "char **""'");
33326 : }
33327 0 : arg2 = (char **)(argp2);
33328 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 | 0 );
33329 0 : if (!SWIG_IsOK(res3)) {
33330 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_processQueryTemplate" "', argument " "3"" of type '" "char **""'");
33331 : }
33332 0 : arg3 = (char **)(argp3);
33333 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
33334 0 : if (!SWIG_IsOK(ecode4)) {
33335 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_processQueryTemplate" "', argument " "4"" of type '" "int""'");
33336 : }
33337 0 : arg4 = (int)(val4);
33338 : result = (char *)mapObj_processQueryTemplate(arg1,arg2,arg3,arg4);
33339 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
33340 :
33341 :
33342 :
33343 :
33344 0 : free((char*)result);
33345 0 : XSRETURN(argvi);
33346 : fail:
33347 :
33348 :
33349 :
33350 :
33351 0 : SWIG_croak_null();
33352 : }
33353 : }
33354 :
33355 :
33356 0 : XS(_wrap_mapObj_getOutputFormatByName) {
33357 : {
33358 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33359 : char *arg2 = (char *) 0 ;
33360 0 : void *argp1 = 0 ;
33361 : int res1 = 0 ;
33362 : int res2 ;
33363 0 : char *buf2 = 0 ;
33364 0 : int alloc2 = 0 ;
33365 : int argvi = 0;
33366 : outputFormatObj *result = 0 ;
33367 0 : dXSARGS;
33368 :
33369 0 : if ((items < 2) || (items > 2)) {
33370 0 : SWIG_croak("Usage: mapObj_getOutputFormatByName(self,name);");
33371 : }
33372 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33373 0 : if (!SWIG_IsOK(res1)) {
33374 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getOutputFormatByName" "', argument " "1"" of type '" "struct mapObj *""'");
33375 : }
33376 0 : arg1 = (struct mapObj *)(argp1);
33377 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33378 0 : if (!SWIG_IsOK(res2)) {
33379 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getOutputFormatByName" "', argument " "2"" of type '" "char *""'");
33380 : }
33381 0 : arg2 = (char *)(buf2);
33382 : result = (outputFormatObj *)mapObj_getOutputFormatByName(arg1,arg2);
33383 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, 0 | SWIG_SHADOW); argvi++ ;
33384 :
33385 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33386 0 : XSRETURN(argvi);
33387 : fail:
33388 :
33389 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33390 0 : SWIG_croak_null();
33391 : }
33392 : }
33393 :
33394 :
33395 0 : XS(_wrap_mapObj_appendOutputFormat) {
33396 : {
33397 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33398 : outputFormatObj *arg2 = (outputFormatObj *) 0 ;
33399 0 : void *argp1 = 0 ;
33400 : int res1 = 0 ;
33401 0 : void *argp2 = 0 ;
33402 : int res2 = 0 ;
33403 : int argvi = 0;
33404 : int result;
33405 0 : dXSARGS;
33406 :
33407 0 : if ((items < 2) || (items > 2)) {
33408 0 : SWIG_croak("Usage: mapObj_appendOutputFormat(self,format);");
33409 : }
33410 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33411 0 : if (!SWIG_IsOK(res1)) {
33412 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_appendOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'");
33413 : }
33414 0 : arg1 = (struct mapObj *)(argp1);
33415 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_outputFormatObj, 0 | 0 );
33416 0 : if (!SWIG_IsOK(res2)) {
33417 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_appendOutputFormat" "', argument " "2"" of type '" "outputFormatObj *""'");
33418 : }
33419 0 : arg2 = (outputFormatObj *)(argp2);
33420 : result = (int)mapObj_appendOutputFormat(arg1,arg2);
33421 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33422 :
33423 :
33424 0 : XSRETURN(argvi);
33425 : fail:
33426 :
33427 :
33428 0 : SWIG_croak_null();
33429 : }
33430 : }
33431 :
33432 :
33433 0 : XS(_wrap_mapObj_removeOutputFormat) {
33434 : {
33435 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33436 : char *arg2 = (char *) 0 ;
33437 0 : void *argp1 = 0 ;
33438 : int res1 = 0 ;
33439 : int res2 ;
33440 0 : char *buf2 = 0 ;
33441 0 : int alloc2 = 0 ;
33442 : int argvi = 0;
33443 : int result;
33444 0 : dXSARGS;
33445 :
33446 0 : if ((items < 2) || (items > 2)) {
33447 0 : SWIG_croak("Usage: mapObj_removeOutputFormat(self,name);");
33448 : }
33449 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33450 0 : if (!SWIG_IsOK(res1)) {
33451 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_removeOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'");
33452 : }
33453 0 : arg1 = (struct mapObj *)(argp1);
33454 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
33455 0 : if (!SWIG_IsOK(res2)) {
33456 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_removeOutputFormat" "', argument " "2"" of type '" "char *""'");
33457 : }
33458 0 : arg2 = (char *)(buf2);
33459 : result = (int)mapObj_removeOutputFormat(arg1,arg2);
33460 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33461 :
33462 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33463 0 : XSRETURN(argvi);
33464 : fail:
33465 :
33466 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
33467 0 : SWIG_croak_null();
33468 : }
33469 : }
33470 :
33471 :
33472 0 : XS(_wrap_mapObj_loadOWSParameters) {
33473 : {
33474 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33475 : cgiRequestObj *arg2 = (cgiRequestObj *) 0 ;
33476 : char *arg3 = (char *) "1.1.1" ;
33477 0 : void *argp1 = 0 ;
33478 : int res1 = 0 ;
33479 0 : void *argp2 = 0 ;
33480 : int res2 = 0 ;
33481 : int res3 ;
33482 0 : char *buf3 = 0 ;
33483 0 : int alloc3 = 0 ;
33484 : int argvi = 0;
33485 : int result;
33486 0 : dXSARGS;
33487 :
33488 0 : if ((items < 2) || (items > 3)) {
33489 0 : SWIG_croak("Usage: mapObj_loadOWSParameters(self,request,wmtver_string);");
33490 : }
33491 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33492 0 : if (!SWIG_IsOK(res1)) {
33493 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_loadOWSParameters" "', argument " "1"" of type '" "struct mapObj *""'");
33494 : }
33495 0 : arg1 = (struct mapObj *)(argp1);
33496 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
33497 0 : if (!SWIG_IsOK(res2)) {
33498 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_loadOWSParameters" "', argument " "2"" of type '" "cgiRequestObj *""'");
33499 : }
33500 0 : arg2 = (cgiRequestObj *)(argp2);
33501 0 : if (items > 2) {
33502 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
33503 0 : if (!SWIG_IsOK(res3)) {
33504 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_loadOWSParameters" "', argument " "3"" of type '" "char *""'");
33505 : }
33506 0 : arg3 = (char *)(buf3);
33507 : }
33508 : result = (int)mapObj_loadOWSParameters(arg1,arg2,arg3);
33509 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33510 :
33511 :
33512 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
33513 0 : XSRETURN(argvi);
33514 : fail:
33515 :
33516 :
33517 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
33518 0 : SWIG_croak_null();
33519 : }
33520 : }
33521 :
33522 :
33523 1 : XS(_wrap_mapObj_OWSDispatch) {
33524 : {
33525 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33526 : cgiRequestObj *arg2 = (cgiRequestObj *) 0 ;
33527 1 : void *argp1 = 0 ;
33528 : int res1 = 0 ;
33529 1 : void *argp2 = 0 ;
33530 : int res2 = 0 ;
33531 : int argvi = 0;
33532 : int result;
33533 1 : dXSARGS;
33534 :
33535 1 : if ((items < 2) || (items > 2)) {
33536 0 : SWIG_croak("Usage: mapObj_OWSDispatch(self,req);");
33537 : }
33538 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33539 1 : if (!SWIG_IsOK(res1)) {
33540 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_OWSDispatch" "', argument " "1"" of type '" "struct mapObj *""'");
33541 : }
33542 1 : arg1 = (struct mapObj *)(argp1);
33543 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
33544 1 : if (!SWIG_IsOK(res2)) {
33545 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_OWSDispatch" "', argument " "2"" of type '" "cgiRequestObj *""'");
33546 : }
33547 1 : arg2 = (cgiRequestObj *)(argp2);
33548 : result = (int)mapObj_OWSDispatch(arg1,arg2);
33549 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33550 :
33551 :
33552 1 : XSRETURN(argvi);
33553 : fail:
33554 :
33555 :
33556 0 : SWIG_croak_null();
33557 : }
33558 : }
33559 :
33560 :
33561 0 : XS(_wrap_mapObj_convertToString) {
33562 : {
33563 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33564 0 : void *argp1 = 0 ;
33565 : int res1 = 0 ;
33566 : int argvi = 0;
33567 : char *result = 0 ;
33568 0 : dXSARGS;
33569 :
33570 0 : if ((items < 1) || (items > 1)) {
33571 0 : SWIG_croak("Usage: mapObj_convertToString(self);");
33572 : }
33573 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33574 0 : if (!SWIG_IsOK(res1)) {
33575 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_convertToString" "', argument " "1"" of type '" "struct mapObj *""'");
33576 : }
33577 0 : arg1 = (struct mapObj *)(argp1);
33578 : result = (char *)mapObj_convertToString(arg1);
33579 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
33580 :
33581 0 : free((char*)result);
33582 0 : XSRETURN(argvi);
33583 : fail:
33584 :
33585 0 : SWIG_croak_null();
33586 : }
33587 : }
33588 :
33589 :
33590 0 : XS(_wrap_mapObj_applyDefaultSubstitutions) {
33591 : {
33592 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33593 0 : void *argp1 = 0 ;
33594 : int res1 = 0 ;
33595 : int argvi = 0;
33596 0 : dXSARGS;
33597 :
33598 0 : if ((items < 1) || (items > 1)) {
33599 0 : SWIG_croak("Usage: mapObj_applyDefaultSubstitutions(self);");
33600 : }
33601 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33602 0 : if (!SWIG_IsOK(res1)) {
33603 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applyDefaultSubstitutions" "', argument " "1"" of type '" "struct mapObj *""'");
33604 : }
33605 0 : arg1 = (struct mapObj *)(argp1);
33606 : mapObj_applyDefaultSubstitutions(arg1);
33607 0 : ST(argvi) = sv_newmortal();
33608 :
33609 0 : XSRETURN(argvi);
33610 : fail:
33611 :
33612 0 : SWIG_croak_null();
33613 : }
33614 : }
33615 :
33616 :
33617 0 : XS(_wrap_mapObj_applySubstitutions) {
33618 : {
33619 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33620 : char **arg2 = (char **) 0 ;
33621 : char **arg3 = (char **) 0 ;
33622 : int arg4 ;
33623 0 : void *argp1 = 0 ;
33624 : int res1 = 0 ;
33625 0 : void *argp2 = 0 ;
33626 : int res2 = 0 ;
33627 0 : void *argp3 = 0 ;
33628 : int res3 = 0 ;
33629 : int val4 ;
33630 : int ecode4 = 0 ;
33631 : int argvi = 0;
33632 0 : dXSARGS;
33633 :
33634 0 : if ((items < 4) || (items > 4)) {
33635 0 : SWIG_croak("Usage: mapObj_applySubstitutions(self,names,values,npairs);");
33636 : }
33637 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33638 0 : if (!SWIG_IsOK(res1)) {
33639 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applySubstitutions" "', argument " "1"" of type '" "struct mapObj *""'");
33640 : }
33641 0 : arg1 = (struct mapObj *)(argp1);
33642 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 | 0 );
33643 0 : if (!SWIG_IsOK(res2)) {
33644 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_applySubstitutions" "', argument " "2"" of type '" "char **""'");
33645 : }
33646 0 : arg2 = (char **)(argp2);
33647 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 | 0 );
33648 0 : if (!SWIG_IsOK(res3)) {
33649 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_applySubstitutions" "', argument " "3"" of type '" "char **""'");
33650 : }
33651 0 : arg3 = (char **)(argp3);
33652 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
33653 0 : if (!SWIG_IsOK(ecode4)) {
33654 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_applySubstitutions" "', argument " "4"" of type '" "int""'");
33655 : }
33656 0 : arg4 = (int)(val4);
33657 : mapObj_applySubstitutions(arg1,arg2,arg3,arg4);
33658 0 : ST(argvi) = sv_newmortal();
33659 :
33660 :
33661 :
33662 :
33663 0 : XSRETURN(argvi);
33664 : fail:
33665 :
33666 :
33667 :
33668 :
33669 0 : SWIG_croak_null();
33670 : }
33671 : }
33672 :
33673 :
33674 0 : XS(_wrap_mapObj_zoomPoint) {
33675 : {
33676 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33677 : int arg2 ;
33678 : pointObj *arg3 = (pointObj *) 0 ;
33679 : int arg4 ;
33680 : int arg5 ;
33681 : rectObj *arg6 = (rectObj *) 0 ;
33682 : rectObj *arg7 = (rectObj *) 0 ;
33683 0 : void *argp1 = 0 ;
33684 : int res1 = 0 ;
33685 : int val2 ;
33686 : int ecode2 = 0 ;
33687 0 : void *argp3 = 0 ;
33688 : int res3 = 0 ;
33689 : int val4 ;
33690 : int ecode4 = 0 ;
33691 : int val5 ;
33692 : int ecode5 = 0 ;
33693 0 : void *argp6 = 0 ;
33694 : int res6 = 0 ;
33695 0 : void *argp7 = 0 ;
33696 : int res7 = 0 ;
33697 : int argvi = 0;
33698 : int result;
33699 0 : dXSARGS;
33700 :
33701 0 : if ((items < 7) || (items > 7)) {
33702 0 : SWIG_croak("Usage: mapObj_zoomPoint(self,zoomfactor,poPixPos,width,height,poGeorefExt,poMaxGeorefExt);");
33703 : }
33704 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33705 0 : if (!SWIG_IsOK(res1)) {
33706 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_zoomPoint" "', argument " "1"" of type '" "struct mapObj *""'");
33707 : }
33708 0 : arg1 = (struct mapObj *)(argp1);
33709 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
33710 0 : if (!SWIG_IsOK(ecode2)) {
33711 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_zoomPoint" "', argument " "2"" of type '" "int""'");
33712 : }
33713 0 : arg2 = (int)(val2);
33714 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 | 0 );
33715 0 : if (!SWIG_IsOK(res3)) {
33716 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_zoomPoint" "', argument " "3"" of type '" "pointObj *""'");
33717 : }
33718 0 : arg3 = (pointObj *)(argp3);
33719 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
33720 0 : if (!SWIG_IsOK(ecode4)) {
33721 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_zoomPoint" "', argument " "4"" of type '" "int""'");
33722 : }
33723 0 : arg4 = (int)(val4);
33724 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
33725 0 : if (!SWIG_IsOK(ecode5)) {
33726 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_zoomPoint" "', argument " "5"" of type '" "int""'");
33727 : }
33728 0 : arg5 = (int)(val5);
33729 0 : res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_rectObj, 0 | 0 );
33730 0 : if (!SWIG_IsOK(res6)) {
33731 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "mapObj_zoomPoint" "', argument " "6"" of type '" "rectObj *""'");
33732 : }
33733 0 : arg6 = (rectObj *)(argp6);
33734 0 : res7 = SWIG_ConvertPtr(ST(6), &argp7,SWIGTYPE_p_rectObj, 0 | 0 );
33735 0 : if (!SWIG_IsOK(res7)) {
33736 0 : SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "mapObj_zoomPoint" "', argument " "7"" of type '" "rectObj *""'");
33737 : }
33738 0 : arg7 = (rectObj *)(argp7);
33739 0 : result = (int)mapObj_zoomPoint(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
33740 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33741 :
33742 :
33743 :
33744 :
33745 :
33746 :
33747 :
33748 0 : XSRETURN(argvi);
33749 : fail:
33750 :
33751 :
33752 :
33753 :
33754 :
33755 :
33756 :
33757 0 : SWIG_croak_null();
33758 : }
33759 : }
33760 :
33761 :
33762 0 : XS(_wrap_mapObj_zoomRectangle) {
33763 : {
33764 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33765 : rectObj *arg2 = (rectObj *) 0 ;
33766 : int arg3 ;
33767 : int arg4 ;
33768 : rectObj *arg5 = (rectObj *) 0 ;
33769 : rectObj *arg6 = (rectObj *) 0 ;
33770 0 : void *argp1 = 0 ;
33771 : int res1 = 0 ;
33772 0 : void *argp2 = 0 ;
33773 : int res2 = 0 ;
33774 : int val3 ;
33775 : int ecode3 = 0 ;
33776 : int val4 ;
33777 : int ecode4 = 0 ;
33778 0 : void *argp5 = 0 ;
33779 : int res5 = 0 ;
33780 0 : void *argp6 = 0 ;
33781 : int res6 = 0 ;
33782 : int argvi = 0;
33783 : int result;
33784 0 : dXSARGS;
33785 :
33786 0 : if ((items < 6) || (items > 6)) {
33787 0 : SWIG_croak("Usage: mapObj_zoomRectangle(self,poPixRect,width,height,poGeorefExt,poMaxGeorefExt);");
33788 : }
33789 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33790 0 : if (!SWIG_IsOK(res1)) {
33791 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_zoomRectangle" "', argument " "1"" of type '" "struct mapObj *""'");
33792 : }
33793 0 : arg1 = (struct mapObj *)(argp1);
33794 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 | 0 );
33795 0 : if (!SWIG_IsOK(res2)) {
33796 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_zoomRectangle" "', argument " "2"" of type '" "rectObj *""'");
33797 : }
33798 0 : arg2 = (rectObj *)(argp2);
33799 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
33800 0 : if (!SWIG_IsOK(ecode3)) {
33801 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_zoomRectangle" "', argument " "3"" of type '" "int""'");
33802 : }
33803 0 : arg3 = (int)(val3);
33804 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
33805 0 : if (!SWIG_IsOK(ecode4)) {
33806 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_zoomRectangle" "', argument " "4"" of type '" "int""'");
33807 : }
33808 0 : arg4 = (int)(val4);
33809 0 : res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_rectObj, 0 | 0 );
33810 0 : if (!SWIG_IsOK(res5)) {
33811 0 : SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "mapObj_zoomRectangle" "', argument " "5"" of type '" "rectObj *""'");
33812 : }
33813 0 : arg5 = (rectObj *)(argp5);
33814 0 : res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_rectObj, 0 | 0 );
33815 0 : if (!SWIG_IsOK(res6)) {
33816 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "mapObj_zoomRectangle" "', argument " "6"" of type '" "rectObj *""'");
33817 : }
33818 0 : arg6 = (rectObj *)(argp6);
33819 0 : result = (int)mapObj_zoomRectangle(arg1,arg2,arg3,arg4,arg5,arg6);
33820 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33821 :
33822 :
33823 :
33824 :
33825 :
33826 :
33827 0 : XSRETURN(argvi);
33828 : fail:
33829 :
33830 :
33831 :
33832 :
33833 :
33834 :
33835 0 : SWIG_croak_null();
33836 : }
33837 : }
33838 :
33839 :
33840 0 : XS(_wrap_mapObj_zoomScale) {
33841 : {
33842 : struct mapObj *arg1 = (struct mapObj *) 0 ;
33843 : double arg2 ;
33844 : pointObj *arg3 = (pointObj *) 0 ;
33845 : int arg4 ;
33846 : int arg5 ;
33847 : rectObj *arg6 = (rectObj *) 0 ;
33848 : rectObj *arg7 = (rectObj *) 0 ;
33849 0 : void *argp1 = 0 ;
33850 : int res1 = 0 ;
33851 : double val2 ;
33852 : int ecode2 = 0 ;
33853 0 : void *argp3 = 0 ;
33854 : int res3 = 0 ;
33855 : int val4 ;
33856 : int ecode4 = 0 ;
33857 : int val5 ;
33858 : int ecode5 = 0 ;
33859 0 : void *argp6 = 0 ;
33860 : int res6 = 0 ;
33861 0 : void *argp7 = 0 ;
33862 : int res7 = 0 ;
33863 : int argvi = 0;
33864 : int result;
33865 0 : dXSARGS;
33866 :
33867 0 : if ((items < 7) || (items > 7)) {
33868 0 : SWIG_croak("Usage: mapObj_zoomScale(self,scale,poPixPos,width,height,poGeorefExt,poMaxGeorefExt);");
33869 : }
33870 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33871 0 : if (!SWIG_IsOK(res1)) {
33872 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_zoomScale" "', argument " "1"" of type '" "struct mapObj *""'");
33873 : }
33874 0 : arg1 = (struct mapObj *)(argp1);
33875 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
33876 0 : if (!SWIG_IsOK(ecode2)) {
33877 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_zoomScale" "', argument " "2"" of type '" "double""'");
33878 : }
33879 0 : arg2 = (double)(val2);
33880 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 | 0 );
33881 0 : if (!SWIG_IsOK(res3)) {
33882 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_zoomScale" "', argument " "3"" of type '" "pointObj *""'");
33883 : }
33884 0 : arg3 = (pointObj *)(argp3);
33885 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
33886 0 : if (!SWIG_IsOK(ecode4)) {
33887 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_zoomScale" "', argument " "4"" of type '" "int""'");
33888 : }
33889 0 : arg4 = (int)(val4);
33890 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
33891 0 : if (!SWIG_IsOK(ecode5)) {
33892 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_zoomScale" "', argument " "5"" of type '" "int""'");
33893 : }
33894 0 : arg5 = (int)(val5);
33895 0 : res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_rectObj, 0 | 0 );
33896 0 : if (!SWIG_IsOK(res6)) {
33897 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "mapObj_zoomScale" "', argument " "6"" of type '" "rectObj *""'");
33898 : }
33899 0 : arg6 = (rectObj *)(argp6);
33900 0 : res7 = SWIG_ConvertPtr(ST(6), &argp7,SWIGTYPE_p_rectObj, 0 | 0 );
33901 0 : if (!SWIG_IsOK(res7)) {
33902 0 : SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "mapObj_zoomScale" "', argument " "7"" of type '" "rectObj *""'");
33903 : }
33904 0 : arg7 = (rectObj *)(argp7);
33905 0 : result = (int)mapObj_zoomScale(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
33906 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33907 :
33908 :
33909 :
33910 :
33911 :
33912 :
33913 :
33914 0 : XSRETURN(argvi);
33915 : fail:
33916 :
33917 :
33918 :
33919 :
33920 :
33921 :
33922 :
33923 0 : SWIG_croak_null();
33924 : }
33925 : }
33926 :
33927 :
33928 0 : XS(_wrap_msSaveImage) {
33929 : {
33930 : mapObj *arg1 = (mapObj *) 0 ;
33931 : imageObj *arg2 = (imageObj *) 0 ;
33932 : char *arg3 = (char *) 0 ;
33933 0 : void *argp1 = 0 ;
33934 : int res1 = 0 ;
33935 0 : void *argp2 = 0 ;
33936 : int res2 = 0 ;
33937 : int res3 ;
33938 0 : char *buf3 = 0 ;
33939 0 : int alloc3 = 0 ;
33940 : int argvi = 0;
33941 : int result;
33942 0 : dXSARGS;
33943 :
33944 0 : if ((items < 3) || (items > 3)) {
33945 0 : SWIG_croak("Usage: msSaveImage(map,img,filename);");
33946 : }
33947 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 | 0 );
33948 0 : if (!SWIG_IsOK(res1)) {
33949 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msSaveImage" "', argument " "1"" of type '" "mapObj *""'");
33950 : }
33951 0 : arg1 = (mapObj *)(argp1);
33952 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 | 0 );
33953 0 : if (!SWIG_IsOK(res2)) {
33954 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "msSaveImage" "', argument " "2"" of type '" "imageObj *""'");
33955 : }
33956 0 : arg2 = (imageObj *)(argp2);
33957 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
33958 0 : if (!SWIG_IsOK(res3)) {
33959 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "msSaveImage" "', argument " "3"" of type '" "char const *""'");
33960 : }
33961 0 : arg3 = (char *)(buf3);
33962 0 : result = (int)msSaveImage(arg1,arg2,(char const *)arg3);
33963 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
33964 :
33965 :
33966 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
33967 0 : XSRETURN(argvi);
33968 : fail:
33969 :
33970 :
33971 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
33972 0 : SWIG_croak_null();
33973 : }
33974 : }
33975 :
33976 :
33977 0 : XS(_wrap_msFreeImage) {
33978 : {
33979 : imageObj *arg1 = (imageObj *) 0 ;
33980 0 : void *argp1 = 0 ;
33981 : int res1 = 0 ;
33982 : int argvi = 0;
33983 0 : dXSARGS;
33984 :
33985 0 : if ((items < 1) || (items > 1)) {
33986 0 : SWIG_croak("Usage: msFreeImage(img);");
33987 : }
33988 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 | 0 );
33989 0 : if (!SWIG_IsOK(res1)) {
33990 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msFreeImage" "', argument " "1"" of type '" "imageObj *""'");
33991 : }
33992 0 : arg1 = (imageObj *)(argp1);
33993 0 : msFreeImage(arg1);
33994 0 : ST(argvi) = sv_newmortal();
33995 :
33996 0 : XSRETURN(argvi);
33997 : fail:
33998 :
33999 0 : SWIG_croak_null();
34000 : }
34001 : }
34002 :
34003 :
34004 0 : XS(_wrap_msSetup) {
34005 : {
34006 : int argvi = 0;
34007 : int result;
34008 0 : dXSARGS;
34009 :
34010 0 : if ((items < 0) || (items > 0)) {
34011 0 : SWIG_croak("Usage: msSetup();");
34012 : }
34013 0 : result = (int)msSetup();
34014 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
34015 0 : XSRETURN(argvi);
34016 : fail:
34017 0 : SWIG_croak_null();
34018 : }
34019 : }
34020 :
34021 :
34022 0 : XS(_wrap_msCleanup) {
34023 : {
34024 : int argvi = 0;
34025 0 : dXSARGS;
34026 :
34027 0 : if ((items < 0) || (items > 0)) {
34028 0 : SWIG_croak("Usage: msCleanup();");
34029 : }
34030 0 : msCleanup();
34031 0 : ST(argvi) = sv_newmortal();
34032 0 : XSRETURN(argvi);
34033 : fail:
34034 0 : SWIG_croak_null();
34035 : }
34036 : }
34037 :
34038 :
34039 0 : XS(_wrap_msLoadMapFromString) {
34040 : {
34041 : char *arg1 = (char *) 0 ;
34042 : char *arg2 = (char *) 0 ;
34043 : int res1 ;
34044 0 : char *buf1 = 0 ;
34045 0 : int alloc1 = 0 ;
34046 : int res2 ;
34047 0 : char *buf2 = 0 ;
34048 0 : int alloc2 = 0 ;
34049 : int argvi = 0;
34050 : mapObj *result = 0 ;
34051 0 : dXSARGS;
34052 :
34053 0 : if ((items < 2) || (items > 2)) {
34054 0 : SWIG_croak("Usage: msLoadMapFromString(buffer,new_mappath);");
34055 : }
34056 0 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
34057 0 : if (!SWIG_IsOK(res1)) {
34058 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msLoadMapFromString" "', argument " "1"" of type '" "char *""'");
34059 : }
34060 0 : arg1 = (char *)(buf1);
34061 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
34062 0 : if (!SWIG_IsOK(res2)) {
34063 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "msLoadMapFromString" "', argument " "2"" of type '" "char *""'");
34064 : }
34065 0 : arg2 = (char *)(buf2);
34066 0 : result = (mapObj *)msLoadMapFromString(arg1,arg2);
34067 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
34068 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
34069 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
34070 0 : XSRETURN(argvi);
34071 : fail:
34072 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
34073 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
34074 0 : SWIG_croak_null();
34075 : }
34076 : }
34077 :
34078 :
34079 0 : XS(_wrap_rectObj_minx_set) {
34080 : {
34081 : rectObj *arg1 = (rectObj *) 0 ;
34082 : double arg2 ;
34083 0 : void *argp1 = 0 ;
34084 : int res1 = 0 ;
34085 : double val2 ;
34086 : int ecode2 = 0 ;
34087 : int argvi = 0;
34088 0 : dXSARGS;
34089 :
34090 0 : if ((items < 2) || (items > 2)) {
34091 0 : SWIG_croak("Usage: rectObj_minx_set(self,minx);");
34092 : }
34093 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34094 0 : if (!SWIG_IsOK(res1)) {
34095 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_minx_set" "', argument " "1"" of type '" "rectObj *""'");
34096 : }
34097 0 : arg1 = (rectObj *)(argp1);
34098 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34099 0 : if (!SWIG_IsOK(ecode2)) {
34100 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_minx_set" "', argument " "2"" of type '" "double""'");
34101 : }
34102 0 : arg2 = (double)(val2);
34103 0 : if (arg1) (arg1)->minx = arg2;
34104 0 : ST(argvi) = sv_newmortal();
34105 :
34106 :
34107 0 : XSRETURN(argvi);
34108 : fail:
34109 :
34110 :
34111 0 : SWIG_croak_null();
34112 : }
34113 : }
34114 :
34115 :
34116 1 : XS(_wrap_rectObj_minx_get) {
34117 : {
34118 : rectObj *arg1 = (rectObj *) 0 ;
34119 1 : void *argp1 = 0 ;
34120 : int res1 = 0 ;
34121 : int argvi = 0;
34122 : double result;
34123 1 : dXSARGS;
34124 :
34125 1 : if ((items < 1) || (items > 1)) {
34126 0 : SWIG_croak("Usage: rectObj_minx_get(self);");
34127 : }
34128 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34129 1 : if (!SWIG_IsOK(res1)) {
34130 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_minx_get" "', argument " "1"" of type '" "rectObj *""'");
34131 : }
34132 1 : arg1 = (rectObj *)(argp1);
34133 1 : result = (double) ((arg1)->minx);
34134 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
34135 :
34136 1 : XSRETURN(argvi);
34137 : fail:
34138 :
34139 0 : SWIG_croak_null();
34140 : }
34141 : }
34142 :
34143 :
34144 0 : XS(_wrap_rectObj_miny_set) {
34145 : {
34146 : rectObj *arg1 = (rectObj *) 0 ;
34147 : double arg2 ;
34148 0 : void *argp1 = 0 ;
34149 : int res1 = 0 ;
34150 : double val2 ;
34151 : int ecode2 = 0 ;
34152 : int argvi = 0;
34153 0 : dXSARGS;
34154 :
34155 0 : if ((items < 2) || (items > 2)) {
34156 0 : SWIG_croak("Usage: rectObj_miny_set(self,miny);");
34157 : }
34158 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34159 0 : if (!SWIG_IsOK(res1)) {
34160 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_miny_set" "', argument " "1"" of type '" "rectObj *""'");
34161 : }
34162 0 : arg1 = (rectObj *)(argp1);
34163 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34164 0 : if (!SWIG_IsOK(ecode2)) {
34165 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_miny_set" "', argument " "2"" of type '" "double""'");
34166 : }
34167 0 : arg2 = (double)(val2);
34168 0 : if (arg1) (arg1)->miny = arg2;
34169 0 : ST(argvi) = sv_newmortal();
34170 :
34171 :
34172 0 : XSRETURN(argvi);
34173 : fail:
34174 :
34175 :
34176 0 : SWIG_croak_null();
34177 : }
34178 : }
34179 :
34180 :
34181 1 : XS(_wrap_rectObj_miny_get) {
34182 : {
34183 : rectObj *arg1 = (rectObj *) 0 ;
34184 1 : void *argp1 = 0 ;
34185 : int res1 = 0 ;
34186 : int argvi = 0;
34187 : double result;
34188 1 : dXSARGS;
34189 :
34190 1 : if ((items < 1) || (items > 1)) {
34191 0 : SWIG_croak("Usage: rectObj_miny_get(self);");
34192 : }
34193 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34194 1 : if (!SWIG_IsOK(res1)) {
34195 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_miny_get" "', argument " "1"" of type '" "rectObj *""'");
34196 : }
34197 1 : arg1 = (rectObj *)(argp1);
34198 1 : result = (double) ((arg1)->miny);
34199 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
34200 :
34201 1 : XSRETURN(argvi);
34202 : fail:
34203 :
34204 0 : SWIG_croak_null();
34205 : }
34206 : }
34207 :
34208 :
34209 0 : XS(_wrap_rectObj_maxx_set) {
34210 : {
34211 : rectObj *arg1 = (rectObj *) 0 ;
34212 : double arg2 ;
34213 0 : void *argp1 = 0 ;
34214 : int res1 = 0 ;
34215 : double val2 ;
34216 : int ecode2 = 0 ;
34217 : int argvi = 0;
34218 0 : dXSARGS;
34219 :
34220 0 : if ((items < 2) || (items > 2)) {
34221 0 : SWIG_croak("Usage: rectObj_maxx_set(self,maxx);");
34222 : }
34223 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34224 0 : if (!SWIG_IsOK(res1)) {
34225 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxx_set" "', argument " "1"" of type '" "rectObj *""'");
34226 : }
34227 0 : arg1 = (rectObj *)(argp1);
34228 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34229 0 : if (!SWIG_IsOK(ecode2)) {
34230 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_maxx_set" "', argument " "2"" of type '" "double""'");
34231 : }
34232 0 : arg2 = (double)(val2);
34233 0 : if (arg1) (arg1)->maxx = arg2;
34234 0 : ST(argvi) = sv_newmortal();
34235 :
34236 :
34237 0 : XSRETURN(argvi);
34238 : fail:
34239 :
34240 :
34241 0 : SWIG_croak_null();
34242 : }
34243 : }
34244 :
34245 :
34246 1 : XS(_wrap_rectObj_maxx_get) {
34247 : {
34248 : rectObj *arg1 = (rectObj *) 0 ;
34249 1 : void *argp1 = 0 ;
34250 : int res1 = 0 ;
34251 : int argvi = 0;
34252 : double result;
34253 1 : dXSARGS;
34254 :
34255 1 : if ((items < 1) || (items > 1)) {
34256 0 : SWIG_croak("Usage: rectObj_maxx_get(self);");
34257 : }
34258 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34259 1 : if (!SWIG_IsOK(res1)) {
34260 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxx_get" "', argument " "1"" of type '" "rectObj *""'");
34261 : }
34262 1 : arg1 = (rectObj *)(argp1);
34263 1 : result = (double) ((arg1)->maxx);
34264 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
34265 :
34266 1 : XSRETURN(argvi);
34267 : fail:
34268 :
34269 0 : SWIG_croak_null();
34270 : }
34271 : }
34272 :
34273 :
34274 0 : XS(_wrap_rectObj_maxy_set) {
34275 : {
34276 : rectObj *arg1 = (rectObj *) 0 ;
34277 : double arg2 ;
34278 0 : void *argp1 = 0 ;
34279 : int res1 = 0 ;
34280 : double val2 ;
34281 : int ecode2 = 0 ;
34282 : int argvi = 0;
34283 0 : dXSARGS;
34284 :
34285 0 : if ((items < 2) || (items > 2)) {
34286 0 : SWIG_croak("Usage: rectObj_maxy_set(self,maxy);");
34287 : }
34288 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34289 0 : if (!SWIG_IsOK(res1)) {
34290 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxy_set" "', argument " "1"" of type '" "rectObj *""'");
34291 : }
34292 0 : arg1 = (rectObj *)(argp1);
34293 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34294 0 : if (!SWIG_IsOK(ecode2)) {
34295 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_maxy_set" "', argument " "2"" of type '" "double""'");
34296 : }
34297 0 : arg2 = (double)(val2);
34298 0 : if (arg1) (arg1)->maxy = arg2;
34299 0 : ST(argvi) = sv_newmortal();
34300 :
34301 :
34302 0 : XSRETURN(argvi);
34303 : fail:
34304 :
34305 :
34306 0 : SWIG_croak_null();
34307 : }
34308 : }
34309 :
34310 :
34311 1 : XS(_wrap_rectObj_maxy_get) {
34312 : {
34313 : rectObj *arg1 = (rectObj *) 0 ;
34314 1 : void *argp1 = 0 ;
34315 : int res1 = 0 ;
34316 : int argvi = 0;
34317 : double result;
34318 1 : dXSARGS;
34319 :
34320 1 : if ((items < 1) || (items > 1)) {
34321 0 : SWIG_croak("Usage: rectObj_maxy_get(self);");
34322 : }
34323 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34324 1 : if (!SWIG_IsOK(res1)) {
34325 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxy_get" "', argument " "1"" of type '" "rectObj *""'");
34326 : }
34327 1 : arg1 = (rectObj *)(argp1);
34328 1 : result = (double) ((arg1)->maxy);
34329 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
34330 :
34331 1 : XSRETURN(argvi);
34332 : fail:
34333 :
34334 0 : SWIG_croak_null();
34335 : }
34336 : }
34337 :
34338 :
34339 0 : XS(_wrap_new_rectObj) {
34340 : {
34341 : double arg1 = (double) -1.0 ;
34342 : double arg2 = (double) -1.0 ;
34343 : double arg3 = (double) -1.0 ;
34344 : double arg4 = (double) -1.0 ;
34345 : int arg5 = (int) 0 ;
34346 : double val1 ;
34347 : int ecode1 = 0 ;
34348 : double val2 ;
34349 : int ecode2 = 0 ;
34350 : double val3 ;
34351 : int ecode3 = 0 ;
34352 : double val4 ;
34353 : int ecode4 = 0 ;
34354 : int val5 ;
34355 : int ecode5 = 0 ;
34356 : int argvi = 0;
34357 : rectObj *result = 0 ;
34358 0 : dXSARGS;
34359 :
34360 0 : if ((items < 0) || (items > 5)) {
34361 0 : SWIG_croak("Usage: new_rectObj(minx,miny,maxx,maxy,imageunits);");
34362 : }
34363 0 : if (items > 0) {
34364 0 : ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
34365 0 : if (!SWIG_IsOK(ecode1)) {
34366 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_rectObj" "', argument " "1"" of type '" "double""'");
34367 : }
34368 0 : arg1 = (double)(val1);
34369 : }
34370 0 : if (items > 1) {
34371 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34372 0 : if (!SWIG_IsOK(ecode2)) {
34373 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_rectObj" "', argument " "2"" of type '" "double""'");
34374 : }
34375 0 : arg2 = (double)(val2);
34376 : }
34377 0 : if (items > 2) {
34378 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
34379 0 : if (!SWIG_IsOK(ecode3)) {
34380 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_rectObj" "', argument " "3"" of type '" "double""'");
34381 : }
34382 0 : arg3 = (double)(val3);
34383 : }
34384 0 : if (items > 3) {
34385 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
34386 0 : if (!SWIG_IsOK(ecode4)) {
34387 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_rectObj" "', argument " "4"" of type '" "double""'");
34388 : }
34389 0 : arg4 = (double)(val4);
34390 : }
34391 0 : if (items > 4) {
34392 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
34393 0 : if (!SWIG_IsOK(ecode5)) {
34394 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_rectObj" "', argument " "5"" of type '" "int""'");
34395 : }
34396 0 : arg5 = (int)(val5);
34397 : }
34398 0 : result = (rectObj *)new_rectObj(arg1,arg2,arg3,arg4,arg5);
34399 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
34400 :
34401 :
34402 :
34403 :
34404 :
34405 0 : XSRETURN(argvi);
34406 : fail:
34407 :
34408 :
34409 :
34410 :
34411 :
34412 0 : SWIG_croak_null();
34413 : }
34414 : }
34415 :
34416 :
34417 0 : XS(_wrap_delete_rectObj) {
34418 : {
34419 : rectObj *arg1 = (rectObj *) 0 ;
34420 0 : void *argp1 = 0 ;
34421 : int res1 = 0 ;
34422 : int argvi = 0;
34423 0 : dXSARGS;
34424 :
34425 0 : if ((items < 1) || (items > 1)) {
34426 0 : SWIG_croak("Usage: delete_rectObj(self);");
34427 : }
34428 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, SWIG_POINTER_DISOWN | 0 );
34429 0 : if (!SWIG_IsOK(res1)) {
34430 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_rectObj" "', argument " "1"" of type '" "rectObj *""'");
34431 : }
34432 0 : arg1 = (rectObj *)(argp1);
34433 : delete_rectObj(arg1);
34434 0 : ST(argvi) = sv_newmortal();
34435 :
34436 0 : XSRETURN(argvi);
34437 : fail:
34438 :
34439 0 : SWIG_croak_null();
34440 : }
34441 : }
34442 :
34443 :
34444 0 : XS(_wrap_rectObj_project) {
34445 : {
34446 : rectObj *arg1 = (rectObj *) 0 ;
34447 : projectionObj *arg2 = (projectionObj *) 0 ;
34448 : projectionObj *arg3 = (projectionObj *) 0 ;
34449 0 : void *argp1 = 0 ;
34450 : int res1 = 0 ;
34451 0 : void *argp2 = 0 ;
34452 : int res2 = 0 ;
34453 0 : void *argp3 = 0 ;
34454 : int res3 = 0 ;
34455 : int argvi = 0;
34456 : int result;
34457 0 : dXSARGS;
34458 :
34459 0 : if ((items < 3) || (items > 3)) {
34460 0 : SWIG_croak("Usage: rectObj_project(self,projin,projout);");
34461 : }
34462 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34463 0 : if (!SWIG_IsOK(res1)) {
34464 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_project" "', argument " "1"" of type '" "rectObj *""'");
34465 : }
34466 0 : arg1 = (rectObj *)(argp1);
34467 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 | 0 );
34468 0 : if (!SWIG_IsOK(res2)) {
34469 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "rectObj_project" "', argument " "2"" of type '" "projectionObj *""'");
34470 : }
34471 0 : arg2 = (projectionObj *)(argp2);
34472 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 | 0 );
34473 0 : if (!SWIG_IsOK(res3)) {
34474 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "rectObj_project" "', argument " "3"" of type '" "projectionObj *""'");
34475 : }
34476 0 : arg3 = (projectionObj *)(argp3);
34477 : result = (int)rectObj_project(arg1,arg2,arg3);
34478 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
34479 :
34480 :
34481 :
34482 0 : XSRETURN(argvi);
34483 : fail:
34484 :
34485 :
34486 :
34487 0 : SWIG_croak_null();
34488 : }
34489 : }
34490 :
34491 :
34492 0 : XS(_wrap_rectObj_fit) {
34493 : {
34494 : rectObj *arg1 = (rectObj *) 0 ;
34495 : int arg2 ;
34496 : int arg3 ;
34497 0 : void *argp1 = 0 ;
34498 : int res1 = 0 ;
34499 : int val2 ;
34500 : int ecode2 = 0 ;
34501 : int val3 ;
34502 : int ecode3 = 0 ;
34503 : int argvi = 0;
34504 : double result;
34505 0 : dXSARGS;
34506 :
34507 0 : if ((items < 3) || (items > 3)) {
34508 0 : SWIG_croak("Usage: rectObj_fit(self,width,height);");
34509 : }
34510 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34511 0 : if (!SWIG_IsOK(res1)) {
34512 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_fit" "', argument " "1"" of type '" "rectObj *""'");
34513 : }
34514 0 : arg1 = (rectObj *)(argp1);
34515 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34516 0 : if (!SWIG_IsOK(ecode2)) {
34517 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_fit" "', argument " "2"" of type '" "int""'");
34518 : }
34519 0 : arg2 = (int)(val2);
34520 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
34521 0 : if (!SWIG_IsOK(ecode3)) {
34522 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "rectObj_fit" "', argument " "3"" of type '" "int""'");
34523 : }
34524 0 : arg3 = (int)(val3);
34525 : result = (double)rectObj_fit(arg1,arg2,arg3);
34526 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
34527 :
34528 :
34529 :
34530 0 : XSRETURN(argvi);
34531 : fail:
34532 :
34533 :
34534 :
34535 0 : SWIG_croak_null();
34536 : }
34537 : }
34538 :
34539 :
34540 0 : XS(_wrap_rectObj_draw) {
34541 : {
34542 : rectObj *arg1 = (rectObj *) 0 ;
34543 : mapObj *arg2 = (mapObj *) 0 ;
34544 : layerObj *arg3 = (layerObj *) 0 ;
34545 : imageObj *arg4 = (imageObj *) 0 ;
34546 : int arg5 ;
34547 : char *arg6 = (char *) 0 ;
34548 0 : void *argp1 = 0 ;
34549 : int res1 = 0 ;
34550 0 : void *argp2 = 0 ;
34551 : int res2 = 0 ;
34552 0 : void *argp3 = 0 ;
34553 : int res3 = 0 ;
34554 0 : void *argp4 = 0 ;
34555 : int res4 = 0 ;
34556 : int val5 ;
34557 : int ecode5 = 0 ;
34558 : int res6 ;
34559 0 : char *buf6 = 0 ;
34560 0 : int alloc6 = 0 ;
34561 : int argvi = 0;
34562 : int result;
34563 0 : dXSARGS;
34564 :
34565 0 : if ((items < 6) || (items > 6)) {
34566 0 : SWIG_croak("Usage: rectObj_draw(self,map,layer,image,classindex,text);");
34567 : }
34568 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34569 0 : if (!SWIG_IsOK(res1)) {
34570 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_draw" "', argument " "1"" of type '" "rectObj *""'");
34571 : }
34572 0 : arg1 = (rectObj *)(argp1);
34573 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
34574 0 : if (!SWIG_IsOK(res2)) {
34575 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "rectObj_draw" "', argument " "2"" of type '" "mapObj *""'");
34576 : }
34577 0 : arg2 = (mapObj *)(argp2);
34578 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 | 0 );
34579 0 : if (!SWIG_IsOK(res3)) {
34580 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "rectObj_draw" "', argument " "3"" of type '" "layerObj *""'");
34581 : }
34582 0 : arg3 = (layerObj *)(argp3);
34583 0 : res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_imageObj, 0 | 0 );
34584 0 : if (!SWIG_IsOK(res4)) {
34585 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "rectObj_draw" "', argument " "4"" of type '" "imageObj *""'");
34586 : }
34587 0 : arg4 = (imageObj *)(argp4);
34588 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
34589 0 : if (!SWIG_IsOK(ecode5)) {
34590 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "rectObj_draw" "', argument " "5"" of type '" "int""'");
34591 : }
34592 0 : arg5 = (int)(val5);
34593 0 : res6 = SWIG_AsCharPtrAndSize(ST(5), &buf6, NULL, &alloc6);
34594 0 : if (!SWIG_IsOK(res6)) {
34595 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "rectObj_draw" "', argument " "6"" of type '" "char *""'");
34596 : }
34597 0 : arg6 = (char *)(buf6);
34598 0 : result = (int)rectObj_draw(arg1,arg2,arg3,arg4,arg5,arg6);
34599 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
34600 :
34601 :
34602 :
34603 :
34604 :
34605 0 : if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
34606 0 : XSRETURN(argvi);
34607 : fail:
34608 :
34609 :
34610 :
34611 :
34612 :
34613 0 : if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
34614 0 : SWIG_croak_null();
34615 : }
34616 : }
34617 :
34618 :
34619 0 : XS(_wrap_rectObj_getCenter) {
34620 : {
34621 : rectObj *arg1 = (rectObj *) 0 ;
34622 0 : void *argp1 = 0 ;
34623 : int res1 = 0 ;
34624 : int argvi = 0;
34625 : pointObj *result = 0 ;
34626 0 : dXSARGS;
34627 :
34628 0 : if ((items < 1) || (items > 1)) {
34629 0 : SWIG_croak("Usage: rectObj_getCenter(self);");
34630 : }
34631 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34632 0 : if (!SWIG_IsOK(res1)) {
34633 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_getCenter" "', argument " "1"" of type '" "rectObj *""'");
34634 : }
34635 0 : arg1 = (rectObj *)(argp1);
34636 0 : result = (pointObj *)rectObj_getCenter(arg1);
34637 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
34638 :
34639 0 : XSRETURN(argvi);
34640 : fail:
34641 :
34642 0 : SWIG_croak_null();
34643 : }
34644 : }
34645 :
34646 :
34647 0 : XS(_wrap_rectObj_toPolygon) {
34648 : {
34649 : rectObj *arg1 = (rectObj *) 0 ;
34650 0 : void *argp1 = 0 ;
34651 : int res1 = 0 ;
34652 : int argvi = 0;
34653 : shapeObj *result = 0 ;
34654 0 : dXSARGS;
34655 :
34656 0 : if ((items < 1) || (items > 1)) {
34657 0 : SWIG_croak("Usage: rectObj_toPolygon(self);");
34658 : }
34659 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34660 0 : if (!SWIG_IsOK(res1)) {
34661 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_toPolygon" "', argument " "1"" of type '" "rectObj *""'");
34662 : }
34663 0 : arg1 = (rectObj *)(argp1);
34664 0 : result = (shapeObj *)rectObj_toPolygon(arg1);
34665 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
34666 :
34667 0 : XSRETURN(argvi);
34668 : fail:
34669 :
34670 0 : SWIG_croak_null();
34671 : }
34672 : }
34673 :
34674 :
34675 0 : XS(_wrap_rectObj_toString) {
34676 : {
34677 : rectObj *arg1 = (rectObj *) 0 ;
34678 0 : void *argp1 = 0 ;
34679 : int res1 = 0 ;
34680 : int argvi = 0;
34681 : char *result = 0 ;
34682 0 : dXSARGS;
34683 :
34684 0 : if ((items < 1) || (items > 1)) {
34685 0 : SWIG_croak("Usage: rectObj_toString(self);");
34686 : }
34687 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 | 0 );
34688 0 : if (!SWIG_IsOK(res1)) {
34689 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_toString" "', argument " "1"" of type '" "rectObj *""'");
34690 : }
34691 0 : arg1 = (rectObj *)(argp1);
34692 0 : result = (char *)rectObj_toString(arg1);
34693 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
34694 :
34695 0 : free((char*)result);
34696 0 : XSRETURN(argvi);
34697 : fail:
34698 :
34699 0 : SWIG_croak_null();
34700 : }
34701 : }
34702 :
34703 :
34704 0 : XS(_wrap_pointObj_x_set) {
34705 : {
34706 : pointObj *arg1 = (pointObj *) 0 ;
34707 : double arg2 ;
34708 0 : void *argp1 = 0 ;
34709 : int res1 = 0 ;
34710 : double val2 ;
34711 : int ecode2 = 0 ;
34712 : int argvi = 0;
34713 0 : dXSARGS;
34714 :
34715 0 : if ((items < 2) || (items > 2)) {
34716 0 : SWIG_croak("Usage: pointObj_x_set(self,x);");
34717 : }
34718 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
34719 0 : if (!SWIG_IsOK(res1)) {
34720 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_x_set" "', argument " "1"" of type '" "pointObj *""'");
34721 : }
34722 0 : arg1 = (pointObj *)(argp1);
34723 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34724 0 : if (!SWIG_IsOK(ecode2)) {
34725 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_x_set" "', argument " "2"" of type '" "double""'");
34726 : }
34727 0 : arg2 = (double)(val2);
34728 0 : if (arg1) (arg1)->x = arg2;
34729 0 : ST(argvi) = sv_newmortal();
34730 :
34731 :
34732 0 : XSRETURN(argvi);
34733 : fail:
34734 :
34735 :
34736 0 : SWIG_croak_null();
34737 : }
34738 : }
34739 :
34740 :
34741 1 : XS(_wrap_pointObj_x_get) {
34742 : {
34743 : pointObj *arg1 = (pointObj *) 0 ;
34744 1 : void *argp1 = 0 ;
34745 : int res1 = 0 ;
34746 : int argvi = 0;
34747 : double result;
34748 1 : dXSARGS;
34749 :
34750 1 : if ((items < 1) || (items > 1)) {
34751 0 : SWIG_croak("Usage: pointObj_x_get(self);");
34752 : }
34753 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
34754 1 : if (!SWIG_IsOK(res1)) {
34755 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_x_get" "', argument " "1"" of type '" "pointObj *""'");
34756 : }
34757 1 : arg1 = (pointObj *)(argp1);
34758 1 : result = (double) ((arg1)->x);
34759 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
34760 :
34761 1 : XSRETURN(argvi);
34762 : fail:
34763 :
34764 0 : SWIG_croak_null();
34765 : }
34766 : }
34767 :
34768 :
34769 0 : XS(_wrap_pointObj_y_set) {
34770 : {
34771 : pointObj *arg1 = (pointObj *) 0 ;
34772 : double arg2 ;
34773 0 : void *argp1 = 0 ;
34774 : int res1 = 0 ;
34775 : double val2 ;
34776 : int ecode2 = 0 ;
34777 : int argvi = 0;
34778 0 : dXSARGS;
34779 :
34780 0 : if ((items < 2) || (items > 2)) {
34781 0 : SWIG_croak("Usage: pointObj_y_set(self,y);");
34782 : }
34783 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
34784 0 : if (!SWIG_IsOK(res1)) {
34785 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_y_set" "', argument " "1"" of type '" "pointObj *""'");
34786 : }
34787 0 : arg1 = (pointObj *)(argp1);
34788 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34789 0 : if (!SWIG_IsOK(ecode2)) {
34790 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_y_set" "', argument " "2"" of type '" "double""'");
34791 : }
34792 0 : arg2 = (double)(val2);
34793 0 : if (arg1) (arg1)->y = arg2;
34794 0 : ST(argvi) = sv_newmortal();
34795 :
34796 :
34797 0 : XSRETURN(argvi);
34798 : fail:
34799 :
34800 :
34801 0 : SWIG_croak_null();
34802 : }
34803 : }
34804 :
34805 :
34806 1 : XS(_wrap_pointObj_y_get) {
34807 : {
34808 : pointObj *arg1 = (pointObj *) 0 ;
34809 1 : void *argp1 = 0 ;
34810 : int res1 = 0 ;
34811 : int argvi = 0;
34812 : double result;
34813 1 : dXSARGS;
34814 :
34815 1 : if ((items < 1) || (items > 1)) {
34816 0 : SWIG_croak("Usage: pointObj_y_get(self);");
34817 : }
34818 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
34819 1 : if (!SWIG_IsOK(res1)) {
34820 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_y_get" "', argument " "1"" of type '" "pointObj *""'");
34821 : }
34822 1 : arg1 = (pointObj *)(argp1);
34823 1 : result = (double) ((arg1)->y);
34824 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
34825 :
34826 1 : XSRETURN(argvi);
34827 : fail:
34828 :
34829 0 : SWIG_croak_null();
34830 : }
34831 : }
34832 :
34833 :
34834 0 : XS(_wrap_new_pointObj) {
34835 : {
34836 : double arg1 = (double) 0.0 ;
34837 : double arg2 = (double) 0.0 ;
34838 : double arg3 = (double) 0.0 ;
34839 : double arg4 = (double) -2e38 ;
34840 : double val1 ;
34841 : int ecode1 = 0 ;
34842 : double val2 ;
34843 : int ecode2 = 0 ;
34844 : double val3 ;
34845 : int ecode3 = 0 ;
34846 : double val4 ;
34847 : int ecode4 = 0 ;
34848 : int argvi = 0;
34849 : pointObj *result = 0 ;
34850 0 : dXSARGS;
34851 :
34852 0 : if ((items < 0) || (items > 4)) {
34853 0 : SWIG_croak("Usage: new_pointObj(x,y,z,m);");
34854 : }
34855 0 : if (items > 0) {
34856 0 : ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
34857 0 : if (!SWIG_IsOK(ecode1)) {
34858 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_pointObj" "', argument " "1"" of type '" "double""'");
34859 : }
34860 0 : arg1 = (double)(val1);
34861 : }
34862 0 : if (items > 1) {
34863 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
34864 0 : if (!SWIG_IsOK(ecode2)) {
34865 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_pointObj" "', argument " "2"" of type '" "double""'");
34866 : }
34867 0 : arg2 = (double)(val2);
34868 : }
34869 0 : if (items > 2) {
34870 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
34871 0 : if (!SWIG_IsOK(ecode3)) {
34872 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_pointObj" "', argument " "3"" of type '" "double""'");
34873 : }
34874 : arg3 = (double)(val3);
34875 : }
34876 0 : if (items > 3) {
34877 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
34878 0 : if (!SWIG_IsOK(ecode4)) {
34879 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_pointObj" "', argument " "4"" of type '" "double""'");
34880 : }
34881 : arg4 = (double)(val4);
34882 : }
34883 : result = (pointObj *)new_pointObj(arg1,arg2,arg3,arg4);
34884 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
34885 :
34886 :
34887 :
34888 :
34889 0 : XSRETURN(argvi);
34890 : fail:
34891 :
34892 :
34893 :
34894 :
34895 0 : SWIG_croak_null();
34896 : }
34897 : }
34898 :
34899 :
34900 0 : XS(_wrap_delete_pointObj) {
34901 : {
34902 : pointObj *arg1 = (pointObj *) 0 ;
34903 0 : void *argp1 = 0 ;
34904 : int res1 = 0 ;
34905 : int argvi = 0;
34906 0 : dXSARGS;
34907 :
34908 0 : if ((items < 1) || (items > 1)) {
34909 0 : SWIG_croak("Usage: delete_pointObj(self);");
34910 : }
34911 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, SWIG_POINTER_DISOWN | 0 );
34912 0 : if (!SWIG_IsOK(res1)) {
34913 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_pointObj" "', argument " "1"" of type '" "pointObj *""'");
34914 : }
34915 0 : arg1 = (pointObj *)(argp1);
34916 : delete_pointObj(arg1);
34917 0 : ST(argvi) = sv_newmortal();
34918 :
34919 0 : XSRETURN(argvi);
34920 : fail:
34921 :
34922 0 : SWIG_croak_null();
34923 : }
34924 : }
34925 :
34926 :
34927 0 : XS(_wrap_pointObj_project) {
34928 : {
34929 : pointObj *arg1 = (pointObj *) 0 ;
34930 : projectionObj *arg2 = (projectionObj *) 0 ;
34931 : projectionObj *arg3 = (projectionObj *) 0 ;
34932 0 : void *argp1 = 0 ;
34933 : int res1 = 0 ;
34934 0 : void *argp2 = 0 ;
34935 : int res2 = 0 ;
34936 0 : void *argp3 = 0 ;
34937 : int res3 = 0 ;
34938 : int argvi = 0;
34939 : int result;
34940 0 : dXSARGS;
34941 :
34942 0 : if ((items < 3) || (items > 3)) {
34943 0 : SWIG_croak("Usage: pointObj_project(self,projin,projout);");
34944 : }
34945 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
34946 0 : if (!SWIG_IsOK(res1)) {
34947 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_project" "', argument " "1"" of type '" "pointObj *""'");
34948 : }
34949 0 : arg1 = (pointObj *)(argp1);
34950 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 | 0 );
34951 0 : if (!SWIG_IsOK(res2)) {
34952 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_project" "', argument " "2"" of type '" "projectionObj *""'");
34953 : }
34954 0 : arg2 = (projectionObj *)(argp2);
34955 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 | 0 );
34956 0 : if (!SWIG_IsOK(res3)) {
34957 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pointObj_project" "', argument " "3"" of type '" "projectionObj *""'");
34958 : }
34959 0 : arg3 = (projectionObj *)(argp3);
34960 : result = (int)pointObj_project(arg1,arg2,arg3);
34961 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
34962 :
34963 :
34964 :
34965 0 : XSRETURN(argvi);
34966 : fail:
34967 :
34968 :
34969 :
34970 0 : SWIG_croak_null();
34971 : }
34972 : }
34973 :
34974 :
34975 0 : XS(_wrap_pointObj_draw) {
34976 : {
34977 : pointObj *arg1 = (pointObj *) 0 ;
34978 : mapObj *arg2 = (mapObj *) 0 ;
34979 : layerObj *arg3 = (layerObj *) 0 ;
34980 : imageObj *arg4 = (imageObj *) 0 ;
34981 : int arg5 ;
34982 : char *arg6 = (char *) 0 ;
34983 0 : void *argp1 = 0 ;
34984 : int res1 = 0 ;
34985 0 : void *argp2 = 0 ;
34986 : int res2 = 0 ;
34987 0 : void *argp3 = 0 ;
34988 : int res3 = 0 ;
34989 0 : void *argp4 = 0 ;
34990 : int res4 = 0 ;
34991 : int val5 ;
34992 : int ecode5 = 0 ;
34993 : int res6 ;
34994 0 : char *buf6 = 0 ;
34995 0 : int alloc6 = 0 ;
34996 : int argvi = 0;
34997 : int result;
34998 0 : dXSARGS;
34999 :
35000 0 : if ((items < 6) || (items > 6)) {
35001 0 : SWIG_croak("Usage: pointObj_draw(self,map,layer,image,classindex,text);");
35002 : }
35003 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35004 0 : if (!SWIG_IsOK(res1)) {
35005 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_draw" "', argument " "1"" of type '" "pointObj *""'");
35006 : }
35007 0 : arg1 = (pointObj *)(argp1);
35008 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
35009 0 : if (!SWIG_IsOK(res2)) {
35010 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_draw" "', argument " "2"" of type '" "mapObj *""'");
35011 : }
35012 0 : arg2 = (mapObj *)(argp2);
35013 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 | 0 );
35014 0 : if (!SWIG_IsOK(res3)) {
35015 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pointObj_draw" "', argument " "3"" of type '" "layerObj *""'");
35016 : }
35017 0 : arg3 = (layerObj *)(argp3);
35018 0 : res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_imageObj, 0 | 0 );
35019 0 : if (!SWIG_IsOK(res4)) {
35020 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pointObj_draw" "', argument " "4"" of type '" "imageObj *""'");
35021 : }
35022 0 : arg4 = (imageObj *)(argp4);
35023 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
35024 0 : if (!SWIG_IsOK(ecode5)) {
35025 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pointObj_draw" "', argument " "5"" of type '" "int""'");
35026 : }
35027 0 : arg5 = (int)(val5);
35028 0 : res6 = SWIG_AsCharPtrAndSize(ST(5), &buf6, NULL, &alloc6);
35029 0 : if (!SWIG_IsOK(res6)) {
35030 0 : SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "pointObj_draw" "', argument " "6"" of type '" "char *""'");
35031 : }
35032 0 : arg6 = (char *)(buf6);
35033 : result = (int)pointObj_draw(arg1,arg2,arg3,arg4,arg5,arg6);
35034 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35035 :
35036 :
35037 :
35038 :
35039 :
35040 0 : if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
35041 0 : XSRETURN(argvi);
35042 : fail:
35043 :
35044 :
35045 :
35046 :
35047 :
35048 0 : if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
35049 0 : SWIG_croak_null();
35050 : }
35051 : }
35052 :
35053 :
35054 0 : XS(_wrap_pointObj_distanceToPoint) {
35055 : {
35056 : pointObj *arg1 = (pointObj *) 0 ;
35057 : pointObj *arg2 = (pointObj *) 0 ;
35058 0 : void *argp1 = 0 ;
35059 : int res1 = 0 ;
35060 0 : void *argp2 = 0 ;
35061 : int res2 = 0 ;
35062 : int argvi = 0;
35063 : double result;
35064 0 : dXSARGS;
35065 :
35066 0 : if ((items < 2) || (items > 2)) {
35067 0 : SWIG_croak("Usage: pointObj_distanceToPoint(self,point);");
35068 : }
35069 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35070 0 : if (!SWIG_IsOK(res1)) {
35071 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_distanceToPoint" "', argument " "1"" of type '" "pointObj *""'");
35072 : }
35073 0 : arg1 = (pointObj *)(argp1);
35074 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
35075 0 : if (!SWIG_IsOK(res2)) {
35076 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_distanceToPoint" "', argument " "2"" of type '" "pointObj *""'");
35077 : }
35078 0 : arg2 = (pointObj *)(argp2);
35079 : result = (double)pointObj_distanceToPoint(arg1,arg2);
35080 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
35081 :
35082 :
35083 0 : XSRETURN(argvi);
35084 : fail:
35085 :
35086 :
35087 0 : SWIG_croak_null();
35088 : }
35089 : }
35090 :
35091 :
35092 1 : XS(_wrap_pointObj_distanceToSegment) {
35093 : {
35094 : pointObj *arg1 = (pointObj *) 0 ;
35095 : pointObj *arg2 = (pointObj *) 0 ;
35096 : pointObj *arg3 = (pointObj *) 0 ;
35097 1 : void *argp1 = 0 ;
35098 : int res1 = 0 ;
35099 1 : void *argp2 = 0 ;
35100 : int res2 = 0 ;
35101 1 : void *argp3 = 0 ;
35102 : int res3 = 0 ;
35103 : int argvi = 0;
35104 : double result;
35105 1 : dXSARGS;
35106 :
35107 1 : if ((items < 3) || (items > 3)) {
35108 0 : SWIG_croak("Usage: pointObj_distanceToSegment(self,a,b);");
35109 : }
35110 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35111 1 : if (!SWIG_IsOK(res1)) {
35112 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_distanceToSegment" "', argument " "1"" of type '" "pointObj *""'");
35113 : }
35114 1 : arg1 = (pointObj *)(argp1);
35115 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
35116 1 : if (!SWIG_IsOK(res2)) {
35117 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_distanceToSegment" "', argument " "2"" of type '" "pointObj *""'");
35118 : }
35119 1 : arg2 = (pointObj *)(argp2);
35120 1 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 | 0 );
35121 1 : if (!SWIG_IsOK(res3)) {
35122 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pointObj_distanceToSegment" "', argument " "3"" of type '" "pointObj *""'");
35123 : }
35124 1 : arg3 = (pointObj *)(argp3);
35125 : result = (double)pointObj_distanceToSegment(arg1,arg2,arg3);
35126 1 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
35127 :
35128 :
35129 :
35130 1 : XSRETURN(argvi);
35131 : fail:
35132 :
35133 :
35134 :
35135 0 : SWIG_croak_null();
35136 : }
35137 : }
35138 :
35139 :
35140 0 : XS(_wrap_pointObj_distanceToShape) {
35141 : {
35142 : pointObj *arg1 = (pointObj *) 0 ;
35143 : shapeObj *arg2 = (shapeObj *) 0 ;
35144 0 : void *argp1 = 0 ;
35145 : int res1 = 0 ;
35146 0 : void *argp2 = 0 ;
35147 : int res2 = 0 ;
35148 : int argvi = 0;
35149 : double result;
35150 0 : dXSARGS;
35151 :
35152 0 : if ((items < 2) || (items > 2)) {
35153 0 : SWIG_croak("Usage: pointObj_distanceToShape(self,shape);");
35154 : }
35155 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35156 0 : if (!SWIG_IsOK(res1)) {
35157 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_distanceToShape" "', argument " "1"" of type '" "pointObj *""'");
35158 : }
35159 0 : arg1 = (pointObj *)(argp1);
35160 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
35161 0 : if (!SWIG_IsOK(res2)) {
35162 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_distanceToShape" "', argument " "2"" of type '" "shapeObj *""'");
35163 : }
35164 0 : arg2 = (shapeObj *)(argp2);
35165 : result = (double)pointObj_distanceToShape(arg1,arg2);
35166 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
35167 :
35168 :
35169 0 : XSRETURN(argvi);
35170 : fail:
35171 :
35172 :
35173 0 : SWIG_croak_null();
35174 : }
35175 : }
35176 :
35177 :
35178 0 : XS(_wrap_pointObj_setXY) {
35179 : {
35180 : pointObj *arg1 = (pointObj *) 0 ;
35181 : double arg2 ;
35182 : double arg3 ;
35183 : double arg4 = (double) -2e38 ;
35184 0 : void *argp1 = 0 ;
35185 : int res1 = 0 ;
35186 : double val2 ;
35187 : int ecode2 = 0 ;
35188 : double val3 ;
35189 : int ecode3 = 0 ;
35190 : double val4 ;
35191 : int ecode4 = 0 ;
35192 : int argvi = 0;
35193 : int result;
35194 0 : dXSARGS;
35195 :
35196 0 : if ((items < 3) || (items > 4)) {
35197 0 : SWIG_croak("Usage: pointObj_setXY(self,x,y,m);");
35198 : }
35199 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35200 0 : if (!SWIG_IsOK(res1)) {
35201 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_setXY" "', argument " "1"" of type '" "pointObj *""'");
35202 : }
35203 0 : arg1 = (pointObj *)(argp1);
35204 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35205 0 : if (!SWIG_IsOK(ecode2)) {
35206 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_setXY" "', argument " "2"" of type '" "double""'");
35207 : }
35208 0 : arg2 = (double)(val2);
35209 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
35210 0 : if (!SWIG_IsOK(ecode3)) {
35211 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pointObj_setXY" "', argument " "3"" of type '" "double""'");
35212 : }
35213 0 : arg3 = (double)(val3);
35214 0 : if (items > 3) {
35215 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
35216 0 : if (!SWIG_IsOK(ecode4)) {
35217 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pointObj_setXY" "', argument " "4"" of type '" "double""'");
35218 : }
35219 : arg4 = (double)(val4);
35220 : }
35221 : result = (int)pointObj_setXY(arg1,arg2,arg3,arg4);
35222 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35223 :
35224 :
35225 :
35226 :
35227 0 : XSRETURN(argvi);
35228 : fail:
35229 :
35230 :
35231 :
35232 :
35233 0 : SWIG_croak_null();
35234 : }
35235 : }
35236 :
35237 :
35238 0 : XS(_wrap_pointObj_setXYZ) {
35239 : {
35240 : pointObj *arg1 = (pointObj *) 0 ;
35241 : double arg2 ;
35242 : double arg3 ;
35243 : double arg4 ;
35244 : double arg5 = (double) -2e38 ;
35245 0 : void *argp1 = 0 ;
35246 : int res1 = 0 ;
35247 : double val2 ;
35248 : int ecode2 = 0 ;
35249 : double val3 ;
35250 : int ecode3 = 0 ;
35251 : double val4 ;
35252 : int ecode4 = 0 ;
35253 : double val5 ;
35254 : int ecode5 = 0 ;
35255 : int argvi = 0;
35256 : int result;
35257 0 : dXSARGS;
35258 :
35259 0 : if ((items < 4) || (items > 5)) {
35260 0 : SWIG_croak("Usage: pointObj_setXYZ(self,x,y,z,m);");
35261 : }
35262 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35263 0 : if (!SWIG_IsOK(res1)) {
35264 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_setXYZ" "', argument " "1"" of type '" "pointObj *""'");
35265 : }
35266 0 : arg1 = (pointObj *)(argp1);
35267 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35268 0 : if (!SWIG_IsOK(ecode2)) {
35269 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_setXYZ" "', argument " "2"" of type '" "double""'");
35270 : }
35271 0 : arg2 = (double)(val2);
35272 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
35273 0 : if (!SWIG_IsOK(ecode3)) {
35274 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pointObj_setXYZ" "', argument " "3"" of type '" "double""'");
35275 : }
35276 0 : arg3 = (double)(val3);
35277 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
35278 0 : if (!SWIG_IsOK(ecode4)) {
35279 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pointObj_setXYZ" "', argument " "4"" of type '" "double""'");
35280 : }
35281 : arg4 = (double)(val4);
35282 0 : if (items > 4) {
35283 0 : ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
35284 0 : if (!SWIG_IsOK(ecode5)) {
35285 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pointObj_setXYZ" "', argument " "5"" of type '" "double""'");
35286 : }
35287 : arg5 = (double)(val5);
35288 : }
35289 : result = (int)pointObj_setXYZ(arg1,arg2,arg3,arg4,arg5);
35290 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35291 :
35292 :
35293 :
35294 :
35295 :
35296 0 : XSRETURN(argvi);
35297 : fail:
35298 :
35299 :
35300 :
35301 :
35302 :
35303 0 : SWIG_croak_null();
35304 : }
35305 : }
35306 :
35307 :
35308 0 : XS(_wrap_pointObj_setXYZM) {
35309 : {
35310 : pointObj *arg1 = (pointObj *) 0 ;
35311 : double arg2 ;
35312 : double arg3 ;
35313 : double arg4 ;
35314 : double arg5 ;
35315 0 : void *argp1 = 0 ;
35316 : int res1 = 0 ;
35317 : double val2 ;
35318 : int ecode2 = 0 ;
35319 : double val3 ;
35320 : int ecode3 = 0 ;
35321 : double val4 ;
35322 : int ecode4 = 0 ;
35323 : double val5 ;
35324 : int ecode5 = 0 ;
35325 : int argvi = 0;
35326 : int result;
35327 0 : dXSARGS;
35328 :
35329 0 : if ((items < 5) || (items > 5)) {
35330 0 : SWIG_croak("Usage: pointObj_setXYZM(self,x,y,z,m);");
35331 : }
35332 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35333 0 : if (!SWIG_IsOK(res1)) {
35334 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_setXYZM" "', argument " "1"" of type '" "pointObj *""'");
35335 : }
35336 0 : arg1 = (pointObj *)(argp1);
35337 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35338 0 : if (!SWIG_IsOK(ecode2)) {
35339 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_setXYZM" "', argument " "2"" of type '" "double""'");
35340 : }
35341 0 : arg2 = (double)(val2);
35342 0 : ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
35343 0 : if (!SWIG_IsOK(ecode3)) {
35344 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pointObj_setXYZM" "', argument " "3"" of type '" "double""'");
35345 : }
35346 0 : arg3 = (double)(val3);
35347 0 : ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
35348 0 : if (!SWIG_IsOK(ecode4)) {
35349 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pointObj_setXYZM" "', argument " "4"" of type '" "double""'");
35350 : }
35351 : arg4 = (double)(val4);
35352 0 : ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
35353 0 : if (!SWIG_IsOK(ecode5)) {
35354 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pointObj_setXYZM" "', argument " "5"" of type '" "double""'");
35355 : }
35356 : arg5 = (double)(val5);
35357 : result = (int)pointObj_setXYZM(arg1,arg2,arg3,arg4,arg5);
35358 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35359 :
35360 :
35361 :
35362 :
35363 :
35364 0 : XSRETURN(argvi);
35365 : fail:
35366 :
35367 :
35368 :
35369 :
35370 :
35371 0 : SWIG_croak_null();
35372 : }
35373 : }
35374 :
35375 :
35376 0 : XS(_wrap_pointObj_toString) {
35377 : {
35378 : pointObj *arg1 = (pointObj *) 0 ;
35379 0 : void *argp1 = 0 ;
35380 : int res1 = 0 ;
35381 : int argvi = 0;
35382 : char *result = 0 ;
35383 0 : dXSARGS;
35384 :
35385 0 : if ((items < 1) || (items > 1)) {
35386 0 : SWIG_croak("Usage: pointObj_toString(self);");
35387 : }
35388 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35389 0 : if (!SWIG_IsOK(res1)) {
35390 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_toString" "', argument " "1"" of type '" "pointObj *""'");
35391 : }
35392 0 : arg1 = (pointObj *)(argp1);
35393 0 : result = (char *)pointObj_toString(arg1);
35394 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
35395 :
35396 0 : free((char*)result);
35397 0 : XSRETURN(argvi);
35398 : fail:
35399 :
35400 0 : SWIG_croak_null();
35401 : }
35402 : }
35403 :
35404 :
35405 0 : XS(_wrap_pointObj_toShape) {
35406 : {
35407 : pointObj *arg1 = (pointObj *) 0 ;
35408 0 : void *argp1 = 0 ;
35409 : int res1 = 0 ;
35410 : int argvi = 0;
35411 : shapeObj *result = 0 ;
35412 0 : dXSARGS;
35413 :
35414 0 : if ((items < 1) || (items > 1)) {
35415 0 : SWIG_croak("Usage: pointObj_toShape(self);");
35416 : }
35417 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 | 0 );
35418 0 : if (!SWIG_IsOK(res1)) {
35419 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_toShape" "', argument " "1"" of type '" "pointObj *""'");
35420 : }
35421 0 : arg1 = (pointObj *)(argp1);
35422 0 : result = (shapeObj *)pointObj_toShape(arg1);
35423 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
35424 :
35425 0 : XSRETURN(argvi);
35426 : fail:
35427 :
35428 0 : SWIG_croak_null();
35429 : }
35430 : }
35431 :
35432 :
35433 1 : XS(_wrap_lineObj_numpoints_get) {
35434 : {
35435 : lineObj *arg1 = (lineObj *) 0 ;
35436 1 : void *argp1 = 0 ;
35437 : int res1 = 0 ;
35438 : int argvi = 0;
35439 : int result;
35440 1 : dXSARGS;
35441 :
35442 1 : if ((items < 1) || (items > 1)) {
35443 0 : SWIG_croak("Usage: lineObj_numpoints_get(self);");
35444 : }
35445 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 | 0 );
35446 1 : if (!SWIG_IsOK(res1)) {
35447 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_numpoints_get" "', argument " "1"" of type '" "lineObj *""'");
35448 : }
35449 1 : arg1 = (lineObj *)(argp1);
35450 1 : result = (int) ((arg1)->numpoints);
35451 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35452 :
35453 1 : XSRETURN(argvi);
35454 : fail:
35455 :
35456 0 : SWIG_croak_null();
35457 : }
35458 : }
35459 :
35460 :
35461 1 : XS(_wrap_new_lineObj) {
35462 : {
35463 : int argvi = 0;
35464 : lineObj *result = 0 ;
35465 1 : dXSARGS;
35466 :
35467 1 : if ((items < 0) || (items > 0)) {
35468 0 : SWIG_croak("Usage: new_lineObj();");
35469 : }
35470 : result = (lineObj *)new_lineObj();
35471 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
35472 1 : XSRETURN(argvi);
35473 : fail:
35474 0 : SWIG_croak_null();
35475 : }
35476 : }
35477 :
35478 :
35479 1 : XS(_wrap_delete_lineObj) {
35480 : {
35481 : lineObj *arg1 = (lineObj *) 0 ;
35482 1 : void *argp1 = 0 ;
35483 : int res1 = 0 ;
35484 : int argvi = 0;
35485 1 : dXSARGS;
35486 :
35487 1 : if ((items < 1) || (items > 1)) {
35488 0 : SWIG_croak("Usage: delete_lineObj(self);");
35489 : }
35490 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, SWIG_POINTER_DISOWN | 0 );
35491 1 : if (!SWIG_IsOK(res1)) {
35492 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_lineObj" "', argument " "1"" of type '" "lineObj *""'");
35493 : }
35494 1 : arg1 = (lineObj *)(argp1);
35495 : delete_lineObj(arg1);
35496 1 : ST(argvi) = sv_newmortal();
35497 :
35498 1 : XSRETURN(argvi);
35499 : fail:
35500 :
35501 0 : SWIG_croak_null();
35502 : }
35503 : }
35504 :
35505 :
35506 0 : XS(_wrap_lineObj_project) {
35507 : {
35508 : lineObj *arg1 = (lineObj *) 0 ;
35509 : projectionObj *arg2 = (projectionObj *) 0 ;
35510 : projectionObj *arg3 = (projectionObj *) 0 ;
35511 0 : void *argp1 = 0 ;
35512 : int res1 = 0 ;
35513 0 : void *argp2 = 0 ;
35514 : int res2 = 0 ;
35515 0 : void *argp3 = 0 ;
35516 : int res3 = 0 ;
35517 : int argvi = 0;
35518 : int result;
35519 0 : dXSARGS;
35520 :
35521 0 : if ((items < 3) || (items > 3)) {
35522 0 : SWIG_croak("Usage: lineObj_project(self,projin,projout);");
35523 : }
35524 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 | 0 );
35525 0 : if (!SWIG_IsOK(res1)) {
35526 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_project" "', argument " "1"" of type '" "lineObj *""'");
35527 : }
35528 0 : arg1 = (lineObj *)(argp1);
35529 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 | 0 );
35530 0 : if (!SWIG_IsOK(res2)) {
35531 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "lineObj_project" "', argument " "2"" of type '" "projectionObj *""'");
35532 : }
35533 0 : arg2 = (projectionObj *)(argp2);
35534 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 | 0 );
35535 0 : if (!SWIG_IsOK(res3)) {
35536 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "lineObj_project" "', argument " "3"" of type '" "projectionObj *""'");
35537 : }
35538 0 : arg3 = (projectionObj *)(argp3);
35539 : result = (int)lineObj_project(arg1,arg2,arg3);
35540 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35541 :
35542 :
35543 :
35544 0 : XSRETURN(argvi);
35545 : fail:
35546 :
35547 :
35548 :
35549 0 : SWIG_croak_null();
35550 : }
35551 : }
35552 :
35553 :
35554 1 : XS(_wrap_lineObj_get) {
35555 : {
35556 : lineObj *arg1 = (lineObj *) 0 ;
35557 : int arg2 ;
35558 1 : void *argp1 = 0 ;
35559 : int res1 = 0 ;
35560 : int val2 ;
35561 : int ecode2 = 0 ;
35562 : int argvi = 0;
35563 : pointObj *result = 0 ;
35564 1 : dXSARGS;
35565 :
35566 1 : if ((items < 2) || (items > 2)) {
35567 0 : SWIG_croak("Usage: lineObj_get(self,i);");
35568 : }
35569 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 | 0 );
35570 1 : if (!SWIG_IsOK(res1)) {
35571 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_get" "', argument " "1"" of type '" "lineObj *""'");
35572 : }
35573 1 : arg1 = (lineObj *)(argp1);
35574 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35575 1 : if (!SWIG_IsOK(ecode2)) {
35576 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lineObj_get" "', argument " "2"" of type '" "int""'");
35577 : }
35578 1 : arg2 = (int)(val2);
35579 : result = (pointObj *)lineObj_get(arg1,arg2);
35580 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, 0 | SWIG_SHADOW); argvi++ ;
35581 :
35582 :
35583 1 : XSRETURN(argvi);
35584 : fail:
35585 :
35586 :
35587 0 : SWIG_croak_null();
35588 : }
35589 : }
35590 :
35591 :
35592 1 : XS(_wrap_lineObj_add) {
35593 : {
35594 : lineObj *arg1 = (lineObj *) 0 ;
35595 : pointObj *arg2 = (pointObj *) 0 ;
35596 1 : void *argp1 = 0 ;
35597 : int res1 = 0 ;
35598 1 : void *argp2 = 0 ;
35599 : int res2 = 0 ;
35600 : int argvi = 0;
35601 : int result;
35602 1 : dXSARGS;
35603 :
35604 1 : if ((items < 2) || (items > 2)) {
35605 0 : SWIG_croak("Usage: lineObj_add(self,p);");
35606 : }
35607 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 | 0 );
35608 1 : if (!SWIG_IsOK(res1)) {
35609 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_add" "', argument " "1"" of type '" "lineObj *""'");
35610 : }
35611 1 : arg1 = (lineObj *)(argp1);
35612 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
35613 1 : if (!SWIG_IsOK(res2)) {
35614 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "lineObj_add" "', argument " "2"" of type '" "pointObj *""'");
35615 : }
35616 1 : arg2 = (pointObj *)(argp2);
35617 1 : result = (int)lineObj_add(arg1,arg2);
35618 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35619 :
35620 :
35621 1 : XSRETURN(argvi);
35622 : fail:
35623 :
35624 :
35625 0 : SWIG_croak_null();
35626 : }
35627 : }
35628 :
35629 :
35630 0 : XS(_wrap_lineObj_set) {
35631 : {
35632 : lineObj *arg1 = (lineObj *) 0 ;
35633 : int arg2 ;
35634 : pointObj *arg3 = (pointObj *) 0 ;
35635 0 : void *argp1 = 0 ;
35636 : int res1 = 0 ;
35637 : int val2 ;
35638 : int ecode2 = 0 ;
35639 0 : void *argp3 = 0 ;
35640 : int res3 = 0 ;
35641 : int argvi = 0;
35642 : int result;
35643 0 : dXSARGS;
35644 :
35645 0 : if ((items < 3) || (items > 3)) {
35646 0 : SWIG_croak("Usage: lineObj_set(self,i,p);");
35647 : }
35648 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 | 0 );
35649 0 : if (!SWIG_IsOK(res1)) {
35650 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_set" "', argument " "1"" of type '" "lineObj *""'");
35651 : }
35652 0 : arg1 = (lineObj *)(argp1);
35653 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35654 0 : if (!SWIG_IsOK(ecode2)) {
35655 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lineObj_set" "', argument " "2"" of type '" "int""'");
35656 : }
35657 0 : arg2 = (int)(val2);
35658 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 | 0 );
35659 0 : if (!SWIG_IsOK(res3)) {
35660 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "lineObj_set" "', argument " "3"" of type '" "pointObj *""'");
35661 : }
35662 0 : arg3 = (pointObj *)(argp3);
35663 : result = (int)lineObj_set(arg1,arg2,arg3);
35664 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35665 :
35666 :
35667 :
35668 0 : XSRETURN(argvi);
35669 : fail:
35670 :
35671 :
35672 :
35673 0 : SWIG_croak_null();
35674 : }
35675 : }
35676 :
35677 :
35678 1 : XS(_wrap_shapeObj_numlines_get) {
35679 : {
35680 : shapeObj *arg1 = (shapeObj *) 0 ;
35681 1 : void *argp1 = 0 ;
35682 : int res1 = 0 ;
35683 : int argvi = 0;
35684 : int result;
35685 1 : dXSARGS;
35686 :
35687 1 : if ((items < 1) || (items > 1)) {
35688 0 : SWIG_croak("Usage: shapeObj_numlines_get(self);");
35689 : }
35690 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
35691 1 : if (!SWIG_IsOK(res1)) {
35692 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_numlines_get" "', argument " "1"" of type '" "shapeObj *""'");
35693 : }
35694 1 : arg1 = (shapeObj *)(argp1);
35695 1 : result = (int) ((arg1)->numlines);
35696 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35697 :
35698 1 : XSRETURN(argvi);
35699 : fail:
35700 :
35701 0 : SWIG_croak_null();
35702 : }
35703 : }
35704 :
35705 :
35706 0 : XS(_wrap_shapeObj_numvalues_get) {
35707 : {
35708 : shapeObj *arg1 = (shapeObj *) 0 ;
35709 0 : void *argp1 = 0 ;
35710 : int res1 = 0 ;
35711 : int argvi = 0;
35712 : int result;
35713 0 : dXSARGS;
35714 :
35715 0 : if ((items < 1) || (items > 1)) {
35716 0 : SWIG_croak("Usage: shapeObj_numvalues_get(self);");
35717 : }
35718 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
35719 0 : if (!SWIG_IsOK(res1)) {
35720 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_numvalues_get" "', argument " "1"" of type '" "shapeObj *""'");
35721 : }
35722 0 : arg1 = (shapeObj *)(argp1);
35723 0 : result = (int) ((arg1)->numvalues);
35724 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35725 :
35726 0 : XSRETURN(argvi);
35727 : fail:
35728 :
35729 0 : SWIG_croak_null();
35730 : }
35731 : }
35732 :
35733 :
35734 0 : XS(_wrap_shapeObj_bounds_set) {
35735 : {
35736 : shapeObj *arg1 = (shapeObj *) 0 ;
35737 : rectObj *arg2 = (rectObj *) 0 ;
35738 0 : void *argp1 = 0 ;
35739 : int res1 = 0 ;
35740 0 : void *argp2 = 0 ;
35741 : int res2 = 0 ;
35742 : int argvi = 0;
35743 0 : dXSARGS;
35744 :
35745 0 : if ((items < 2) || (items > 2)) {
35746 0 : SWIG_croak("Usage: shapeObj_bounds_set(self,bounds);");
35747 : }
35748 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
35749 0 : if (!SWIG_IsOK(res1)) {
35750 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_bounds_set" "', argument " "1"" of type '" "shapeObj *""'");
35751 : }
35752 0 : arg1 = (shapeObj *)(argp1);
35753 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 | 0 );
35754 0 : if (!SWIG_IsOK(res2)) {
35755 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_bounds_set" "', argument " "2"" of type '" "rectObj *""'");
35756 : }
35757 0 : arg2 = (rectObj *)(argp2);
35758 0 : if (arg1) (arg1)->bounds = *arg2;
35759 0 : ST(argvi) = sv_newmortal();
35760 :
35761 :
35762 0 : XSRETURN(argvi);
35763 : fail:
35764 :
35765 :
35766 0 : SWIG_croak_null();
35767 : }
35768 : }
35769 :
35770 :
35771 1 : XS(_wrap_shapeObj_bounds_get) {
35772 : {
35773 : shapeObj *arg1 = (shapeObj *) 0 ;
35774 1 : void *argp1 = 0 ;
35775 : int res1 = 0 ;
35776 : int argvi = 0;
35777 : rectObj *result = 0 ;
35778 1 : dXSARGS;
35779 :
35780 1 : if ((items < 1) || (items > 1)) {
35781 0 : SWIG_croak("Usage: shapeObj_bounds_get(self);");
35782 : }
35783 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
35784 1 : if (!SWIG_IsOK(res1)) {
35785 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_bounds_get" "', argument " "1"" of type '" "shapeObj *""'");
35786 : }
35787 1 : arg1 = (shapeObj *)(argp1);
35788 1 : result = (rectObj *)& ((arg1)->bounds);
35789 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
35790 :
35791 1 : XSRETURN(argvi);
35792 : fail:
35793 :
35794 0 : SWIG_croak_null();
35795 : }
35796 : }
35797 :
35798 :
35799 0 : XS(_wrap_shapeObj_type_set) {
35800 : {
35801 : shapeObj *arg1 = (shapeObj *) 0 ;
35802 : int arg2 ;
35803 0 : void *argp1 = 0 ;
35804 : int res1 = 0 ;
35805 : int val2 ;
35806 : int ecode2 = 0 ;
35807 : int argvi = 0;
35808 0 : dXSARGS;
35809 :
35810 0 : if ((items < 2) || (items > 2)) {
35811 0 : SWIG_croak("Usage: shapeObj_type_set(self,type);");
35812 : }
35813 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
35814 0 : if (!SWIG_IsOK(res1)) {
35815 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_type_set" "', argument " "1"" of type '" "shapeObj *""'");
35816 : }
35817 0 : arg1 = (shapeObj *)(argp1);
35818 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35819 0 : if (!SWIG_IsOK(ecode2)) {
35820 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_type_set" "', argument " "2"" of type '" "int""'");
35821 : }
35822 0 : arg2 = (int)(val2);
35823 0 : if (arg1) (arg1)->type = arg2;
35824 0 : ST(argvi) = sv_newmortal();
35825 :
35826 :
35827 0 : XSRETURN(argvi);
35828 : fail:
35829 :
35830 :
35831 0 : SWIG_croak_null();
35832 : }
35833 : }
35834 :
35835 :
35836 0 : XS(_wrap_shapeObj_type_get) {
35837 : {
35838 : shapeObj *arg1 = (shapeObj *) 0 ;
35839 0 : void *argp1 = 0 ;
35840 : int res1 = 0 ;
35841 : int argvi = 0;
35842 : int result;
35843 0 : dXSARGS;
35844 :
35845 0 : if ((items < 1) || (items > 1)) {
35846 0 : SWIG_croak("Usage: shapeObj_type_get(self);");
35847 : }
35848 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
35849 0 : if (!SWIG_IsOK(res1)) {
35850 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_type_get" "', argument " "1"" of type '" "shapeObj *""'");
35851 : }
35852 0 : arg1 = (shapeObj *)(argp1);
35853 0 : result = (int) ((arg1)->type);
35854 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35855 :
35856 0 : XSRETURN(argvi);
35857 : fail:
35858 :
35859 0 : SWIG_croak_null();
35860 : }
35861 : }
35862 :
35863 :
35864 0 : XS(_wrap_shapeObj_index_set) {
35865 : {
35866 : shapeObj *arg1 = (shapeObj *) 0 ;
35867 : long arg2 ;
35868 0 : void *argp1 = 0 ;
35869 : int res1 = 0 ;
35870 : long val2 ;
35871 : int ecode2 = 0 ;
35872 : int argvi = 0;
35873 0 : dXSARGS;
35874 :
35875 0 : if ((items < 2) || (items > 2)) {
35876 0 : SWIG_croak("Usage: shapeObj_index_set(self,index);");
35877 : }
35878 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
35879 0 : if (!SWIG_IsOK(res1)) {
35880 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_index_set" "', argument " "1"" of type '" "shapeObj *""'");
35881 : }
35882 0 : arg1 = (shapeObj *)(argp1);
35883 0 : ecode2 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35884 0 : if (!SWIG_IsOK(ecode2)) {
35885 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_index_set" "', argument " "2"" of type '" "long""'");
35886 : }
35887 0 : arg2 = (long)(val2);
35888 0 : if (arg1) (arg1)->index = arg2;
35889 0 : ST(argvi) = sv_newmortal();
35890 :
35891 :
35892 0 : XSRETURN(argvi);
35893 : fail:
35894 :
35895 :
35896 0 : SWIG_croak_null();
35897 : }
35898 : }
35899 :
35900 :
35901 0 : XS(_wrap_shapeObj_index_get) {
35902 : {
35903 : shapeObj *arg1 = (shapeObj *) 0 ;
35904 0 : void *argp1 = 0 ;
35905 : int res1 = 0 ;
35906 : int argvi = 0;
35907 : long result;
35908 0 : dXSARGS;
35909 :
35910 0 : if ((items < 1) || (items > 1)) {
35911 0 : SWIG_croak("Usage: shapeObj_index_get(self);");
35912 : }
35913 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
35914 0 : if (!SWIG_IsOK(res1)) {
35915 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_index_get" "', argument " "1"" of type '" "shapeObj *""'");
35916 : }
35917 0 : arg1 = (shapeObj *)(argp1);
35918 0 : result = (long) ((arg1)->index);
35919 0 : ST(argvi) = SWIG_From_long SWIG_PERL_CALL_ARGS_1((long)(result)); argvi++ ;
35920 :
35921 0 : XSRETURN(argvi);
35922 : fail:
35923 :
35924 0 : SWIG_croak_null();
35925 : }
35926 : }
35927 :
35928 :
35929 0 : XS(_wrap_shapeObj_tileindex_set) {
35930 : {
35931 : shapeObj *arg1 = (shapeObj *) 0 ;
35932 : int arg2 ;
35933 0 : void *argp1 = 0 ;
35934 : int res1 = 0 ;
35935 : int val2 ;
35936 : int ecode2 = 0 ;
35937 : int argvi = 0;
35938 0 : dXSARGS;
35939 :
35940 0 : if ((items < 2) || (items > 2)) {
35941 0 : SWIG_croak("Usage: shapeObj_tileindex_set(self,tileindex);");
35942 : }
35943 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
35944 0 : if (!SWIG_IsOK(res1)) {
35945 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_tileindex_set" "', argument " "1"" of type '" "shapeObj *""'");
35946 : }
35947 0 : arg1 = (shapeObj *)(argp1);
35948 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
35949 0 : if (!SWIG_IsOK(ecode2)) {
35950 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_tileindex_set" "', argument " "2"" of type '" "int""'");
35951 : }
35952 0 : arg2 = (int)(val2);
35953 0 : if (arg1) (arg1)->tileindex = arg2;
35954 0 : ST(argvi) = sv_newmortal();
35955 :
35956 :
35957 0 : XSRETURN(argvi);
35958 : fail:
35959 :
35960 :
35961 0 : SWIG_croak_null();
35962 : }
35963 : }
35964 :
35965 :
35966 0 : XS(_wrap_shapeObj_tileindex_get) {
35967 : {
35968 : shapeObj *arg1 = (shapeObj *) 0 ;
35969 0 : void *argp1 = 0 ;
35970 : int res1 = 0 ;
35971 : int argvi = 0;
35972 : int result;
35973 0 : dXSARGS;
35974 :
35975 0 : if ((items < 1) || (items > 1)) {
35976 0 : SWIG_croak("Usage: shapeObj_tileindex_get(self);");
35977 : }
35978 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
35979 0 : if (!SWIG_IsOK(res1)) {
35980 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_tileindex_get" "', argument " "1"" of type '" "shapeObj *""'");
35981 : }
35982 0 : arg1 = (shapeObj *)(argp1);
35983 0 : result = (int) ((arg1)->tileindex);
35984 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
35985 :
35986 0 : XSRETURN(argvi);
35987 : fail:
35988 :
35989 0 : SWIG_croak_null();
35990 : }
35991 : }
35992 :
35993 :
35994 0 : XS(_wrap_shapeObj_classindex_set) {
35995 : {
35996 : shapeObj *arg1 = (shapeObj *) 0 ;
35997 : int arg2 ;
35998 0 : void *argp1 = 0 ;
35999 : int res1 = 0 ;
36000 : int val2 ;
36001 : int ecode2 = 0 ;
36002 : int argvi = 0;
36003 0 : dXSARGS;
36004 :
36005 0 : if ((items < 2) || (items > 2)) {
36006 0 : SWIG_croak("Usage: shapeObj_classindex_set(self,classindex);");
36007 : }
36008 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36009 0 : if (!SWIG_IsOK(res1)) {
36010 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_classindex_set" "', argument " "1"" of type '" "shapeObj *""'");
36011 : }
36012 0 : arg1 = (shapeObj *)(argp1);
36013 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36014 0 : if (!SWIG_IsOK(ecode2)) {
36015 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_classindex_set" "', argument " "2"" of type '" "int""'");
36016 : }
36017 0 : arg2 = (int)(val2);
36018 0 : if (arg1) (arg1)->classindex = arg2;
36019 0 : ST(argvi) = sv_newmortal();
36020 :
36021 :
36022 0 : XSRETURN(argvi);
36023 : fail:
36024 :
36025 :
36026 0 : SWIG_croak_null();
36027 : }
36028 : }
36029 :
36030 :
36031 0 : XS(_wrap_shapeObj_classindex_get) {
36032 : {
36033 : shapeObj *arg1 = (shapeObj *) 0 ;
36034 0 : void *argp1 = 0 ;
36035 : int res1 = 0 ;
36036 : int argvi = 0;
36037 : int result;
36038 0 : dXSARGS;
36039 :
36040 0 : if ((items < 1) || (items > 1)) {
36041 0 : SWIG_croak("Usage: shapeObj_classindex_get(self);");
36042 : }
36043 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36044 0 : if (!SWIG_IsOK(res1)) {
36045 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_classindex_get" "', argument " "1"" of type '" "shapeObj *""'");
36046 : }
36047 0 : arg1 = (shapeObj *)(argp1);
36048 0 : result = (int) ((arg1)->classindex);
36049 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36050 :
36051 0 : XSRETURN(argvi);
36052 : fail:
36053 :
36054 0 : SWIG_croak_null();
36055 : }
36056 : }
36057 :
36058 :
36059 0 : XS(_wrap_shapeObj_text_set) {
36060 : {
36061 : shapeObj *arg1 = (shapeObj *) 0 ;
36062 : char *arg2 = (char *) 0 ;
36063 0 : void *argp1 = 0 ;
36064 : int res1 = 0 ;
36065 : int res2 ;
36066 0 : char *buf2 = 0 ;
36067 0 : int alloc2 = 0 ;
36068 : int argvi = 0;
36069 0 : dXSARGS;
36070 :
36071 0 : if ((items < 2) || (items > 2)) {
36072 0 : SWIG_croak("Usage: shapeObj_text_set(self,text);");
36073 : }
36074 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36075 0 : if (!SWIG_IsOK(res1)) {
36076 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_text_set" "', argument " "1"" of type '" "shapeObj *""'");
36077 : }
36078 0 : arg1 = (shapeObj *)(argp1);
36079 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
36080 0 : if (!SWIG_IsOK(res2)) {
36081 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_text_set" "', argument " "2"" of type '" "char *""'");
36082 : }
36083 0 : arg2 = (char *)(buf2);
36084 : {
36085 0 : if (arg1->text) free((char*)arg1->text);
36086 0 : if (arg2) {
36087 0 : arg1->text = (char *) malloc(strlen(arg2)+1);
36088 : strcpy((char*)arg1->text,arg2);
36089 : } else {
36090 0 : arg1->text = 0;
36091 : }
36092 : }
36093 0 : ST(argvi) = sv_newmortal();
36094 :
36095 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
36096 0 : XSRETURN(argvi);
36097 : fail:
36098 :
36099 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
36100 0 : SWIG_croak_null();
36101 : }
36102 : }
36103 :
36104 :
36105 0 : XS(_wrap_shapeObj_text_get) {
36106 : {
36107 : shapeObj *arg1 = (shapeObj *) 0 ;
36108 0 : void *argp1 = 0 ;
36109 : int res1 = 0 ;
36110 : int argvi = 0;
36111 : char *result = 0 ;
36112 0 : dXSARGS;
36113 :
36114 0 : if ((items < 1) || (items > 1)) {
36115 0 : SWIG_croak("Usage: shapeObj_text_get(self);");
36116 : }
36117 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36118 0 : if (!SWIG_IsOK(res1)) {
36119 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_text_get" "', argument " "1"" of type '" "shapeObj *""'");
36120 : }
36121 0 : arg1 = (shapeObj *)(argp1);
36122 0 : result = (char *) ((arg1)->text);
36123 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
36124 :
36125 0 : XSRETURN(argvi);
36126 : fail:
36127 :
36128 0 : SWIG_croak_null();
36129 : }
36130 : }
36131 :
36132 :
36133 0 : XS(_wrap_shapeObj_scratch_set) {
36134 : {
36135 : shapeObj *arg1 = (shapeObj *) 0 ;
36136 : int arg2 ;
36137 0 : void *argp1 = 0 ;
36138 : int res1 = 0 ;
36139 : int val2 ;
36140 : int ecode2 = 0 ;
36141 : int argvi = 0;
36142 0 : dXSARGS;
36143 :
36144 0 : if ((items < 2) || (items > 2)) {
36145 0 : SWIG_croak("Usage: shapeObj_scratch_set(self,scratch);");
36146 : }
36147 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36148 0 : if (!SWIG_IsOK(res1)) {
36149 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_scratch_set" "', argument " "1"" of type '" "shapeObj *""'");
36150 : }
36151 0 : arg1 = (shapeObj *)(argp1);
36152 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36153 0 : if (!SWIG_IsOK(ecode2)) {
36154 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_scratch_set" "', argument " "2"" of type '" "int""'");
36155 : }
36156 0 : arg2 = (int)(val2);
36157 0 : if (arg1) (arg1)->scratch = arg2;
36158 0 : ST(argvi) = sv_newmortal();
36159 :
36160 :
36161 0 : XSRETURN(argvi);
36162 : fail:
36163 :
36164 :
36165 0 : SWIG_croak_null();
36166 : }
36167 : }
36168 :
36169 :
36170 0 : XS(_wrap_shapeObj_scratch_get) {
36171 : {
36172 : shapeObj *arg1 = (shapeObj *) 0 ;
36173 0 : void *argp1 = 0 ;
36174 : int res1 = 0 ;
36175 : int argvi = 0;
36176 : int result;
36177 0 : dXSARGS;
36178 :
36179 0 : if ((items < 1) || (items > 1)) {
36180 0 : SWIG_croak("Usage: shapeObj_scratch_get(self);");
36181 : }
36182 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36183 0 : if (!SWIG_IsOK(res1)) {
36184 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_scratch_get" "', argument " "1"" of type '" "shapeObj *""'");
36185 : }
36186 0 : arg1 = (shapeObj *)(argp1);
36187 0 : result = (int) ((arg1)->scratch);
36188 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36189 :
36190 0 : XSRETURN(argvi);
36191 : fail:
36192 :
36193 0 : SWIG_croak_null();
36194 : }
36195 : }
36196 :
36197 :
36198 0 : XS(_wrap_shapeObj_resultindex_set) {
36199 : {
36200 : shapeObj *arg1 = (shapeObj *) 0 ;
36201 : int arg2 ;
36202 0 : void *argp1 = 0 ;
36203 : int res1 = 0 ;
36204 : int val2 ;
36205 : int ecode2 = 0 ;
36206 : int argvi = 0;
36207 0 : dXSARGS;
36208 :
36209 0 : if ((items < 2) || (items > 2)) {
36210 0 : SWIG_croak("Usage: shapeObj_resultindex_set(self,resultindex);");
36211 : }
36212 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36213 0 : if (!SWIG_IsOK(res1)) {
36214 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_resultindex_set" "', argument " "1"" of type '" "shapeObj *""'");
36215 : }
36216 0 : arg1 = (shapeObj *)(argp1);
36217 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36218 0 : if (!SWIG_IsOK(ecode2)) {
36219 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_resultindex_set" "', argument " "2"" of type '" "int""'");
36220 : }
36221 0 : arg2 = (int)(val2);
36222 0 : if (arg1) (arg1)->resultindex = arg2;
36223 0 : ST(argvi) = sv_newmortal();
36224 :
36225 :
36226 0 : XSRETURN(argvi);
36227 : fail:
36228 :
36229 :
36230 0 : SWIG_croak_null();
36231 : }
36232 : }
36233 :
36234 :
36235 0 : XS(_wrap_shapeObj_resultindex_get) {
36236 : {
36237 : shapeObj *arg1 = (shapeObj *) 0 ;
36238 0 : void *argp1 = 0 ;
36239 : int res1 = 0 ;
36240 : int argvi = 0;
36241 : int result;
36242 0 : dXSARGS;
36243 :
36244 0 : if ((items < 1) || (items > 1)) {
36245 0 : SWIG_croak("Usage: shapeObj_resultindex_get(self);");
36246 : }
36247 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36248 0 : if (!SWIG_IsOK(res1)) {
36249 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_resultindex_get" "', argument " "1"" of type '" "shapeObj *""'");
36250 : }
36251 0 : arg1 = (shapeObj *)(argp1);
36252 0 : result = (int) ((arg1)->resultindex);
36253 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36254 :
36255 0 : XSRETURN(argvi);
36256 : fail:
36257 :
36258 0 : SWIG_croak_null();
36259 : }
36260 : }
36261 :
36262 :
36263 1 : XS(_wrap_new_shapeObj) {
36264 : {
36265 : int arg1 = (int) MS_SHAPE_NULL ;
36266 : int val1 ;
36267 : int ecode1 = 0 ;
36268 : int argvi = 0;
36269 : shapeObj *result = 0 ;
36270 1 : dXSARGS;
36271 :
36272 1 : if ((items < 0) || (items > 1)) {
36273 0 : SWIG_croak("Usage: new_shapeObj(type);");
36274 : }
36275 1 : if (items > 0) {
36276 1 : ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
36277 1 : if (!SWIG_IsOK(ecode1)) {
36278 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_shapeObj" "', argument " "1"" of type '" "int""'");
36279 : }
36280 1 : arg1 = (int)(val1);
36281 : }
36282 1 : result = (shapeObj *)new_shapeObj(arg1);
36283 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
36284 :
36285 1 : XSRETURN(argvi);
36286 : fail:
36287 :
36288 0 : SWIG_croak_null();
36289 : }
36290 : }
36291 :
36292 :
36293 1 : XS(_wrap_delete_shapeObj) {
36294 : {
36295 : shapeObj *arg1 = (shapeObj *) 0 ;
36296 1 : void *argp1 = 0 ;
36297 : int res1 = 0 ;
36298 : int argvi = 0;
36299 1 : dXSARGS;
36300 :
36301 1 : if ((items < 1) || (items > 1)) {
36302 0 : SWIG_croak("Usage: delete_shapeObj(self);");
36303 : }
36304 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, SWIG_POINTER_DISOWN | 0 );
36305 1 : if (!SWIG_IsOK(res1)) {
36306 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_shapeObj" "', argument " "1"" of type '" "shapeObj *""'");
36307 : }
36308 1 : arg1 = (shapeObj *)(argp1);
36309 : delete_shapeObj(arg1);
36310 1 : ST(argvi) = sv_newmortal();
36311 :
36312 1 : XSRETURN(argvi);
36313 : fail:
36314 :
36315 0 : SWIG_croak_null();
36316 : }
36317 : }
36318 :
36319 :
36320 1 : XS(_wrap_shapeObj_fromWKT) {
36321 : {
36322 : char *arg1 = (char *) 0 ;
36323 : int res1 ;
36324 1 : char *buf1 = 0 ;
36325 1 : int alloc1 = 0 ;
36326 : int argvi = 0;
36327 : shapeObj *result = 0 ;
36328 1 : dXSARGS;
36329 :
36330 1 : if ((items < 1) || (items > 1)) {
36331 0 : SWIG_croak("Usage: shapeObj_fromWKT(wkt);");
36332 : }
36333 1 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
36334 1 : if (!SWIG_IsOK(res1)) {
36335 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_fromWKT" "', argument " "1"" of type '" "char *""'");
36336 : }
36337 1 : arg1 = (char *)(buf1);
36338 : result = (shapeObj *)shapeObj_fromWKT(arg1);
36339 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
36340 1 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
36341 1 : XSRETURN(argvi);
36342 : fail:
36343 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
36344 0 : SWIG_croak_null();
36345 : }
36346 : }
36347 :
36348 :
36349 0 : XS(_wrap_shapeObj_project) {
36350 : {
36351 : shapeObj *arg1 = (shapeObj *) 0 ;
36352 : projectionObj *arg2 = (projectionObj *) 0 ;
36353 : projectionObj *arg3 = (projectionObj *) 0 ;
36354 0 : void *argp1 = 0 ;
36355 : int res1 = 0 ;
36356 0 : void *argp2 = 0 ;
36357 : int res2 = 0 ;
36358 0 : void *argp3 = 0 ;
36359 : int res3 = 0 ;
36360 : int argvi = 0;
36361 : int result;
36362 0 : dXSARGS;
36363 :
36364 0 : if ((items < 3) || (items > 3)) {
36365 0 : SWIG_croak("Usage: shapeObj_project(self,projin,projout);");
36366 : }
36367 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36368 0 : if (!SWIG_IsOK(res1)) {
36369 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_project" "', argument " "1"" of type '" "shapeObj *""'");
36370 : }
36371 0 : arg1 = (shapeObj *)(argp1);
36372 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 | 0 );
36373 0 : if (!SWIG_IsOK(res2)) {
36374 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_project" "', argument " "2"" of type '" "projectionObj *""'");
36375 : }
36376 0 : arg2 = (projectionObj *)(argp2);
36377 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 | 0 );
36378 0 : if (!SWIG_IsOK(res3)) {
36379 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapeObj_project" "', argument " "3"" of type '" "projectionObj *""'");
36380 : }
36381 0 : arg3 = (projectionObj *)(argp3);
36382 : result = (int)shapeObj_project(arg1,arg2,arg3);
36383 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36384 :
36385 :
36386 :
36387 0 : XSRETURN(argvi);
36388 : fail:
36389 :
36390 :
36391 :
36392 0 : SWIG_croak_null();
36393 : }
36394 : }
36395 :
36396 :
36397 1 : XS(_wrap_shapeObj_get) {
36398 : {
36399 : shapeObj *arg1 = (shapeObj *) 0 ;
36400 : int arg2 ;
36401 1 : void *argp1 = 0 ;
36402 : int res1 = 0 ;
36403 : int val2 ;
36404 : int ecode2 = 0 ;
36405 : int argvi = 0;
36406 : lineObj *result = 0 ;
36407 1 : dXSARGS;
36408 :
36409 1 : if ((items < 2) || (items > 2)) {
36410 0 : SWIG_croak("Usage: shapeObj_get(self,i);");
36411 : }
36412 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36413 1 : if (!SWIG_IsOK(res1)) {
36414 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_get" "', argument " "1"" of type '" "shapeObj *""'");
36415 : }
36416 1 : arg1 = (shapeObj *)(argp1);
36417 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36418 1 : if (!SWIG_IsOK(ecode2)) {
36419 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_get" "', argument " "2"" of type '" "int""'");
36420 : }
36421 1 : arg2 = (int)(val2);
36422 : result = (lineObj *)shapeObj_get(arg1,arg2);
36423 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, 0 | SWIG_SHADOW); argvi++ ;
36424 :
36425 :
36426 1 : XSRETURN(argvi);
36427 : fail:
36428 :
36429 :
36430 0 : SWIG_croak_null();
36431 : }
36432 : }
36433 :
36434 :
36435 1 : XS(_wrap_shapeObj_add) {
36436 : {
36437 : shapeObj *arg1 = (shapeObj *) 0 ;
36438 : lineObj *arg2 = (lineObj *) 0 ;
36439 1 : void *argp1 = 0 ;
36440 : int res1 = 0 ;
36441 1 : void *argp2 = 0 ;
36442 : int res2 = 0 ;
36443 : int argvi = 0;
36444 : int result;
36445 1 : dXSARGS;
36446 :
36447 1 : if ((items < 2) || (items > 2)) {
36448 0 : SWIG_croak("Usage: shapeObj_add(self,line);");
36449 : }
36450 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36451 1 : if (!SWIG_IsOK(res1)) {
36452 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_add" "', argument " "1"" of type '" "shapeObj *""'");
36453 : }
36454 1 : arg1 = (shapeObj *)(argp1);
36455 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_lineObj, 0 | 0 );
36456 1 : if (!SWIG_IsOK(res2)) {
36457 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_add" "', argument " "2"" of type '" "lineObj *""'");
36458 : }
36459 1 : arg2 = (lineObj *)(argp2);
36460 : result = (int)shapeObj_add(arg1,arg2);
36461 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36462 :
36463 :
36464 1 : XSRETURN(argvi);
36465 : fail:
36466 :
36467 :
36468 0 : SWIG_croak_null();
36469 : }
36470 : }
36471 :
36472 :
36473 0 : XS(_wrap_shapeObj_draw) {
36474 : {
36475 : shapeObj *arg1 = (shapeObj *) 0 ;
36476 : mapObj *arg2 = (mapObj *) 0 ;
36477 : layerObj *arg3 = (layerObj *) 0 ;
36478 : imageObj *arg4 = (imageObj *) 0 ;
36479 0 : void *argp1 = 0 ;
36480 : int res1 = 0 ;
36481 0 : void *argp2 = 0 ;
36482 : int res2 = 0 ;
36483 0 : void *argp3 = 0 ;
36484 : int res3 = 0 ;
36485 0 : void *argp4 = 0 ;
36486 : int res4 = 0 ;
36487 : int argvi = 0;
36488 : int result;
36489 0 : dXSARGS;
36490 :
36491 0 : if ((items < 4) || (items > 4)) {
36492 0 : SWIG_croak("Usage: shapeObj_draw(self,map,layer,image);");
36493 : }
36494 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36495 0 : if (!SWIG_IsOK(res1)) {
36496 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_draw" "', argument " "1"" of type '" "shapeObj *""'");
36497 : }
36498 0 : arg1 = (shapeObj *)(argp1);
36499 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
36500 0 : if (!SWIG_IsOK(res2)) {
36501 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_draw" "', argument " "2"" of type '" "mapObj *""'");
36502 : }
36503 0 : arg2 = (mapObj *)(argp2);
36504 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 | 0 );
36505 0 : if (!SWIG_IsOK(res3)) {
36506 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapeObj_draw" "', argument " "3"" of type '" "layerObj *""'");
36507 : }
36508 0 : arg3 = (layerObj *)(argp3);
36509 0 : res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_imageObj, 0 | 0 );
36510 0 : if (!SWIG_IsOK(res4)) {
36511 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "shapeObj_draw" "', argument " "4"" of type '" "imageObj *""'");
36512 : }
36513 0 : arg4 = (imageObj *)(argp4);
36514 : result = (int)shapeObj_draw(arg1,arg2,arg3,arg4);
36515 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36516 :
36517 :
36518 :
36519 :
36520 0 : XSRETURN(argvi);
36521 : fail:
36522 :
36523 :
36524 :
36525 :
36526 0 : SWIG_croak_null();
36527 : }
36528 : }
36529 :
36530 :
36531 0 : XS(_wrap_shapeObj_setBounds) {
36532 : {
36533 : shapeObj *arg1 = (shapeObj *) 0 ;
36534 0 : void *argp1 = 0 ;
36535 : int res1 = 0 ;
36536 : int argvi = 0;
36537 0 : dXSARGS;
36538 :
36539 0 : if ((items < 1) || (items > 1)) {
36540 0 : SWIG_croak("Usage: shapeObj_setBounds(self);");
36541 : }
36542 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36543 0 : if (!SWIG_IsOK(res1)) {
36544 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_setBounds" "', argument " "1"" of type '" "shapeObj *""'");
36545 : }
36546 0 : arg1 = (shapeObj *)(argp1);
36547 : shapeObj_setBounds(arg1);
36548 0 : ST(argvi) = sv_newmortal();
36549 :
36550 0 : XSRETURN(argvi);
36551 : fail:
36552 :
36553 0 : SWIG_croak_null();
36554 : }
36555 : }
36556 :
36557 :
36558 0 : XS(_wrap_shapeObj_clone) {
36559 : {
36560 : shapeObj *arg1 = (shapeObj *) 0 ;
36561 0 : void *argp1 = 0 ;
36562 : int res1 = 0 ;
36563 : int argvi = 0;
36564 : shapeObj *result = 0 ;
36565 0 : dXSARGS;
36566 :
36567 0 : if ((items < 1) || (items > 1)) {
36568 0 : SWIG_croak("Usage: shapeObj_clone(self);");
36569 : }
36570 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36571 0 : if (!SWIG_IsOK(res1)) {
36572 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_clone" "', argument " "1"" of type '" "shapeObj *""'");
36573 : }
36574 0 : arg1 = (shapeObj *)(argp1);
36575 0 : result = (shapeObj *)shapeObj_clone(arg1);
36576 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
36577 :
36578 0 : XSRETURN(argvi);
36579 : fail:
36580 :
36581 0 : SWIG_croak_null();
36582 : }
36583 : }
36584 :
36585 :
36586 0 : XS(_wrap_shapeObj_copy) {
36587 : {
36588 : shapeObj *arg1 = (shapeObj *) 0 ;
36589 : shapeObj *arg2 = (shapeObj *) 0 ;
36590 0 : void *argp1 = 0 ;
36591 : int res1 = 0 ;
36592 0 : void *argp2 = 0 ;
36593 : int res2 = 0 ;
36594 : int argvi = 0;
36595 : int result;
36596 0 : dXSARGS;
36597 :
36598 0 : if ((items < 2) || (items > 2)) {
36599 0 : SWIG_croak("Usage: shapeObj_copy(self,dest);");
36600 : }
36601 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36602 0 : if (!SWIG_IsOK(res1)) {
36603 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_copy" "', argument " "1"" of type '" "shapeObj *""'");
36604 : }
36605 0 : arg1 = (shapeObj *)(argp1);
36606 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
36607 0 : if (!SWIG_IsOK(res2)) {
36608 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_copy" "', argument " "2"" of type '" "shapeObj *""'");
36609 : }
36610 0 : arg2 = (shapeObj *)(argp2);
36611 : result = (int)shapeObj_copy(arg1,arg2);
36612 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
36613 :
36614 :
36615 0 : XSRETURN(argvi);
36616 : fail:
36617 :
36618 :
36619 0 : SWIG_croak_null();
36620 : }
36621 : }
36622 :
36623 :
36624 1 : XS(_wrap_shapeObj_toWKT) {
36625 : {
36626 : shapeObj *arg1 = (shapeObj *) 0 ;
36627 1 : void *argp1 = 0 ;
36628 : int res1 = 0 ;
36629 : int argvi = 0;
36630 : char *result = 0 ;
36631 1 : dXSARGS;
36632 :
36633 1 : if ((items < 1) || (items > 1)) {
36634 0 : SWIG_croak("Usage: shapeObj_toWKT(self);");
36635 : }
36636 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36637 1 : if (!SWIG_IsOK(res1)) {
36638 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_toWKT" "', argument " "1"" of type '" "shapeObj *""'");
36639 : }
36640 1 : arg1 = (shapeObj *)(argp1);
36641 : result = (char *)shapeObj_toWKT(arg1);
36642 1 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
36643 :
36644 1 : free((char*)result);
36645 1 : XSRETURN(argvi);
36646 : fail:
36647 :
36648 0 : SWIG_croak_null();
36649 : }
36650 : }
36651 :
36652 :
36653 0 : XS(_wrap_shapeObj_buffer) {
36654 : {
36655 : shapeObj *arg1 = (shapeObj *) 0 ;
36656 : double arg2 ;
36657 0 : void *argp1 = 0 ;
36658 : int res1 = 0 ;
36659 : double val2 ;
36660 : int ecode2 = 0 ;
36661 : int argvi = 0;
36662 : shapeObj *result = 0 ;
36663 0 : dXSARGS;
36664 :
36665 0 : if ((items < 2) || (items > 2)) {
36666 0 : SWIG_croak("Usage: shapeObj_buffer(self,width);");
36667 : }
36668 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36669 0 : if (!SWIG_IsOK(res1)) {
36670 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_buffer" "', argument " "1"" of type '" "shapeObj *""'");
36671 : }
36672 0 : arg1 = (shapeObj *)(argp1);
36673 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36674 0 : if (!SWIG_IsOK(ecode2)) {
36675 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_buffer" "', argument " "2"" of type '" "double""'");
36676 : }
36677 0 : arg2 = (double)(val2);
36678 : result = (shapeObj *)shapeObj_buffer(arg1,arg2);
36679 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
36680 :
36681 :
36682 0 : XSRETURN(argvi);
36683 : fail:
36684 :
36685 :
36686 0 : SWIG_croak_null();
36687 : }
36688 : }
36689 :
36690 :
36691 0 : XS(_wrap_shapeObj_simplify) {
36692 : {
36693 : shapeObj *arg1 = (shapeObj *) 0 ;
36694 : double arg2 ;
36695 0 : void *argp1 = 0 ;
36696 : int res1 = 0 ;
36697 : double val2 ;
36698 : int ecode2 = 0 ;
36699 : int argvi = 0;
36700 : shapeObj *result = 0 ;
36701 0 : dXSARGS;
36702 :
36703 0 : if ((items < 2) || (items > 2)) {
36704 0 : SWIG_croak("Usage: shapeObj_simplify(self,tolerance);");
36705 : }
36706 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36707 0 : if (!SWIG_IsOK(res1)) {
36708 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_simplify" "', argument " "1"" of type '" "shapeObj *""'");
36709 : }
36710 0 : arg1 = (shapeObj *)(argp1);
36711 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36712 0 : if (!SWIG_IsOK(ecode2)) {
36713 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_simplify" "', argument " "2"" of type '" "double""'");
36714 : }
36715 0 : arg2 = (double)(val2);
36716 : result = (shapeObj *)shapeObj_simplify(arg1,arg2);
36717 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
36718 :
36719 :
36720 0 : XSRETURN(argvi);
36721 : fail:
36722 :
36723 :
36724 0 : SWIG_croak_null();
36725 : }
36726 : }
36727 :
36728 :
36729 0 : XS(_wrap_shapeObj_topologyPreservingSimplify) {
36730 : {
36731 : shapeObj *arg1 = (shapeObj *) 0 ;
36732 : double arg2 ;
36733 0 : void *argp1 = 0 ;
36734 : int res1 = 0 ;
36735 : double val2 ;
36736 : int ecode2 = 0 ;
36737 : int argvi = 0;
36738 : shapeObj *result = 0 ;
36739 0 : dXSARGS;
36740 :
36741 0 : if ((items < 2) || (items > 2)) {
36742 0 : SWIG_croak("Usage: shapeObj_topologyPreservingSimplify(self,tolerance);");
36743 : }
36744 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36745 0 : if (!SWIG_IsOK(res1)) {
36746 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_topologyPreservingSimplify" "', argument " "1"" of type '" "shapeObj *""'");
36747 : }
36748 0 : arg1 = (shapeObj *)(argp1);
36749 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
36750 0 : if (!SWIG_IsOK(ecode2)) {
36751 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_topologyPreservingSimplify" "', argument " "2"" of type '" "double""'");
36752 : }
36753 0 : arg2 = (double)(val2);
36754 : result = (shapeObj *)shapeObj_topologyPreservingSimplify(arg1,arg2);
36755 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
36756 :
36757 :
36758 0 : XSRETURN(argvi);
36759 : fail:
36760 :
36761 :
36762 0 : SWIG_croak_null();
36763 : }
36764 : }
36765 :
36766 :
36767 0 : XS(_wrap_shapeObj_convexHull) {
36768 : {
36769 : shapeObj *arg1 = (shapeObj *) 0 ;
36770 0 : void *argp1 = 0 ;
36771 : int res1 = 0 ;
36772 : int argvi = 0;
36773 : shapeObj *result = 0 ;
36774 0 : dXSARGS;
36775 :
36776 0 : if ((items < 1) || (items > 1)) {
36777 0 : SWIG_croak("Usage: shapeObj_convexHull(self);");
36778 : }
36779 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36780 0 : if (!SWIG_IsOK(res1)) {
36781 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_convexHull" "', argument " "1"" of type '" "shapeObj *""'");
36782 : }
36783 0 : arg1 = (shapeObj *)(argp1);
36784 : result = (shapeObj *)shapeObj_convexHull(arg1);
36785 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
36786 :
36787 0 : XSRETURN(argvi);
36788 : fail:
36789 :
36790 0 : SWIG_croak_null();
36791 : }
36792 : }
36793 :
36794 :
36795 0 : XS(_wrap_shapeObj_boundary) {
36796 : {
36797 : shapeObj *arg1 = (shapeObj *) 0 ;
36798 0 : void *argp1 = 0 ;
36799 : int res1 = 0 ;
36800 : int argvi = 0;
36801 : shapeObj *result = 0 ;
36802 0 : dXSARGS;
36803 :
36804 0 : if ((items < 1) || (items > 1)) {
36805 0 : SWIG_croak("Usage: shapeObj_boundary(self);");
36806 : }
36807 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36808 0 : if (!SWIG_IsOK(res1)) {
36809 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_boundary" "', argument " "1"" of type '" "shapeObj *""'");
36810 : }
36811 0 : arg1 = (shapeObj *)(argp1);
36812 : result = (shapeObj *)shapeObj_boundary(arg1);
36813 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
36814 :
36815 0 : XSRETURN(argvi);
36816 : fail:
36817 :
36818 0 : SWIG_croak_null();
36819 : }
36820 : }
36821 :
36822 :
36823 0 : XS(_wrap_shapeObj_getCentroid) {
36824 : {
36825 : shapeObj *arg1 = (shapeObj *) 0 ;
36826 0 : void *argp1 = 0 ;
36827 : int res1 = 0 ;
36828 : int argvi = 0;
36829 : pointObj *result = 0 ;
36830 0 : dXSARGS;
36831 :
36832 0 : if ((items < 1) || (items > 1)) {
36833 0 : SWIG_croak("Usage: shapeObj_getCentroid(self);");
36834 : }
36835 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36836 0 : if (!SWIG_IsOK(res1)) {
36837 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getCentroid" "', argument " "1"" of type '" "shapeObj *""'");
36838 : }
36839 0 : arg1 = (shapeObj *)(argp1);
36840 : result = (pointObj *)shapeObj_getCentroid(arg1);
36841 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
36842 :
36843 0 : XSRETURN(argvi);
36844 : fail:
36845 :
36846 0 : SWIG_croak_null();
36847 : }
36848 : }
36849 :
36850 :
36851 0 : XS(_wrap_shapeObj_Union) {
36852 : {
36853 : shapeObj *arg1 = (shapeObj *) 0 ;
36854 : shapeObj *arg2 = (shapeObj *) 0 ;
36855 0 : void *argp1 = 0 ;
36856 : int res1 = 0 ;
36857 0 : void *argp2 = 0 ;
36858 : int res2 = 0 ;
36859 : int argvi = 0;
36860 : shapeObj *result = 0 ;
36861 0 : dXSARGS;
36862 :
36863 0 : if ((items < 2) || (items > 2)) {
36864 0 : SWIG_croak("Usage: shapeObj_Union(self,shape);");
36865 : }
36866 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36867 0 : if (!SWIG_IsOK(res1)) {
36868 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_Union" "', argument " "1"" of type '" "shapeObj *""'");
36869 : }
36870 0 : arg1 = (shapeObj *)(argp1);
36871 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
36872 0 : if (!SWIG_IsOK(res2)) {
36873 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_Union" "', argument " "2"" of type '" "shapeObj *""'");
36874 : }
36875 0 : arg2 = (shapeObj *)(argp2);
36876 : result = (shapeObj *)shapeObj_Union(arg1,arg2);
36877 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
36878 :
36879 :
36880 0 : XSRETURN(argvi);
36881 : fail:
36882 :
36883 :
36884 0 : SWIG_croak_null();
36885 : }
36886 : }
36887 :
36888 :
36889 0 : XS(_wrap_shapeObj_intersection) {
36890 : {
36891 : shapeObj *arg1 = (shapeObj *) 0 ;
36892 : shapeObj *arg2 = (shapeObj *) 0 ;
36893 0 : void *argp1 = 0 ;
36894 : int res1 = 0 ;
36895 0 : void *argp2 = 0 ;
36896 : int res2 = 0 ;
36897 : int argvi = 0;
36898 : shapeObj *result = 0 ;
36899 0 : dXSARGS;
36900 :
36901 0 : if ((items < 2) || (items > 2)) {
36902 0 : SWIG_croak("Usage: shapeObj_intersection(self,shape);");
36903 : }
36904 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36905 0 : if (!SWIG_IsOK(res1)) {
36906 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_intersection" "', argument " "1"" of type '" "shapeObj *""'");
36907 : }
36908 0 : arg1 = (shapeObj *)(argp1);
36909 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
36910 0 : if (!SWIG_IsOK(res2)) {
36911 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_intersection" "', argument " "2"" of type '" "shapeObj *""'");
36912 : }
36913 0 : arg2 = (shapeObj *)(argp2);
36914 : result = (shapeObj *)shapeObj_intersection(arg1,arg2);
36915 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
36916 :
36917 :
36918 0 : XSRETURN(argvi);
36919 : fail:
36920 :
36921 :
36922 0 : SWIG_croak_null();
36923 : }
36924 : }
36925 :
36926 :
36927 0 : XS(_wrap_shapeObj_difference) {
36928 : {
36929 : shapeObj *arg1 = (shapeObj *) 0 ;
36930 : shapeObj *arg2 = (shapeObj *) 0 ;
36931 0 : void *argp1 = 0 ;
36932 : int res1 = 0 ;
36933 0 : void *argp2 = 0 ;
36934 : int res2 = 0 ;
36935 : int argvi = 0;
36936 : shapeObj *result = 0 ;
36937 0 : dXSARGS;
36938 :
36939 0 : if ((items < 2) || (items > 2)) {
36940 0 : SWIG_croak("Usage: shapeObj_difference(self,shape);");
36941 : }
36942 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36943 0 : if (!SWIG_IsOK(res1)) {
36944 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_difference" "', argument " "1"" of type '" "shapeObj *""'");
36945 : }
36946 0 : arg1 = (shapeObj *)(argp1);
36947 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
36948 0 : if (!SWIG_IsOK(res2)) {
36949 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_difference" "', argument " "2"" of type '" "shapeObj *""'");
36950 : }
36951 0 : arg2 = (shapeObj *)(argp2);
36952 : result = (shapeObj *)shapeObj_difference(arg1,arg2);
36953 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
36954 :
36955 :
36956 0 : XSRETURN(argvi);
36957 : fail:
36958 :
36959 :
36960 0 : SWIG_croak_null();
36961 : }
36962 : }
36963 :
36964 :
36965 0 : XS(_wrap_shapeObj_symDifference) {
36966 : {
36967 : shapeObj *arg1 = (shapeObj *) 0 ;
36968 : shapeObj *arg2 = (shapeObj *) 0 ;
36969 0 : void *argp1 = 0 ;
36970 : int res1 = 0 ;
36971 0 : void *argp2 = 0 ;
36972 : int res2 = 0 ;
36973 : int argvi = 0;
36974 : shapeObj *result = 0 ;
36975 0 : dXSARGS;
36976 :
36977 0 : if ((items < 2) || (items > 2)) {
36978 0 : SWIG_croak("Usage: shapeObj_symDifference(self,shape);");
36979 : }
36980 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
36981 0 : if (!SWIG_IsOK(res1)) {
36982 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_symDifference" "', argument " "1"" of type '" "shapeObj *""'");
36983 : }
36984 0 : arg1 = (shapeObj *)(argp1);
36985 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
36986 0 : if (!SWIG_IsOK(res2)) {
36987 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_symDifference" "', argument " "2"" of type '" "shapeObj *""'");
36988 : }
36989 0 : arg2 = (shapeObj *)(argp2);
36990 : result = (shapeObj *)shapeObj_symDifference(arg1,arg2);
36991 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
36992 :
36993 :
36994 0 : XSRETURN(argvi);
36995 : fail:
36996 :
36997 :
36998 0 : SWIG_croak_null();
36999 : }
37000 : }
37001 :
37002 :
37003 0 : XS(_wrap_shapeObj_contains__SWIG_0) {
37004 : {
37005 : shapeObj *arg1 = (shapeObj *) 0 ;
37006 : shapeObj *arg2 = (shapeObj *) 0 ;
37007 0 : void *argp1 = 0 ;
37008 : int res1 = 0 ;
37009 0 : void *argp2 = 0 ;
37010 : int res2 = 0 ;
37011 : int argvi = 0;
37012 : int result;
37013 0 : dXSARGS;
37014 :
37015 0 : if ((items < 2) || (items > 2)) {
37016 0 : SWIG_croak("Usage: shapeObj_contains(self,shape);");
37017 : }
37018 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37019 0 : if (!SWIG_IsOK(res1)) {
37020 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_contains" "', argument " "1"" of type '" "shapeObj *""'");
37021 : }
37022 0 : arg1 = (shapeObj *)(argp1);
37023 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37024 0 : if (!SWIG_IsOK(res2)) {
37025 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_contains" "', argument " "2"" of type '" "shapeObj *""'");
37026 : }
37027 0 : arg2 = (shapeObj *)(argp2);
37028 : result = (int)shapeObj_contains__SWIG_0(arg1,arg2);
37029 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37030 :
37031 :
37032 0 : XSRETURN(argvi);
37033 : fail:
37034 :
37035 :
37036 0 : SWIG_croak_null();
37037 : }
37038 : }
37039 :
37040 :
37041 0 : XS(_wrap_shapeObj_overlaps) {
37042 : {
37043 : shapeObj *arg1 = (shapeObj *) 0 ;
37044 : shapeObj *arg2 = (shapeObj *) 0 ;
37045 0 : void *argp1 = 0 ;
37046 : int res1 = 0 ;
37047 0 : void *argp2 = 0 ;
37048 : int res2 = 0 ;
37049 : int argvi = 0;
37050 : int result;
37051 0 : dXSARGS;
37052 :
37053 0 : if ((items < 2) || (items > 2)) {
37054 0 : SWIG_croak("Usage: shapeObj_overlaps(self,shape);");
37055 : }
37056 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37057 0 : if (!SWIG_IsOK(res1)) {
37058 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_overlaps" "', argument " "1"" of type '" "shapeObj *""'");
37059 : }
37060 0 : arg1 = (shapeObj *)(argp1);
37061 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37062 0 : if (!SWIG_IsOK(res2)) {
37063 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_overlaps" "', argument " "2"" of type '" "shapeObj *""'");
37064 : }
37065 0 : arg2 = (shapeObj *)(argp2);
37066 : result = (int)shapeObj_overlaps(arg1,arg2);
37067 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37068 :
37069 :
37070 0 : XSRETURN(argvi);
37071 : fail:
37072 :
37073 :
37074 0 : SWIG_croak_null();
37075 : }
37076 : }
37077 :
37078 :
37079 1 : XS(_wrap_shapeObj_within) {
37080 : {
37081 : shapeObj *arg1 = (shapeObj *) 0 ;
37082 : shapeObj *arg2 = (shapeObj *) 0 ;
37083 1 : void *argp1 = 0 ;
37084 : int res1 = 0 ;
37085 1 : void *argp2 = 0 ;
37086 : int res2 = 0 ;
37087 : int argvi = 0;
37088 : int result;
37089 1 : dXSARGS;
37090 :
37091 1 : if ((items < 2) || (items > 2)) {
37092 0 : SWIG_croak("Usage: shapeObj_within(self,shape);");
37093 : }
37094 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37095 1 : if (!SWIG_IsOK(res1)) {
37096 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_within" "', argument " "1"" of type '" "shapeObj *""'");
37097 : }
37098 1 : arg1 = (shapeObj *)(argp1);
37099 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37100 1 : if (!SWIG_IsOK(res2)) {
37101 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_within" "', argument " "2"" of type '" "shapeObj *""'");
37102 : }
37103 1 : arg2 = (shapeObj *)(argp2);
37104 : result = (int)shapeObj_within(arg1,arg2);
37105 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37106 :
37107 :
37108 1 : XSRETURN(argvi);
37109 : fail:
37110 :
37111 :
37112 0 : SWIG_croak_null();
37113 : }
37114 : }
37115 :
37116 :
37117 0 : XS(_wrap_shapeObj_crosses) {
37118 : {
37119 : shapeObj *arg1 = (shapeObj *) 0 ;
37120 : shapeObj *arg2 = (shapeObj *) 0 ;
37121 0 : void *argp1 = 0 ;
37122 : int res1 = 0 ;
37123 0 : void *argp2 = 0 ;
37124 : int res2 = 0 ;
37125 : int argvi = 0;
37126 : int result;
37127 0 : dXSARGS;
37128 :
37129 0 : if ((items < 2) || (items > 2)) {
37130 0 : SWIG_croak("Usage: shapeObj_crosses(self,shape);");
37131 : }
37132 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37133 0 : if (!SWIG_IsOK(res1)) {
37134 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_crosses" "', argument " "1"" of type '" "shapeObj *""'");
37135 : }
37136 0 : arg1 = (shapeObj *)(argp1);
37137 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37138 0 : if (!SWIG_IsOK(res2)) {
37139 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_crosses" "', argument " "2"" of type '" "shapeObj *""'");
37140 : }
37141 0 : arg2 = (shapeObj *)(argp2);
37142 : result = (int)shapeObj_crosses(arg1,arg2);
37143 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37144 :
37145 :
37146 0 : XSRETURN(argvi);
37147 : fail:
37148 :
37149 :
37150 0 : SWIG_croak_null();
37151 : }
37152 : }
37153 :
37154 :
37155 0 : XS(_wrap_shapeObj_intersects) {
37156 : {
37157 : shapeObj *arg1 = (shapeObj *) 0 ;
37158 : shapeObj *arg2 = (shapeObj *) 0 ;
37159 0 : void *argp1 = 0 ;
37160 : int res1 = 0 ;
37161 0 : void *argp2 = 0 ;
37162 : int res2 = 0 ;
37163 : int argvi = 0;
37164 : int result;
37165 0 : dXSARGS;
37166 :
37167 0 : if ((items < 2) || (items > 2)) {
37168 0 : SWIG_croak("Usage: shapeObj_intersects(self,shape);");
37169 : }
37170 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37171 0 : if (!SWIG_IsOK(res1)) {
37172 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_intersects" "', argument " "1"" of type '" "shapeObj *""'");
37173 : }
37174 0 : arg1 = (shapeObj *)(argp1);
37175 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37176 0 : if (!SWIG_IsOK(res2)) {
37177 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_intersects" "', argument " "2"" of type '" "shapeObj *""'");
37178 : }
37179 0 : arg2 = (shapeObj *)(argp2);
37180 : result = (int)shapeObj_intersects(arg1,arg2);
37181 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37182 :
37183 :
37184 0 : XSRETURN(argvi);
37185 : fail:
37186 :
37187 :
37188 0 : SWIG_croak_null();
37189 : }
37190 : }
37191 :
37192 :
37193 0 : XS(_wrap_shapeObj_touches) {
37194 : {
37195 : shapeObj *arg1 = (shapeObj *) 0 ;
37196 : shapeObj *arg2 = (shapeObj *) 0 ;
37197 0 : void *argp1 = 0 ;
37198 : int res1 = 0 ;
37199 0 : void *argp2 = 0 ;
37200 : int res2 = 0 ;
37201 : int argvi = 0;
37202 : int result;
37203 0 : dXSARGS;
37204 :
37205 0 : if ((items < 2) || (items > 2)) {
37206 0 : SWIG_croak("Usage: shapeObj_touches(self,shape);");
37207 : }
37208 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37209 0 : if (!SWIG_IsOK(res1)) {
37210 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_touches" "', argument " "1"" of type '" "shapeObj *""'");
37211 : }
37212 0 : arg1 = (shapeObj *)(argp1);
37213 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37214 0 : if (!SWIG_IsOK(res2)) {
37215 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_touches" "', argument " "2"" of type '" "shapeObj *""'");
37216 : }
37217 0 : arg2 = (shapeObj *)(argp2);
37218 : result = (int)shapeObj_touches(arg1,arg2);
37219 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37220 :
37221 :
37222 0 : XSRETURN(argvi);
37223 : fail:
37224 :
37225 :
37226 0 : SWIG_croak_null();
37227 : }
37228 : }
37229 :
37230 :
37231 0 : XS(_wrap_shapeObj_equals) {
37232 : {
37233 : shapeObj *arg1 = (shapeObj *) 0 ;
37234 : shapeObj *arg2 = (shapeObj *) 0 ;
37235 0 : void *argp1 = 0 ;
37236 : int res1 = 0 ;
37237 0 : void *argp2 = 0 ;
37238 : int res2 = 0 ;
37239 : int argvi = 0;
37240 : int result;
37241 0 : dXSARGS;
37242 :
37243 0 : if ((items < 2) || (items > 2)) {
37244 0 : SWIG_croak("Usage: shapeObj_equals(self,shape);");
37245 : }
37246 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37247 0 : if (!SWIG_IsOK(res1)) {
37248 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_equals" "', argument " "1"" of type '" "shapeObj *""'");
37249 : }
37250 0 : arg1 = (shapeObj *)(argp1);
37251 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37252 0 : if (!SWIG_IsOK(res2)) {
37253 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_equals" "', argument " "2"" of type '" "shapeObj *""'");
37254 : }
37255 0 : arg2 = (shapeObj *)(argp2);
37256 : result = (int)shapeObj_equals(arg1,arg2);
37257 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37258 :
37259 :
37260 0 : XSRETURN(argvi);
37261 : fail:
37262 :
37263 :
37264 0 : SWIG_croak_null();
37265 : }
37266 : }
37267 :
37268 :
37269 0 : XS(_wrap_shapeObj_disjoint) {
37270 : {
37271 : shapeObj *arg1 = (shapeObj *) 0 ;
37272 : shapeObj *arg2 = (shapeObj *) 0 ;
37273 0 : void *argp1 = 0 ;
37274 : int res1 = 0 ;
37275 0 : void *argp2 = 0 ;
37276 : int res2 = 0 ;
37277 : int argvi = 0;
37278 : int result;
37279 0 : dXSARGS;
37280 :
37281 0 : if ((items < 2) || (items > 2)) {
37282 0 : SWIG_croak("Usage: shapeObj_disjoint(self,shape);");
37283 : }
37284 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37285 0 : if (!SWIG_IsOK(res1)) {
37286 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_disjoint" "', argument " "1"" of type '" "shapeObj *""'");
37287 : }
37288 0 : arg1 = (shapeObj *)(argp1);
37289 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37290 0 : if (!SWIG_IsOK(res2)) {
37291 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_disjoint" "', argument " "2"" of type '" "shapeObj *""'");
37292 : }
37293 0 : arg2 = (shapeObj *)(argp2);
37294 : result = (int)shapeObj_disjoint(arg1,arg2);
37295 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37296 :
37297 :
37298 0 : XSRETURN(argvi);
37299 : fail:
37300 :
37301 :
37302 0 : SWIG_croak_null();
37303 : }
37304 : }
37305 :
37306 :
37307 0 : XS(_wrap_shapeObj_getArea) {
37308 : {
37309 : shapeObj *arg1 = (shapeObj *) 0 ;
37310 0 : void *argp1 = 0 ;
37311 : int res1 = 0 ;
37312 : int argvi = 0;
37313 : double result;
37314 0 : dXSARGS;
37315 :
37316 0 : if ((items < 1) || (items > 1)) {
37317 0 : SWIG_croak("Usage: shapeObj_getArea(self);");
37318 : }
37319 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37320 0 : if (!SWIG_IsOK(res1)) {
37321 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getArea" "', argument " "1"" of type '" "shapeObj *""'");
37322 : }
37323 0 : arg1 = (shapeObj *)(argp1);
37324 : result = (double)shapeObj_getArea(arg1);
37325 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
37326 :
37327 0 : XSRETURN(argvi);
37328 : fail:
37329 :
37330 0 : SWIG_croak_null();
37331 : }
37332 : }
37333 :
37334 :
37335 0 : XS(_wrap_shapeObj_getLength) {
37336 : {
37337 : shapeObj *arg1 = (shapeObj *) 0 ;
37338 0 : void *argp1 = 0 ;
37339 : int res1 = 0 ;
37340 : int argvi = 0;
37341 : double result;
37342 0 : dXSARGS;
37343 :
37344 0 : if ((items < 1) || (items > 1)) {
37345 0 : SWIG_croak("Usage: shapeObj_getLength(self);");
37346 : }
37347 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37348 0 : if (!SWIG_IsOK(res1)) {
37349 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getLength" "', argument " "1"" of type '" "shapeObj *""'");
37350 : }
37351 0 : arg1 = (shapeObj *)(argp1);
37352 : result = (double)shapeObj_getLength(arg1);
37353 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
37354 :
37355 0 : XSRETURN(argvi);
37356 : fail:
37357 :
37358 0 : SWIG_croak_null();
37359 : }
37360 : }
37361 :
37362 :
37363 0 : XS(_wrap_shapeObj_getValue) {
37364 : {
37365 : shapeObj *arg1 = (shapeObj *) 0 ;
37366 : int arg2 ;
37367 0 : void *argp1 = 0 ;
37368 : int res1 = 0 ;
37369 : int val2 ;
37370 : int ecode2 = 0 ;
37371 : int argvi = 0;
37372 : char *result = 0 ;
37373 0 : dXSARGS;
37374 :
37375 0 : if ((items < 2) || (items > 2)) {
37376 0 : SWIG_croak("Usage: shapeObj_getValue(self,i);");
37377 : }
37378 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37379 0 : if (!SWIG_IsOK(res1)) {
37380 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getValue" "', argument " "1"" of type '" "shapeObj *""'");
37381 : }
37382 0 : arg1 = (shapeObj *)(argp1);
37383 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
37384 0 : if (!SWIG_IsOK(ecode2)) {
37385 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_getValue" "', argument " "2"" of type '" "int""'");
37386 : }
37387 0 : arg2 = (int)(val2);
37388 : result = (char *)shapeObj_getValue(arg1,arg2);
37389 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
37390 :
37391 :
37392 0 : XSRETURN(argvi);
37393 : fail:
37394 :
37395 :
37396 0 : SWIG_croak_null();
37397 : }
37398 : }
37399 :
37400 :
37401 0 : XS(_wrap_shapeObj_contains__SWIG_1) {
37402 : {
37403 : shapeObj *arg1 = (shapeObj *) 0 ;
37404 : pointObj *arg2 = (pointObj *) 0 ;
37405 0 : void *argp1 = 0 ;
37406 : int res1 = 0 ;
37407 0 : void *argp2 = 0 ;
37408 : int res2 = 0 ;
37409 : int argvi = 0;
37410 : int result;
37411 0 : dXSARGS;
37412 :
37413 0 : if ((items < 2) || (items > 2)) {
37414 0 : SWIG_croak("Usage: shapeObj_contains(self,point);");
37415 : }
37416 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37417 0 : if (!SWIG_IsOK(res1)) {
37418 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_contains" "', argument " "1"" of type '" "shapeObj *""'");
37419 : }
37420 0 : arg1 = (shapeObj *)(argp1);
37421 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
37422 0 : if (!SWIG_IsOK(res2)) {
37423 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_contains" "', argument " "2"" of type '" "pointObj *""'");
37424 : }
37425 0 : arg2 = (pointObj *)(argp2);
37426 : result = (int)shapeObj_contains__SWIG_1(arg1,arg2);
37427 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37428 :
37429 :
37430 0 : XSRETURN(argvi);
37431 : fail:
37432 :
37433 :
37434 0 : SWIG_croak_null();
37435 : }
37436 : }
37437 :
37438 :
37439 0 : XS(_wrap_shapeObj_contains) {
37440 0 : dXSARGS;
37441 :
37442 : {
37443 : unsigned long _index = 0;
37444 : SWIG_TypeRank _rank = 0;
37445 0 : if (items == 2) {
37446 : SWIG_TypeRank _ranki = 0;
37447 : SWIG_TypeRank _rankm = 0;
37448 : SWIG_TypeRank _pi = 1;
37449 : int _v = 0;
37450 : {
37451 0 : void *vptr = 0;
37452 0 : int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_shapeObj, 0);
37453 : _v = SWIG_CheckState(res);
37454 : }
37455 0 : if (!_v) goto check_1;
37456 0 : _ranki += _v*_pi;
37457 : _rankm += _pi;
37458 : _pi *= SWIG_MAXCASTRANK;
37459 : {
37460 0 : void *vptr = 0;
37461 0 : int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_shapeObj, 0);
37462 : _v = SWIG_CheckState(res);
37463 : }
37464 0 : if (!_v) goto check_1;
37465 0 : _ranki += _v*_pi;
37466 : _rankm += _pi;
37467 : _pi *= SWIG_MAXCASTRANK;
37468 : if (!_index || (_ranki < _rank)) {
37469 : _rank = _ranki; _index = 1;
37470 0 : if (_rank == _rankm) goto dispatch;
37471 : }
37472 : }
37473 : check_1:
37474 :
37475 0 : if (items == 2) {
37476 : SWIG_TypeRank _ranki = 0;
37477 : SWIG_TypeRank _rankm = 0;
37478 : SWIG_TypeRank _pi = 1;
37479 : int _v = 0;
37480 : {
37481 0 : void *vptr = 0;
37482 0 : int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_shapeObj, 0);
37483 : _v = SWIG_CheckState(res);
37484 : }
37485 0 : if (!_v) goto check_2;
37486 0 : _ranki += _v*_pi;
37487 : _rankm += _pi;
37488 : _pi *= SWIG_MAXCASTRANK;
37489 : {
37490 0 : void *vptr = 0;
37491 0 : int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_pointObj, 0);
37492 : _v = SWIG_CheckState(res);
37493 : }
37494 0 : if (!_v) goto check_2;
37495 0 : _ranki += _v*_pi;
37496 : _rankm += _pi;
37497 : _pi *= SWIG_MAXCASTRANK;
37498 0 : if (!_index || (_ranki < _rank)) {
37499 : _rank = _ranki; _index = 2;
37500 : if (_rank == _rankm) goto dispatch;
37501 : }
37502 : }
37503 : check_2:
37504 :
37505 : dispatch:
37506 0 : switch(_index) {
37507 : case 1:
37508 0 : PUSHMARK(MARK); SWIG_CALLXS(_wrap_shapeObj_contains__SWIG_0); return;
37509 : case 2:
37510 0 : PUSHMARK(MARK); SWIG_CALLXS(_wrap_shapeObj_contains__SWIG_1); return;
37511 : }
37512 : }
37513 :
37514 0 : croak("No matching function for overloaded 'shapeObj_contains'");
37515 : XSRETURN(0);
37516 : }
37517 :
37518 :
37519 0 : XS(_wrap_shapeObj_distanceToPoint) {
37520 : {
37521 : shapeObj *arg1 = (shapeObj *) 0 ;
37522 : pointObj *arg2 = (pointObj *) 0 ;
37523 0 : void *argp1 = 0 ;
37524 : int res1 = 0 ;
37525 0 : void *argp2 = 0 ;
37526 : int res2 = 0 ;
37527 : int argvi = 0;
37528 : double result;
37529 0 : dXSARGS;
37530 :
37531 0 : if ((items < 2) || (items > 2)) {
37532 0 : SWIG_croak("Usage: shapeObj_distanceToPoint(self,point);");
37533 : }
37534 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37535 0 : if (!SWIG_IsOK(res1)) {
37536 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_distanceToPoint" "', argument " "1"" of type '" "shapeObj *""'");
37537 : }
37538 0 : arg1 = (shapeObj *)(argp1);
37539 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
37540 0 : if (!SWIG_IsOK(res2)) {
37541 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_distanceToPoint" "', argument " "2"" of type '" "pointObj *""'");
37542 : }
37543 0 : arg2 = (pointObj *)(argp2);
37544 : result = (double)shapeObj_distanceToPoint(arg1,arg2);
37545 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
37546 :
37547 :
37548 0 : XSRETURN(argvi);
37549 : fail:
37550 :
37551 :
37552 0 : SWIG_croak_null();
37553 : }
37554 : }
37555 :
37556 :
37557 0 : XS(_wrap_shapeObj_distanceToShape) {
37558 : {
37559 : shapeObj *arg1 = (shapeObj *) 0 ;
37560 : shapeObj *arg2 = (shapeObj *) 0 ;
37561 0 : void *argp1 = 0 ;
37562 : int res1 = 0 ;
37563 0 : void *argp2 = 0 ;
37564 : int res2 = 0 ;
37565 : int argvi = 0;
37566 : double result;
37567 0 : dXSARGS;
37568 :
37569 0 : if ((items < 2) || (items > 2)) {
37570 0 : SWIG_croak("Usage: shapeObj_distanceToShape(self,shape);");
37571 : }
37572 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37573 0 : if (!SWIG_IsOK(res1)) {
37574 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_distanceToShape" "', argument " "1"" of type '" "shapeObj *""'");
37575 : }
37576 0 : arg1 = (shapeObj *)(argp1);
37577 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
37578 0 : if (!SWIG_IsOK(res2)) {
37579 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_distanceToShape" "', argument " "2"" of type '" "shapeObj *""'");
37580 : }
37581 0 : arg2 = (shapeObj *)(argp2);
37582 : result = (double)shapeObj_distanceToShape(arg1,arg2);
37583 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
37584 :
37585 :
37586 0 : XSRETURN(argvi);
37587 : fail:
37588 :
37589 :
37590 0 : SWIG_croak_null();
37591 : }
37592 : }
37593 :
37594 :
37595 0 : XS(_wrap_shapeObj_getLabelPoint) {
37596 : {
37597 : shapeObj *arg1 = (shapeObj *) 0 ;
37598 0 : void *argp1 = 0 ;
37599 : int res1 = 0 ;
37600 : int argvi = 0;
37601 : pointObj *result = 0 ;
37602 0 : dXSARGS;
37603 :
37604 0 : if ((items < 1) || (items > 1)) {
37605 0 : SWIG_croak("Usage: shapeObj_getLabelPoint(self);");
37606 : }
37607 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37608 0 : if (!SWIG_IsOK(res1)) {
37609 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getLabelPoint" "', argument " "1"" of type '" "shapeObj *""'");
37610 : }
37611 0 : arg1 = (shapeObj *)(argp1);
37612 0 : result = (pointObj *)shapeObj_getLabelPoint(arg1);
37613 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
37614 :
37615 0 : XSRETURN(argvi);
37616 : fail:
37617 :
37618 0 : SWIG_croak_null();
37619 : }
37620 : }
37621 :
37622 :
37623 0 : XS(_wrap_shapeObj_setValue) {
37624 : {
37625 0 : shapeObj *arg1 = (shapeObj *) 0 ;
37626 : int arg2 ;
37627 : char *arg3 = (char *) 0 ;
37628 0 : void *argp1 = 0 ;
37629 : int res1 = 0 ;
37630 : int val2 ;
37631 : int ecode2 = 0 ;
37632 : int res3 ;
37633 0 : char *buf3 = 0 ;
37634 0 : int alloc3 = 0 ;
37635 : int argvi = 0;
37636 : int result;
37637 0 : dXSARGS;
37638 :
37639 0 : if ((items < 3) || (items > 3)) {
37640 0 : SWIG_croak("Usage: shapeObj_setValue(self,i,value);");
37641 : }
37642 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37643 0 : if (!SWIG_IsOK(res1)) {
37644 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_setValue" "', argument " "1"" of type '" "shapeObj *""'");
37645 : }
37646 0 : arg1 = (shapeObj *)(argp1);
37647 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
37648 0 : if (!SWIG_IsOK(ecode2)) {
37649 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_setValue" "', argument " "2"" of type '" "int""'");
37650 : }
37651 0 : arg2 = (int)(val2);
37652 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
37653 0 : if (!SWIG_IsOK(res3)) {
37654 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapeObj_setValue" "', argument " "3"" of type '" "char *""'");
37655 : }
37656 0 : arg3 = (char *)(buf3);
37657 0 : result = (int)shapeObj_setValue(arg1,arg2,arg3);
37658 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37659 :
37660 :
37661 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
37662 0 : XSRETURN(argvi);
37663 : fail:
37664 :
37665 :
37666 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
37667 0 : SWIG_croak_null();
37668 : }
37669 : }
37670 :
37671 :
37672 0 : XS(_wrap_shapeObj_initValues) {
37673 : {
37674 : shapeObj *arg1 = (shapeObj *) 0 ;
37675 : int arg2 ;
37676 0 : void *argp1 = 0 ;
37677 : int res1 = 0 ;
37678 : int val2 ;
37679 : int ecode2 = 0 ;
37680 : int argvi = 0;
37681 0 : dXSARGS;
37682 :
37683 0 : if ((items < 2) || (items > 2)) {
37684 0 : SWIG_croak("Usage: shapeObj_initValues(self,numvalues);");
37685 : }
37686 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 | 0 );
37687 0 : if (!SWIG_IsOK(res1)) {
37688 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_initValues" "', argument " "1"" of type '" "shapeObj *""'");
37689 : }
37690 0 : arg1 = (shapeObj *)(argp1);
37691 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
37692 0 : if (!SWIG_IsOK(ecode2)) {
37693 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_initValues" "', argument " "2"" of type '" "int""'");
37694 : }
37695 0 : arg2 = (int)(val2);
37696 0 : shapeObj_initValues(arg1,arg2);
37697 0 : ST(argvi) = sv_newmortal();
37698 :
37699 :
37700 0 : XSRETURN(argvi);
37701 : fail:
37702 :
37703 :
37704 0 : SWIG_croak_null();
37705 : }
37706 : }
37707 :
37708 :
37709 0 : XS(_wrap_DBFInfo_fp_get) {
37710 : {
37711 : DBFInfo *arg1 = (DBFInfo *) 0 ;
37712 0 : void *argp1 = 0 ;
37713 : int res1 = 0 ;
37714 : int argvi = 0;
37715 : FILE *result = 0 ;
37716 0 : dXSARGS;
37717 :
37718 0 : if ((items < 1) || (items > 1)) {
37719 0 : SWIG_croak("Usage: DBFInfo_fp_get(self);");
37720 : }
37721 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
37722 0 : if (!SWIG_IsOK(res1)) {
37723 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_fp_get" "', argument " "1"" of type '" "DBFInfo *""'");
37724 : }
37725 0 : arg1 = (DBFInfo *)(argp1);
37726 0 : result = (FILE *) ((arg1)->fp);
37727 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0); argvi++ ;
37728 :
37729 0 : XSRETURN(argvi);
37730 : fail:
37731 :
37732 0 : SWIG_croak_null();
37733 : }
37734 : }
37735 :
37736 :
37737 0 : XS(_wrap_DBFInfo_nRecords_get) {
37738 : {
37739 : DBFInfo *arg1 = (DBFInfo *) 0 ;
37740 0 : void *argp1 = 0 ;
37741 : int res1 = 0 ;
37742 : int argvi = 0;
37743 : int result;
37744 0 : dXSARGS;
37745 :
37746 0 : if ((items < 1) || (items > 1)) {
37747 0 : SWIG_croak("Usage: DBFInfo_nRecords_get(self);");
37748 : }
37749 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
37750 0 : if (!SWIG_IsOK(res1)) {
37751 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nRecords_get" "', argument " "1"" of type '" "DBFInfo *""'");
37752 : }
37753 0 : arg1 = (DBFInfo *)(argp1);
37754 0 : result = (int) ((arg1)->nRecords);
37755 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37756 :
37757 0 : XSRETURN(argvi);
37758 : fail:
37759 :
37760 0 : SWIG_croak_null();
37761 : }
37762 : }
37763 :
37764 :
37765 0 : XS(_wrap_DBFInfo_nRecordLength_get) {
37766 : {
37767 : DBFInfo *arg1 = (DBFInfo *) 0 ;
37768 0 : void *argp1 = 0 ;
37769 : int res1 = 0 ;
37770 : int argvi = 0;
37771 : unsigned int result;
37772 0 : dXSARGS;
37773 :
37774 0 : if ((items < 1) || (items > 1)) {
37775 0 : SWIG_croak("Usage: DBFInfo_nRecordLength_get(self);");
37776 : }
37777 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
37778 0 : if (!SWIG_IsOK(res1)) {
37779 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nRecordLength_get" "', argument " "1"" of type '" "DBFInfo *""'");
37780 : }
37781 0 : arg1 = (DBFInfo *)(argp1);
37782 0 : result = (unsigned int) ((arg1)->nRecordLength);
37783 0 : ST(argvi) = SWIG_From_unsigned_SS_int SWIG_PERL_CALL_ARGS_1((unsigned int)(result)); argvi++ ;
37784 :
37785 0 : XSRETURN(argvi);
37786 : fail:
37787 :
37788 0 : SWIG_croak_null();
37789 : }
37790 : }
37791 :
37792 :
37793 0 : XS(_wrap_DBFInfo_nHeaderLength_get) {
37794 : {
37795 : DBFInfo *arg1 = (DBFInfo *) 0 ;
37796 0 : void *argp1 = 0 ;
37797 : int res1 = 0 ;
37798 : int argvi = 0;
37799 : int result;
37800 0 : dXSARGS;
37801 :
37802 0 : if ((items < 1) || (items > 1)) {
37803 0 : SWIG_croak("Usage: DBFInfo_nHeaderLength_get(self);");
37804 : }
37805 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
37806 0 : if (!SWIG_IsOK(res1)) {
37807 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nHeaderLength_get" "', argument " "1"" of type '" "DBFInfo *""'");
37808 : }
37809 0 : arg1 = (DBFInfo *)(argp1);
37810 0 : result = (int) ((arg1)->nHeaderLength);
37811 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37812 :
37813 0 : XSRETURN(argvi);
37814 : fail:
37815 :
37816 0 : SWIG_croak_null();
37817 : }
37818 : }
37819 :
37820 :
37821 0 : XS(_wrap_DBFInfo_nFields_get) {
37822 : {
37823 : DBFInfo *arg1 = (DBFInfo *) 0 ;
37824 0 : void *argp1 = 0 ;
37825 : int res1 = 0 ;
37826 : int argvi = 0;
37827 : int result;
37828 0 : dXSARGS;
37829 :
37830 0 : if ((items < 1) || (items > 1)) {
37831 0 : SWIG_croak("Usage: DBFInfo_nFields_get(self);");
37832 : }
37833 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
37834 0 : if (!SWIG_IsOK(res1)) {
37835 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nFields_get" "', argument " "1"" of type '" "DBFInfo *""'");
37836 : }
37837 0 : arg1 = (DBFInfo *)(argp1);
37838 0 : result = (int) ((arg1)->nFields);
37839 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
37840 :
37841 0 : XSRETURN(argvi);
37842 : fail:
37843 :
37844 0 : SWIG_croak_null();
37845 : }
37846 : }
37847 :
37848 :
37849 0 : XS(_wrap_DBFInfo_panFieldOffset_get) {
37850 : {
37851 : DBFInfo *arg1 = (DBFInfo *) 0 ;
37852 0 : void *argp1 = 0 ;
37853 : int res1 = 0 ;
37854 : int argvi = 0;
37855 : int *result = 0 ;
37856 0 : dXSARGS;
37857 :
37858 0 : if ((items < 1) || (items > 1)) {
37859 0 : SWIG_croak("Usage: DBFInfo_panFieldOffset_get(self);");
37860 : }
37861 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
37862 0 : if (!SWIG_IsOK(res1)) {
37863 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_panFieldOffset_get" "', argument " "1"" of type '" "DBFInfo *""'");
37864 : }
37865 0 : arg1 = (DBFInfo *)(argp1);
37866 0 : result = (int *) ((arg1)->panFieldOffset);
37867 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
37868 :
37869 0 : XSRETURN(argvi);
37870 : fail:
37871 :
37872 0 : SWIG_croak_null();
37873 : }
37874 : }
37875 :
37876 :
37877 0 : XS(_wrap_DBFInfo_panFieldSize_get) {
37878 : {
37879 : DBFInfo *arg1 = (DBFInfo *) 0 ;
37880 0 : void *argp1 = 0 ;
37881 : int res1 = 0 ;
37882 : int argvi = 0;
37883 : int *result = 0 ;
37884 0 : dXSARGS;
37885 :
37886 0 : if ((items < 1) || (items > 1)) {
37887 0 : SWIG_croak("Usage: DBFInfo_panFieldSize_get(self);");
37888 : }
37889 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
37890 0 : if (!SWIG_IsOK(res1)) {
37891 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_panFieldSize_get" "', argument " "1"" of type '" "DBFInfo *""'");
37892 : }
37893 0 : arg1 = (DBFInfo *)(argp1);
37894 0 : result = (int *) ((arg1)->panFieldSize);
37895 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
37896 :
37897 0 : XSRETURN(argvi);
37898 : fail:
37899 :
37900 0 : SWIG_croak_null();
37901 : }
37902 : }
37903 :
37904 :
37905 0 : XS(_wrap_DBFInfo_panFieldDecimals_get) {
37906 : {
37907 : DBFInfo *arg1 = (DBFInfo *) 0 ;
37908 0 : void *argp1 = 0 ;
37909 : int res1 = 0 ;
37910 : int argvi = 0;
37911 : int *result = 0 ;
37912 0 : dXSARGS;
37913 :
37914 0 : if ((items < 1) || (items > 1)) {
37915 0 : SWIG_croak("Usage: DBFInfo_panFieldDecimals_get(self);");
37916 : }
37917 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
37918 0 : if (!SWIG_IsOK(res1)) {
37919 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_panFieldDecimals_get" "', argument " "1"" of type '" "DBFInfo *""'");
37920 : }
37921 0 : arg1 = (DBFInfo *)(argp1);
37922 0 : result = (int *) ((arg1)->panFieldDecimals);
37923 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
37924 :
37925 0 : XSRETURN(argvi);
37926 : fail:
37927 :
37928 0 : SWIG_croak_null();
37929 : }
37930 : }
37931 :
37932 :
37933 0 : XS(_wrap_DBFInfo_pachFieldType_get) {
37934 : {
37935 : DBFInfo *arg1 = (DBFInfo *) 0 ;
37936 0 : void *argp1 = 0 ;
37937 : int res1 = 0 ;
37938 : int argvi = 0;
37939 : char *result = 0 ;
37940 0 : dXSARGS;
37941 :
37942 0 : if ((items < 1) || (items > 1)) {
37943 0 : SWIG_croak("Usage: DBFInfo_pachFieldType_get(self);");
37944 : }
37945 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
37946 0 : if (!SWIG_IsOK(res1)) {
37947 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_pachFieldType_get" "', argument " "1"" of type '" "DBFInfo *""'");
37948 : }
37949 0 : arg1 = (DBFInfo *)(argp1);
37950 0 : result = (char *) ((arg1)->pachFieldType);
37951 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
37952 :
37953 0 : XSRETURN(argvi);
37954 : fail:
37955 :
37956 0 : SWIG_croak_null();
37957 : }
37958 : }
37959 :
37960 :
37961 0 : XS(_wrap_DBFInfo_pszHeader_get) {
37962 : {
37963 : DBFInfo *arg1 = (DBFInfo *) 0 ;
37964 0 : void *argp1 = 0 ;
37965 : int res1 = 0 ;
37966 : int argvi = 0;
37967 : char *result = 0 ;
37968 0 : dXSARGS;
37969 :
37970 0 : if ((items < 1) || (items > 1)) {
37971 0 : SWIG_croak("Usage: DBFInfo_pszHeader_get(self);");
37972 : }
37973 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
37974 0 : if (!SWIG_IsOK(res1)) {
37975 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_pszHeader_get" "', argument " "1"" of type '" "DBFInfo *""'");
37976 : }
37977 0 : arg1 = (DBFInfo *)(argp1);
37978 0 : result = (char *) ((arg1)->pszHeader);
37979 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
37980 :
37981 0 : XSRETURN(argvi);
37982 : fail:
37983 :
37984 0 : SWIG_croak_null();
37985 : }
37986 : }
37987 :
37988 :
37989 0 : XS(_wrap_DBFInfo_nCurrentRecord_get) {
37990 : {
37991 : DBFInfo *arg1 = (DBFInfo *) 0 ;
37992 0 : void *argp1 = 0 ;
37993 : int res1 = 0 ;
37994 : int argvi = 0;
37995 : int result;
37996 0 : dXSARGS;
37997 :
37998 0 : if ((items < 1) || (items > 1)) {
37999 0 : SWIG_croak("Usage: DBFInfo_nCurrentRecord_get(self);");
38000 : }
38001 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38002 0 : if (!SWIG_IsOK(res1)) {
38003 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nCurrentRecord_get" "', argument " "1"" of type '" "DBFInfo *""'");
38004 : }
38005 0 : arg1 = (DBFInfo *)(argp1);
38006 0 : result = (int) ((arg1)->nCurrentRecord);
38007 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38008 :
38009 0 : XSRETURN(argvi);
38010 : fail:
38011 :
38012 0 : SWIG_croak_null();
38013 : }
38014 : }
38015 :
38016 :
38017 0 : XS(_wrap_DBFInfo_bCurrentRecordModified_get) {
38018 : {
38019 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38020 0 : void *argp1 = 0 ;
38021 : int res1 = 0 ;
38022 : int argvi = 0;
38023 : int result;
38024 0 : dXSARGS;
38025 :
38026 0 : if ((items < 1) || (items > 1)) {
38027 0 : SWIG_croak("Usage: DBFInfo_bCurrentRecordModified_get(self);");
38028 : }
38029 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38030 0 : if (!SWIG_IsOK(res1)) {
38031 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_bCurrentRecordModified_get" "', argument " "1"" of type '" "DBFInfo *""'");
38032 : }
38033 0 : arg1 = (DBFInfo *)(argp1);
38034 0 : result = (int) ((arg1)->bCurrentRecordModified);
38035 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38036 :
38037 0 : XSRETURN(argvi);
38038 : fail:
38039 :
38040 0 : SWIG_croak_null();
38041 : }
38042 : }
38043 :
38044 :
38045 0 : XS(_wrap_DBFInfo_pszCurrentRecord_get) {
38046 : {
38047 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38048 0 : void *argp1 = 0 ;
38049 : int res1 = 0 ;
38050 : int argvi = 0;
38051 : char *result = 0 ;
38052 0 : dXSARGS;
38053 :
38054 0 : if ((items < 1) || (items > 1)) {
38055 0 : SWIG_croak("Usage: DBFInfo_pszCurrentRecord_get(self);");
38056 : }
38057 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38058 0 : if (!SWIG_IsOK(res1)) {
38059 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_pszCurrentRecord_get" "', argument " "1"" of type '" "DBFInfo *""'");
38060 : }
38061 0 : arg1 = (DBFInfo *)(argp1);
38062 0 : result = (char *) ((arg1)->pszCurrentRecord);
38063 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
38064 :
38065 0 : XSRETURN(argvi);
38066 : fail:
38067 :
38068 0 : SWIG_croak_null();
38069 : }
38070 : }
38071 :
38072 :
38073 0 : XS(_wrap_DBFInfo_bNoHeader_get) {
38074 : {
38075 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38076 0 : void *argp1 = 0 ;
38077 : int res1 = 0 ;
38078 : int argvi = 0;
38079 : int result;
38080 0 : dXSARGS;
38081 :
38082 0 : if ((items < 1) || (items > 1)) {
38083 0 : SWIG_croak("Usage: DBFInfo_bNoHeader_get(self);");
38084 : }
38085 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38086 0 : if (!SWIG_IsOK(res1)) {
38087 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_bNoHeader_get" "', argument " "1"" of type '" "DBFInfo *""'");
38088 : }
38089 0 : arg1 = (DBFInfo *)(argp1);
38090 0 : result = (int) ((arg1)->bNoHeader);
38091 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38092 :
38093 0 : XSRETURN(argvi);
38094 : fail:
38095 :
38096 0 : SWIG_croak_null();
38097 : }
38098 : }
38099 :
38100 :
38101 0 : XS(_wrap_DBFInfo_bUpdated_get) {
38102 : {
38103 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38104 0 : void *argp1 = 0 ;
38105 : int res1 = 0 ;
38106 : int argvi = 0;
38107 : int result;
38108 0 : dXSARGS;
38109 :
38110 0 : if ((items < 1) || (items > 1)) {
38111 0 : SWIG_croak("Usage: DBFInfo_bUpdated_get(self);");
38112 : }
38113 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38114 0 : if (!SWIG_IsOK(res1)) {
38115 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_bUpdated_get" "', argument " "1"" of type '" "DBFInfo *""'");
38116 : }
38117 0 : arg1 = (DBFInfo *)(argp1);
38118 0 : result = (int) ((arg1)->bUpdated);
38119 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38120 :
38121 0 : XSRETURN(argvi);
38122 : fail:
38123 :
38124 0 : SWIG_croak_null();
38125 : }
38126 : }
38127 :
38128 :
38129 0 : XS(_wrap_DBFInfo_pszStringField_get) {
38130 : {
38131 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38132 0 : void *argp1 = 0 ;
38133 : int res1 = 0 ;
38134 : int argvi = 0;
38135 : char *result = 0 ;
38136 0 : dXSARGS;
38137 :
38138 0 : if ((items < 1) || (items > 1)) {
38139 0 : SWIG_croak("Usage: DBFInfo_pszStringField_get(self);");
38140 : }
38141 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38142 0 : if (!SWIG_IsOK(res1)) {
38143 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_pszStringField_get" "', argument " "1"" of type '" "DBFInfo *""'");
38144 : }
38145 0 : arg1 = (DBFInfo *)(argp1);
38146 0 : result = (char *) ((arg1)->pszStringField);
38147 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
38148 :
38149 0 : XSRETURN(argvi);
38150 : fail:
38151 :
38152 0 : SWIG_croak_null();
38153 : }
38154 : }
38155 :
38156 :
38157 0 : XS(_wrap_DBFInfo_nStringFieldLen_get) {
38158 : {
38159 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38160 0 : void *argp1 = 0 ;
38161 : int res1 = 0 ;
38162 : int argvi = 0;
38163 : int result;
38164 0 : dXSARGS;
38165 :
38166 0 : if ((items < 1) || (items > 1)) {
38167 0 : SWIG_croak("Usage: DBFInfo_nStringFieldLen_get(self);");
38168 : }
38169 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38170 0 : if (!SWIG_IsOK(res1)) {
38171 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nStringFieldLen_get" "', argument " "1"" of type '" "DBFInfo *""'");
38172 : }
38173 0 : arg1 = (DBFInfo *)(argp1);
38174 0 : result = (int) ((arg1)->nStringFieldLen);
38175 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38176 :
38177 0 : XSRETURN(argvi);
38178 : fail:
38179 :
38180 0 : SWIG_croak_null();
38181 : }
38182 : }
38183 :
38184 :
38185 0 : XS(_wrap_DBFInfo_getFieldName) {
38186 : {
38187 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38188 : int arg2 ;
38189 0 : void *argp1 = 0 ;
38190 : int res1 = 0 ;
38191 : int val2 ;
38192 : int ecode2 = 0 ;
38193 : int argvi = 0;
38194 : char *result = 0 ;
38195 0 : dXSARGS;
38196 :
38197 0 : if ((items < 2) || (items > 2)) {
38198 0 : SWIG_croak("Usage: DBFInfo_getFieldName(self,iField);");
38199 : }
38200 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38201 0 : if (!SWIG_IsOK(res1)) {
38202 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldName" "', argument " "1"" of type '" "DBFInfo *""'");
38203 : }
38204 0 : arg1 = (DBFInfo *)(argp1);
38205 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38206 0 : if (!SWIG_IsOK(ecode2)) {
38207 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldName" "', argument " "2"" of type '" "int""'");
38208 : }
38209 0 : arg2 = (int)(val2);
38210 : result = (char *)DBFInfo_getFieldName(arg1,arg2);
38211 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
38212 :
38213 :
38214 0 : XSRETURN(argvi);
38215 : fail:
38216 :
38217 :
38218 0 : SWIG_croak_null();
38219 : }
38220 : }
38221 :
38222 :
38223 0 : XS(_wrap_DBFInfo_getFieldWidth) {
38224 : {
38225 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38226 : int arg2 ;
38227 0 : void *argp1 = 0 ;
38228 : int res1 = 0 ;
38229 : int val2 ;
38230 : int ecode2 = 0 ;
38231 : int argvi = 0;
38232 : int result;
38233 0 : dXSARGS;
38234 :
38235 0 : if ((items < 2) || (items > 2)) {
38236 0 : SWIG_croak("Usage: DBFInfo_getFieldWidth(self,iField);");
38237 : }
38238 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38239 0 : if (!SWIG_IsOK(res1)) {
38240 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldWidth" "', argument " "1"" of type '" "DBFInfo *""'");
38241 : }
38242 0 : arg1 = (DBFInfo *)(argp1);
38243 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38244 0 : if (!SWIG_IsOK(ecode2)) {
38245 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldWidth" "', argument " "2"" of type '" "int""'");
38246 : }
38247 0 : arg2 = (int)(val2);
38248 0 : result = (int)DBFInfo_getFieldWidth(arg1,arg2);
38249 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38250 :
38251 :
38252 0 : XSRETURN(argvi);
38253 : fail:
38254 :
38255 :
38256 0 : SWIG_croak_null();
38257 : }
38258 : }
38259 :
38260 :
38261 0 : XS(_wrap_DBFInfo_getFieldDecimals) {
38262 : {
38263 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38264 : int arg2 ;
38265 0 : void *argp1 = 0 ;
38266 : int res1 = 0 ;
38267 : int val2 ;
38268 : int ecode2 = 0 ;
38269 : int argvi = 0;
38270 : int result;
38271 0 : dXSARGS;
38272 :
38273 0 : if ((items < 2) || (items > 2)) {
38274 0 : SWIG_croak("Usage: DBFInfo_getFieldDecimals(self,iField);");
38275 : }
38276 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38277 0 : if (!SWIG_IsOK(res1)) {
38278 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldDecimals" "', argument " "1"" of type '" "DBFInfo *""'");
38279 : }
38280 0 : arg1 = (DBFInfo *)(argp1);
38281 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38282 0 : if (!SWIG_IsOK(ecode2)) {
38283 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldDecimals" "', argument " "2"" of type '" "int""'");
38284 : }
38285 0 : arg2 = (int)(val2);
38286 0 : result = (int)DBFInfo_getFieldDecimals(arg1,arg2);
38287 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38288 :
38289 :
38290 0 : XSRETURN(argvi);
38291 : fail:
38292 :
38293 :
38294 0 : SWIG_croak_null();
38295 : }
38296 : }
38297 :
38298 :
38299 0 : XS(_wrap_DBFInfo_getFieldType) {
38300 : {
38301 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38302 : int arg2 ;
38303 0 : void *argp1 = 0 ;
38304 : int res1 = 0 ;
38305 : int val2 ;
38306 : int ecode2 = 0 ;
38307 : int argvi = 0;
38308 : int result;
38309 0 : dXSARGS;
38310 :
38311 0 : if ((items < 2) || (items > 2)) {
38312 0 : SWIG_croak("Usage: DBFInfo_getFieldType(self,iField);");
38313 : }
38314 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 | 0 );
38315 0 : if (!SWIG_IsOK(res1)) {
38316 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldType" "', argument " "1"" of type '" "DBFInfo *""'");
38317 : }
38318 0 : arg1 = (DBFInfo *)(argp1);
38319 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38320 0 : if (!SWIG_IsOK(ecode2)) {
38321 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldType" "', argument " "2"" of type '" "int""'");
38322 : }
38323 0 : arg2 = (int)(val2);
38324 : result = (int)DBFInfo_getFieldType(arg1,arg2);
38325 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38326 :
38327 :
38328 0 : XSRETURN(argvi);
38329 : fail:
38330 :
38331 :
38332 0 : SWIG_croak_null();
38333 : }
38334 : }
38335 :
38336 :
38337 0 : XS(_wrap_new_DBFInfo) {
38338 : {
38339 : int argvi = 0;
38340 : DBFInfo *result = 0 ;
38341 0 : dXSARGS;
38342 :
38343 0 : if ((items < 0) || (items > 0)) {
38344 0 : SWIG_croak("Usage: new_DBFInfo();");
38345 : }
38346 0 : result = (DBFInfo *)calloc(1, sizeof(DBFInfo));
38347 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DBFInfo, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
38348 0 : XSRETURN(argvi);
38349 : fail:
38350 0 : SWIG_croak_null();
38351 : }
38352 : }
38353 :
38354 :
38355 0 : XS(_wrap_delete_DBFInfo) {
38356 : {
38357 : DBFInfo *arg1 = (DBFInfo *) 0 ;
38358 0 : void *argp1 = 0 ;
38359 : int res1 = 0 ;
38360 : int argvi = 0;
38361 0 : dXSARGS;
38362 :
38363 0 : if ((items < 1) || (items > 1)) {
38364 0 : SWIG_croak("Usage: delete_DBFInfo(self);");
38365 : }
38366 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, SWIG_POINTER_DISOWN | 0 );
38367 0 : if (!SWIG_IsOK(res1)) {
38368 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DBFInfo" "', argument " "1"" of type '" "DBFInfo *""'");
38369 : }
38370 0 : arg1 = (DBFInfo *)(argp1);
38371 0 : free((char *) arg1);
38372 0 : ST(argvi) = sv_newmortal();
38373 :
38374 0 : XSRETURN(argvi);
38375 : fail:
38376 :
38377 0 : SWIG_croak_null();
38378 : }
38379 : }
38380 :
38381 :
38382 0 : XS(_wrap_shapefileObj_source_get) {
38383 : {
38384 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38385 0 : void *argp1 = 0 ;
38386 : int res1 = 0 ;
38387 : int argvi = 0;
38388 : char *result = 0 ;
38389 0 : dXSARGS;
38390 :
38391 0 : if ((items < 1) || (items > 1)) {
38392 0 : SWIG_croak("Usage: shapefileObj_source_get(self);");
38393 : }
38394 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38395 0 : if (!SWIG_IsOK(res1)) {
38396 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_source_get" "', argument " "1"" of type '" "shapefileObj *""'");
38397 : }
38398 0 : arg1 = (shapefileObj *)(argp1);
38399 0 : result = (char *)(char *) ((arg1)->source);
38400 : {
38401 0 : ST(argvi) = newSVpvn(result, strlen(result));
38402 : argvi++;
38403 : }
38404 :
38405 0 : XSRETURN(argvi);
38406 : fail:
38407 :
38408 0 : SWIG_croak_null();
38409 : }
38410 : }
38411 :
38412 :
38413 1 : XS(_wrap_shapefileObj_type_get) {
38414 : {
38415 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38416 1 : void *argp1 = 0 ;
38417 : int res1 = 0 ;
38418 : int argvi = 0;
38419 : int result;
38420 1 : dXSARGS;
38421 :
38422 1 : if ((items < 1) || (items > 1)) {
38423 0 : SWIG_croak("Usage: shapefileObj_type_get(self);");
38424 : }
38425 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38426 1 : if (!SWIG_IsOK(res1)) {
38427 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_type_get" "', argument " "1"" of type '" "shapefileObj *""'");
38428 : }
38429 1 : arg1 = (shapefileObj *)(argp1);
38430 1 : result = (int) ((arg1)->type);
38431 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38432 :
38433 1 : XSRETURN(argvi);
38434 : fail:
38435 :
38436 0 : SWIG_croak_null();
38437 : }
38438 : }
38439 :
38440 :
38441 1 : XS(_wrap_shapefileObj_numshapes_get) {
38442 : {
38443 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38444 1 : void *argp1 = 0 ;
38445 : int res1 = 0 ;
38446 : int argvi = 0;
38447 : int result;
38448 1 : dXSARGS;
38449 :
38450 1 : if ((items < 1) || (items > 1)) {
38451 0 : SWIG_croak("Usage: shapefileObj_numshapes_get(self);");
38452 : }
38453 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38454 1 : if (!SWIG_IsOK(res1)) {
38455 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_numshapes_get" "', argument " "1"" of type '" "shapefileObj *""'");
38456 : }
38457 1 : arg1 = (shapefileObj *)(argp1);
38458 1 : result = (int) ((arg1)->numshapes);
38459 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38460 :
38461 1 : XSRETURN(argvi);
38462 : fail:
38463 :
38464 0 : SWIG_croak_null();
38465 : }
38466 : }
38467 :
38468 :
38469 0 : XS(_wrap_shapefileObj_bounds_get) {
38470 : {
38471 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38472 0 : void *argp1 = 0 ;
38473 : int res1 = 0 ;
38474 : int argvi = 0;
38475 : rectObj *result = 0 ;
38476 0 : dXSARGS;
38477 :
38478 0 : if ((items < 1) || (items > 1)) {
38479 0 : SWIG_croak("Usage: shapefileObj_bounds_get(self);");
38480 : }
38481 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38482 0 : if (!SWIG_IsOK(res1)) {
38483 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_bounds_get" "', argument " "1"" of type '" "shapefileObj *""'");
38484 : }
38485 0 : arg1 = (shapefileObj *)(argp1);
38486 0 : result = (rectObj *)& ((arg1)->bounds);
38487 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
38488 :
38489 0 : XSRETURN(argvi);
38490 : fail:
38491 :
38492 0 : SWIG_croak_null();
38493 : }
38494 : }
38495 :
38496 :
38497 0 : XS(_wrap_shapefileObj_lastshape_get) {
38498 : {
38499 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38500 0 : void *argp1 = 0 ;
38501 : int res1 = 0 ;
38502 : int argvi = 0;
38503 : int result;
38504 0 : dXSARGS;
38505 :
38506 0 : if ((items < 1) || (items > 1)) {
38507 0 : SWIG_croak("Usage: shapefileObj_lastshape_get(self);");
38508 : }
38509 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38510 0 : if (!SWIG_IsOK(res1)) {
38511 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_lastshape_get" "', argument " "1"" of type '" "shapefileObj *""'");
38512 : }
38513 0 : arg1 = (shapefileObj *)(argp1);
38514 0 : result = (int) ((arg1)->lastshape);
38515 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38516 :
38517 0 : XSRETURN(argvi);
38518 : fail:
38519 :
38520 0 : SWIG_croak_null();
38521 : }
38522 : }
38523 :
38524 :
38525 0 : XS(_wrap_shapefileObj_status_get) {
38526 : {
38527 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38528 0 : void *argp1 = 0 ;
38529 : int res1 = 0 ;
38530 : int argvi = 0;
38531 : ms_bitarray result;
38532 0 : dXSARGS;
38533 :
38534 0 : if ((items < 1) || (items > 1)) {
38535 0 : SWIG_croak("Usage: shapefileObj_status_get(self);");
38536 : }
38537 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38538 0 : if (!SWIG_IsOK(res1)) {
38539 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_status_get" "', argument " "1"" of type '" "shapefileObj *""'");
38540 : }
38541 0 : arg1 = (shapefileObj *)(argp1);
38542 0 : result = (ms_bitarray) ((arg1)->status);
38543 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_uint32_t, 0 | 0); argvi++ ;
38544 :
38545 0 : XSRETURN(argvi);
38546 : fail:
38547 :
38548 0 : SWIG_croak_null();
38549 : }
38550 : }
38551 :
38552 :
38553 0 : XS(_wrap_shapefileObj_isopen_get) {
38554 : {
38555 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38556 0 : void *argp1 = 0 ;
38557 : int res1 = 0 ;
38558 : int argvi = 0;
38559 : int result;
38560 0 : dXSARGS;
38561 :
38562 0 : if ((items < 1) || (items > 1)) {
38563 0 : SWIG_croak("Usage: shapefileObj_isopen_get(self);");
38564 : }
38565 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38566 0 : if (!SWIG_IsOK(res1)) {
38567 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_isopen_get" "', argument " "1"" of type '" "shapefileObj *""'");
38568 : }
38569 0 : arg1 = (shapefileObj *)(argp1);
38570 0 : result = (int) ((arg1)->isopen);
38571 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38572 :
38573 0 : XSRETURN(argvi);
38574 : fail:
38575 :
38576 0 : SWIG_croak_null();
38577 : }
38578 : }
38579 :
38580 :
38581 1 : XS(_wrap_new_shapefileObj) {
38582 : {
38583 : char *arg1 = (char *) 0 ;
38584 : int arg2 = (int) -1 ;
38585 : int res1 ;
38586 1 : char *buf1 = 0 ;
38587 1 : int alloc1 = 0 ;
38588 : int val2 ;
38589 : int ecode2 = 0 ;
38590 : int argvi = 0;
38591 : shapefileObj *result = 0 ;
38592 1 : dXSARGS;
38593 :
38594 1 : if ((items < 1) || (items > 2)) {
38595 0 : SWIG_croak("Usage: new_shapefileObj(filename,type);");
38596 : }
38597 1 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
38598 1 : if (!SWIG_IsOK(res1)) {
38599 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_shapefileObj" "', argument " "1"" of type '" "char *""'");
38600 : }
38601 1 : arg1 = (char *)(buf1);
38602 1 : if (items > 1) {
38603 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38604 1 : if (!SWIG_IsOK(ecode2)) {
38605 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_shapefileObj" "', argument " "2"" of type '" "int""'");
38606 : }
38607 1 : arg2 = (int)(val2);
38608 : }
38609 1 : result = (shapefileObj *)new_shapefileObj(arg1,arg2);
38610 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapefileObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
38611 1 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
38612 :
38613 1 : XSRETURN(argvi);
38614 : fail:
38615 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
38616 :
38617 0 : SWIG_croak_null();
38618 : }
38619 : }
38620 :
38621 :
38622 1 : XS(_wrap_delete_shapefileObj) {
38623 : {
38624 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38625 1 : void *argp1 = 0 ;
38626 : int res1 = 0 ;
38627 : int argvi = 0;
38628 1 : dXSARGS;
38629 :
38630 1 : if ((items < 1) || (items > 1)) {
38631 0 : SWIG_croak("Usage: delete_shapefileObj(self);");
38632 : }
38633 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, SWIG_POINTER_DISOWN | 0 );
38634 1 : if (!SWIG_IsOK(res1)) {
38635 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_shapefileObj" "', argument " "1"" of type '" "shapefileObj *""'");
38636 : }
38637 1 : arg1 = (shapefileObj *)(argp1);
38638 : delete_shapefileObj(arg1);
38639 1 : ST(argvi) = sv_newmortal();
38640 :
38641 1 : XSRETURN(argvi);
38642 : fail:
38643 :
38644 0 : SWIG_croak_null();
38645 : }
38646 : }
38647 :
38648 :
38649 1 : XS(_wrap_shapefileObj_get) {
38650 : {
38651 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38652 : int arg2 ;
38653 : shapeObj *arg3 = (shapeObj *) 0 ;
38654 1 : void *argp1 = 0 ;
38655 : int res1 = 0 ;
38656 : int val2 ;
38657 : int ecode2 = 0 ;
38658 1 : void *argp3 = 0 ;
38659 : int res3 = 0 ;
38660 : int argvi = 0;
38661 : int result;
38662 1 : dXSARGS;
38663 :
38664 1 : if ((items < 3) || (items > 3)) {
38665 0 : SWIG_croak("Usage: shapefileObj_get(self,i,shape);");
38666 : }
38667 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38668 1 : if (!SWIG_IsOK(res1)) {
38669 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_get" "', argument " "1"" of type '" "shapefileObj *""'");
38670 : }
38671 1 : arg1 = (shapefileObj *)(argp1);
38672 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38673 1 : if (!SWIG_IsOK(ecode2)) {
38674 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_get" "', argument " "2"" of type '" "int""'");
38675 : }
38676 1 : arg2 = (int)(val2);
38677 1 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_shapeObj, 0 | 0 );
38678 1 : if (!SWIG_IsOK(res3)) {
38679 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapefileObj_get" "', argument " "3"" of type '" "shapeObj *""'");
38680 : }
38681 1 : arg3 = (shapeObj *)(argp3);
38682 1 : result = (int)shapefileObj_get(arg1,arg2,arg3);
38683 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38684 :
38685 :
38686 :
38687 1 : XSRETURN(argvi);
38688 : fail:
38689 :
38690 :
38691 :
38692 0 : SWIG_croak_null();
38693 : }
38694 : }
38695 :
38696 :
38697 1 : XS(_wrap_shapefileObj_getShape) {
38698 : {
38699 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38700 : int arg2 ;
38701 1 : void *argp1 = 0 ;
38702 : int res1 = 0 ;
38703 : int val2 ;
38704 : int ecode2 = 0 ;
38705 : int argvi = 0;
38706 : shapeObj *result = 0 ;
38707 1 : dXSARGS;
38708 :
38709 1 : if ((items < 2) || (items > 2)) {
38710 0 : SWIG_croak("Usage: shapefileObj_getShape(self,i);");
38711 : }
38712 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38713 1 : if (!SWIG_IsOK(res1)) {
38714 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getShape" "', argument " "1"" of type '" "shapefileObj *""'");
38715 : }
38716 1 : arg1 = (shapefileObj *)(argp1);
38717 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38718 1 : if (!SWIG_IsOK(ecode2)) {
38719 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_getShape" "', argument " "2"" of type '" "int""'");
38720 : }
38721 1 : arg2 = (int)(val2);
38722 1 : result = (shapeObj *)shapefileObj_getShape(arg1,arg2);
38723 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
38724 :
38725 :
38726 1 : XSRETURN(argvi);
38727 : fail:
38728 :
38729 :
38730 0 : SWIG_croak_null();
38731 : }
38732 : }
38733 :
38734 :
38735 0 : XS(_wrap_shapefileObj_getPoint) {
38736 : {
38737 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38738 : int arg2 ;
38739 : pointObj *arg3 = (pointObj *) 0 ;
38740 0 : void *argp1 = 0 ;
38741 : int res1 = 0 ;
38742 : int val2 ;
38743 : int ecode2 = 0 ;
38744 0 : void *argp3 = 0 ;
38745 : int res3 = 0 ;
38746 : int argvi = 0;
38747 : int result;
38748 0 : dXSARGS;
38749 :
38750 0 : if ((items < 3) || (items > 3)) {
38751 0 : SWIG_croak("Usage: shapefileObj_getPoint(self,i,point);");
38752 : }
38753 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38754 0 : if (!SWIG_IsOK(res1)) {
38755 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getPoint" "', argument " "1"" of type '" "shapefileObj *""'");
38756 : }
38757 0 : arg1 = (shapefileObj *)(argp1);
38758 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38759 0 : if (!SWIG_IsOK(ecode2)) {
38760 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_getPoint" "', argument " "2"" of type '" "int""'");
38761 : }
38762 0 : arg2 = (int)(val2);
38763 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 | 0 );
38764 0 : if (!SWIG_IsOK(res3)) {
38765 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapefileObj_getPoint" "', argument " "3"" of type '" "pointObj *""'");
38766 : }
38767 0 : arg3 = (pointObj *)(argp3);
38768 : result = (int)shapefileObj_getPoint(arg1,arg2,arg3);
38769 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38770 :
38771 :
38772 :
38773 0 : XSRETURN(argvi);
38774 : fail:
38775 :
38776 :
38777 :
38778 0 : SWIG_croak_null();
38779 : }
38780 : }
38781 :
38782 :
38783 0 : XS(_wrap_shapefileObj_getTransformed) {
38784 : {
38785 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38786 : mapObj *arg2 = (mapObj *) 0 ;
38787 : int arg3 ;
38788 : shapeObj *arg4 = (shapeObj *) 0 ;
38789 0 : void *argp1 = 0 ;
38790 : int res1 = 0 ;
38791 0 : void *argp2 = 0 ;
38792 : int res2 = 0 ;
38793 : int val3 ;
38794 : int ecode3 = 0 ;
38795 0 : void *argp4 = 0 ;
38796 : int res4 = 0 ;
38797 : int argvi = 0;
38798 : int result;
38799 0 : dXSARGS;
38800 :
38801 0 : if ((items < 4) || (items > 4)) {
38802 0 : SWIG_croak("Usage: shapefileObj_getTransformed(self,map,i,shape);");
38803 : }
38804 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38805 0 : if (!SWIG_IsOK(res1)) {
38806 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getTransformed" "', argument " "1"" of type '" "shapefileObj *""'");
38807 : }
38808 0 : arg1 = (shapefileObj *)(argp1);
38809 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 | 0 );
38810 0 : if (!SWIG_IsOK(res2)) {
38811 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapefileObj_getTransformed" "', argument " "2"" of type '" "mapObj *""'");
38812 : }
38813 0 : arg2 = (mapObj *)(argp2);
38814 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
38815 0 : if (!SWIG_IsOK(ecode3)) {
38816 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "shapefileObj_getTransformed" "', argument " "3"" of type '" "int""'");
38817 : }
38818 0 : arg3 = (int)(val3);
38819 0 : res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_shapeObj, 0 | 0 );
38820 0 : if (!SWIG_IsOK(res4)) {
38821 0 : SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "shapefileObj_getTransformed" "', argument " "4"" of type '" "shapeObj *""'");
38822 : }
38823 0 : arg4 = (shapeObj *)(argp4);
38824 0 : result = (int)shapefileObj_getTransformed(arg1,arg2,arg3,arg4);
38825 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38826 :
38827 :
38828 :
38829 :
38830 0 : XSRETURN(argvi);
38831 : fail:
38832 :
38833 :
38834 :
38835 :
38836 0 : SWIG_croak_null();
38837 : }
38838 : }
38839 :
38840 :
38841 0 : XS(_wrap_shapefileObj_getExtent) {
38842 : {
38843 0 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38844 : int arg2 ;
38845 : rectObj *arg3 = (rectObj *) 0 ;
38846 0 : void *argp1 = 0 ;
38847 : int res1 = 0 ;
38848 : int val2 ;
38849 : int ecode2 = 0 ;
38850 0 : void *argp3 = 0 ;
38851 : int res3 = 0 ;
38852 : int argvi = 0;
38853 0 : dXSARGS;
38854 :
38855 0 : if ((items < 3) || (items > 3)) {
38856 0 : SWIG_croak("Usage: shapefileObj_getExtent(self,i,rect);");
38857 : }
38858 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38859 0 : if (!SWIG_IsOK(res1)) {
38860 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getExtent" "', argument " "1"" of type '" "shapefileObj *""'");
38861 : }
38862 0 : arg1 = (shapefileObj *)(argp1);
38863 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
38864 0 : if (!SWIG_IsOK(ecode2)) {
38865 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_getExtent" "', argument " "2"" of type '" "int""'");
38866 : }
38867 0 : arg2 = (int)(val2);
38868 0 : res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_rectObj, 0 | 0 );
38869 0 : if (!SWIG_IsOK(res3)) {
38870 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapefileObj_getExtent" "', argument " "3"" of type '" "rectObj *""'");
38871 : }
38872 0 : arg3 = (rectObj *)(argp3);
38873 : shapefileObj_getExtent(arg1,arg2,arg3);
38874 0 : ST(argvi) = sv_newmortal();
38875 :
38876 :
38877 :
38878 0 : XSRETURN(argvi);
38879 : fail:
38880 :
38881 :
38882 :
38883 0 : SWIG_croak_null();
38884 : }
38885 : }
38886 :
38887 :
38888 1 : XS(_wrap_shapefileObj_add) {
38889 : {
38890 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38891 : shapeObj *arg2 = (shapeObj *) 0 ;
38892 1 : void *argp1 = 0 ;
38893 : int res1 = 0 ;
38894 1 : void *argp2 = 0 ;
38895 : int res2 = 0 ;
38896 : int argvi = 0;
38897 : int result;
38898 1 : dXSARGS;
38899 :
38900 1 : if ((items < 2) || (items > 2)) {
38901 0 : SWIG_croak("Usage: shapefileObj_add(self,shape);");
38902 : }
38903 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38904 1 : if (!SWIG_IsOK(res1)) {
38905 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_add" "', argument " "1"" of type '" "shapefileObj *""'");
38906 : }
38907 1 : arg1 = (shapefileObj *)(argp1);
38908 1 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 | 0 );
38909 1 : if (!SWIG_IsOK(res2)) {
38910 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapefileObj_add" "', argument " "2"" of type '" "shapeObj *""'");
38911 : }
38912 1 : arg2 = (shapeObj *)(argp2);
38913 1 : result = (int)shapefileObj_add(arg1,arg2);
38914 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38915 :
38916 :
38917 1 : XSRETURN(argvi);
38918 : fail:
38919 :
38920 :
38921 0 : SWIG_croak_null();
38922 : }
38923 : }
38924 :
38925 :
38926 0 : XS(_wrap_shapefileObj_addPoint) {
38927 : {
38928 0 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38929 : pointObj *arg2 = (pointObj *) 0 ;
38930 0 : void *argp1 = 0 ;
38931 : int res1 = 0 ;
38932 0 : void *argp2 = 0 ;
38933 : int res2 = 0 ;
38934 : int argvi = 0;
38935 : int result;
38936 0 : dXSARGS;
38937 :
38938 0 : if ((items < 2) || (items > 2)) {
38939 0 : SWIG_croak("Usage: shapefileObj_addPoint(self,point);");
38940 : }
38941 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38942 0 : if (!SWIG_IsOK(res1)) {
38943 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_addPoint" "', argument " "1"" of type '" "shapefileObj *""'");
38944 : }
38945 0 : arg1 = (shapefileObj *)(argp1);
38946 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 | 0 );
38947 0 : if (!SWIG_IsOK(res2)) {
38948 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapefileObj_addPoint" "', argument " "2"" of type '" "pointObj *""'");
38949 : }
38950 0 : arg2 = (pointObj *)(argp2);
38951 : result = (int)shapefileObj_addPoint(arg1,arg2);
38952 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
38953 :
38954 :
38955 0 : XSRETURN(argvi);
38956 : fail:
38957 :
38958 :
38959 0 : SWIG_croak_null();
38960 : }
38961 : }
38962 :
38963 :
38964 0 : XS(_wrap_shapefileObj_getDBF) {
38965 : {
38966 0 : shapefileObj *arg1 = (shapefileObj *) 0 ;
38967 0 : void *argp1 = 0 ;
38968 : int res1 = 0 ;
38969 : int argvi = 0;
38970 : DBFInfo *result = 0 ;
38971 0 : dXSARGS;
38972 :
38973 0 : if ((items < 1) || (items > 1)) {
38974 0 : SWIG_croak("Usage: shapefileObj_getDBF(self);");
38975 : }
38976 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 | 0 );
38977 0 : if (!SWIG_IsOK(res1)) {
38978 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getDBF" "', argument " "1"" of type '" "shapefileObj *""'");
38979 : }
38980 0 : arg1 = (shapefileObj *)(argp1);
38981 : result = (DBFInfo *)shapefileObj_getDBF(arg1);
38982 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DBFInfo, 0 | SWIG_SHADOW); argvi++ ;
38983 :
38984 0 : XSRETURN(argvi);
38985 : fail:
38986 :
38987 0 : SWIG_croak_null();
38988 : }
38989 : }
38990 :
38991 :
38992 0 : XS(_wrap_projectionObj_numargs_get) {
38993 : {
38994 : projectionObj *arg1 = (projectionObj *) 0 ;
38995 0 : void *argp1 = 0 ;
38996 : int res1 = 0 ;
38997 : int argvi = 0;
38998 : int result;
38999 0 : dXSARGS;
39000 :
39001 0 : if ((items < 1) || (items > 1)) {
39002 0 : SWIG_croak("Usage: projectionObj_numargs_get(self);");
39003 : }
39004 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 | 0 );
39005 0 : if (!SWIG_IsOK(res1)) {
39006 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_numargs_get" "', argument " "1"" of type '" "projectionObj *""'");
39007 : }
39008 0 : arg1 = (projectionObj *)(argp1);
39009 0 : result = (int) ((arg1)->numargs);
39010 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39011 :
39012 0 : XSRETURN(argvi);
39013 : fail:
39014 :
39015 0 : SWIG_croak_null();
39016 : }
39017 : }
39018 :
39019 :
39020 0 : XS(_wrap_projectionObj_automatic_get) {
39021 : {
39022 : projectionObj *arg1 = (projectionObj *) 0 ;
39023 0 : void *argp1 = 0 ;
39024 : int res1 = 0 ;
39025 : int argvi = 0;
39026 : int result;
39027 0 : dXSARGS;
39028 :
39029 0 : if ((items < 1) || (items > 1)) {
39030 0 : SWIG_croak("Usage: projectionObj_automatic_get(self);");
39031 : }
39032 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 | 0 );
39033 0 : if (!SWIG_IsOK(res1)) {
39034 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_automatic_get" "', argument " "1"" of type '" "projectionObj *""'");
39035 : }
39036 0 : arg1 = (projectionObj *)(argp1);
39037 0 : result = (int) ((arg1)->automatic);
39038 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39039 :
39040 0 : XSRETURN(argvi);
39041 : fail:
39042 :
39043 0 : SWIG_croak_null();
39044 : }
39045 : }
39046 :
39047 :
39048 0 : XS(_wrap_projectionObj_wellknownprojection_set) {
39049 : {
39050 : projectionObj *arg1 = (projectionObj *) 0 ;
39051 : int arg2 ;
39052 0 : void *argp1 = 0 ;
39053 : int res1 = 0 ;
39054 : int val2 ;
39055 : int ecode2 = 0 ;
39056 : int argvi = 0;
39057 0 : dXSARGS;
39058 :
39059 0 : if ((items < 2) || (items > 2)) {
39060 0 : SWIG_croak("Usage: projectionObj_wellknownprojection_set(self,wellknownprojection);");
39061 : }
39062 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 | 0 );
39063 0 : if (!SWIG_IsOK(res1)) {
39064 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_wellknownprojection_set" "', argument " "1"" of type '" "projectionObj *""'");
39065 : }
39066 0 : arg1 = (projectionObj *)(argp1);
39067 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39068 0 : if (!SWIG_IsOK(ecode2)) {
39069 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "projectionObj_wellknownprojection_set" "', argument " "2"" of type '" "int""'");
39070 : }
39071 0 : arg2 = (int)(val2);
39072 0 : if (arg1) (arg1)->wellknownprojection = arg2;
39073 0 : ST(argvi) = sv_newmortal();
39074 :
39075 :
39076 0 : XSRETURN(argvi);
39077 : fail:
39078 :
39079 :
39080 0 : SWIG_croak_null();
39081 : }
39082 : }
39083 :
39084 :
39085 0 : XS(_wrap_projectionObj_wellknownprojection_get) {
39086 : {
39087 : projectionObj *arg1 = (projectionObj *) 0 ;
39088 0 : void *argp1 = 0 ;
39089 : int res1 = 0 ;
39090 : int argvi = 0;
39091 : int result;
39092 0 : dXSARGS;
39093 :
39094 0 : if ((items < 1) || (items > 1)) {
39095 0 : SWIG_croak("Usage: projectionObj_wellknownprojection_get(self);");
39096 : }
39097 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 | 0 );
39098 0 : if (!SWIG_IsOK(res1)) {
39099 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_wellknownprojection_get" "', argument " "1"" of type '" "projectionObj *""'");
39100 : }
39101 0 : arg1 = (projectionObj *)(argp1);
39102 0 : result = (int) ((arg1)->wellknownprojection);
39103 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39104 :
39105 0 : XSRETURN(argvi);
39106 : fail:
39107 :
39108 0 : SWIG_croak_null();
39109 : }
39110 : }
39111 :
39112 :
39113 0 : XS(_wrap_new_projectionObj) {
39114 : {
39115 : char *arg1 = (char *) 0 ;
39116 : int res1 ;
39117 0 : char *buf1 = 0 ;
39118 0 : int alloc1 = 0 ;
39119 : int argvi = 0;
39120 : projectionObj *result = 0 ;
39121 0 : dXSARGS;
39122 :
39123 0 : if ((items < 1) || (items > 1)) {
39124 0 : SWIG_croak("Usage: new_projectionObj(proj4);");
39125 : }
39126 0 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
39127 0 : if (!SWIG_IsOK(res1)) {
39128 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_projectionObj" "', argument " "1"" of type '" "char *""'");
39129 : }
39130 0 : arg1 = (char *)(buf1);
39131 0 : result = (projectionObj *)new_projectionObj(arg1);
39132 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_projectionObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
39133 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
39134 0 : XSRETURN(argvi);
39135 : fail:
39136 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
39137 0 : SWIG_croak_null();
39138 : }
39139 : }
39140 :
39141 :
39142 0 : XS(_wrap_delete_projectionObj) {
39143 : {
39144 : projectionObj *arg1 = (projectionObj *) 0 ;
39145 0 : void *argp1 = 0 ;
39146 : int res1 = 0 ;
39147 : int argvi = 0;
39148 0 : dXSARGS;
39149 :
39150 0 : if ((items < 1) || (items > 1)) {
39151 0 : SWIG_croak("Usage: delete_projectionObj(self);");
39152 : }
39153 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, SWIG_POINTER_DISOWN | 0 );
39154 0 : if (!SWIG_IsOK(res1)) {
39155 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_projectionObj" "', argument " "1"" of type '" "projectionObj *""'");
39156 : }
39157 0 : arg1 = (projectionObj *)(argp1);
39158 : delete_projectionObj(arg1);
39159 0 : ST(argvi) = sv_newmortal();
39160 :
39161 0 : XSRETURN(argvi);
39162 : fail:
39163 :
39164 0 : SWIG_croak_null();
39165 : }
39166 : }
39167 :
39168 :
39169 0 : XS(_wrap_projectionObj_setWKTProjection) {
39170 : {
39171 : projectionObj *arg1 = (projectionObj *) 0 ;
39172 : char *arg2 = (char *) 0 ;
39173 0 : void *argp1 = 0 ;
39174 : int res1 = 0 ;
39175 : int res2 ;
39176 0 : char *buf2 = 0 ;
39177 0 : int alloc2 = 0 ;
39178 : int argvi = 0;
39179 : int result;
39180 0 : dXSARGS;
39181 :
39182 0 : if ((items < 2) || (items > 2)) {
39183 0 : SWIG_croak("Usage: projectionObj_setWKTProjection(self,wkt);");
39184 : }
39185 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 | 0 );
39186 0 : if (!SWIG_IsOK(res1)) {
39187 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_setWKTProjection" "', argument " "1"" of type '" "projectionObj *""'");
39188 : }
39189 0 : arg1 = (projectionObj *)(argp1);
39190 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
39191 0 : if (!SWIG_IsOK(res2)) {
39192 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "projectionObj_setWKTProjection" "', argument " "2"" of type '" "char *""'");
39193 : }
39194 0 : arg2 = (char *)(buf2);
39195 : result = (int)projectionObj_setWKTProjection(arg1,arg2);
39196 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39197 :
39198 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
39199 0 : XSRETURN(argvi);
39200 : fail:
39201 :
39202 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
39203 0 : SWIG_croak_null();
39204 : }
39205 : }
39206 :
39207 :
39208 0 : XS(_wrap_projectionObj_getUnits) {
39209 : {
39210 : projectionObj *arg1 = (projectionObj *) 0 ;
39211 0 : void *argp1 = 0 ;
39212 : int res1 = 0 ;
39213 : int argvi = 0;
39214 : int result;
39215 0 : dXSARGS;
39216 :
39217 0 : if ((items < 1) || (items > 1)) {
39218 0 : SWIG_croak("Usage: projectionObj_getUnits(self);");
39219 : }
39220 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 | 0 );
39221 0 : if (!SWIG_IsOK(res1)) {
39222 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_getUnits" "', argument " "1"" of type '" "projectionObj *""'");
39223 : }
39224 0 : arg1 = (projectionObj *)(argp1);
39225 : result = (int)projectionObj_getUnits(arg1);
39226 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39227 :
39228 0 : XSRETURN(argvi);
39229 : fail:
39230 :
39231 0 : SWIG_croak_null();
39232 : }
39233 : }
39234 :
39235 :
39236 0 : XS(_wrap_colorObj_red_set) {
39237 : {
39238 : colorObj *arg1 = (colorObj *) 0 ;
39239 : int arg2 ;
39240 0 : void *argp1 = 0 ;
39241 : int res1 = 0 ;
39242 : int val2 ;
39243 : int ecode2 = 0 ;
39244 : int argvi = 0;
39245 0 : dXSARGS;
39246 :
39247 0 : if ((items < 2) || (items > 2)) {
39248 0 : SWIG_croak("Usage: colorObj_red_set(self,red);");
39249 : }
39250 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39251 0 : if (!SWIG_IsOK(res1)) {
39252 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_red_set" "', argument " "1"" of type '" "colorObj *""'");
39253 : }
39254 0 : arg1 = (colorObj *)(argp1);
39255 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39256 0 : if (!SWIG_IsOK(ecode2)) {
39257 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_red_set" "', argument " "2"" of type '" "int""'");
39258 : }
39259 0 : arg2 = (int)(val2);
39260 0 : if (arg1) (arg1)->red = arg2;
39261 0 : ST(argvi) = sv_newmortal();
39262 :
39263 :
39264 0 : XSRETURN(argvi);
39265 : fail:
39266 :
39267 :
39268 0 : SWIG_croak_null();
39269 : }
39270 : }
39271 :
39272 :
39273 0 : XS(_wrap_colorObj_red_get) {
39274 : {
39275 : colorObj *arg1 = (colorObj *) 0 ;
39276 0 : void *argp1 = 0 ;
39277 : int res1 = 0 ;
39278 : int argvi = 0;
39279 : int result;
39280 0 : dXSARGS;
39281 :
39282 0 : if ((items < 1) || (items > 1)) {
39283 0 : SWIG_croak("Usage: colorObj_red_get(self);");
39284 : }
39285 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39286 0 : if (!SWIG_IsOK(res1)) {
39287 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_red_get" "', argument " "1"" of type '" "colorObj *""'");
39288 : }
39289 0 : arg1 = (colorObj *)(argp1);
39290 0 : result = (int) ((arg1)->red);
39291 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39292 :
39293 0 : XSRETURN(argvi);
39294 : fail:
39295 :
39296 0 : SWIG_croak_null();
39297 : }
39298 : }
39299 :
39300 :
39301 0 : XS(_wrap_colorObj_green_set) {
39302 : {
39303 : colorObj *arg1 = (colorObj *) 0 ;
39304 : int arg2 ;
39305 0 : void *argp1 = 0 ;
39306 : int res1 = 0 ;
39307 : int val2 ;
39308 : int ecode2 = 0 ;
39309 : int argvi = 0;
39310 0 : dXSARGS;
39311 :
39312 0 : if ((items < 2) || (items > 2)) {
39313 0 : SWIG_croak("Usage: colorObj_green_set(self,green);");
39314 : }
39315 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39316 0 : if (!SWIG_IsOK(res1)) {
39317 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_green_set" "', argument " "1"" of type '" "colorObj *""'");
39318 : }
39319 0 : arg1 = (colorObj *)(argp1);
39320 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39321 0 : if (!SWIG_IsOK(ecode2)) {
39322 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_green_set" "', argument " "2"" of type '" "int""'");
39323 : }
39324 0 : arg2 = (int)(val2);
39325 0 : if (arg1) (arg1)->green = arg2;
39326 0 : ST(argvi) = sv_newmortal();
39327 :
39328 :
39329 0 : XSRETURN(argvi);
39330 : fail:
39331 :
39332 :
39333 0 : SWIG_croak_null();
39334 : }
39335 : }
39336 :
39337 :
39338 0 : XS(_wrap_colorObj_green_get) {
39339 : {
39340 : colorObj *arg1 = (colorObj *) 0 ;
39341 0 : void *argp1 = 0 ;
39342 : int res1 = 0 ;
39343 : int argvi = 0;
39344 : int result;
39345 0 : dXSARGS;
39346 :
39347 0 : if ((items < 1) || (items > 1)) {
39348 0 : SWIG_croak("Usage: colorObj_green_get(self);");
39349 : }
39350 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39351 0 : if (!SWIG_IsOK(res1)) {
39352 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_green_get" "', argument " "1"" of type '" "colorObj *""'");
39353 : }
39354 0 : arg1 = (colorObj *)(argp1);
39355 0 : result = (int) ((arg1)->green);
39356 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39357 :
39358 0 : XSRETURN(argvi);
39359 : fail:
39360 :
39361 0 : SWIG_croak_null();
39362 : }
39363 : }
39364 :
39365 :
39366 0 : XS(_wrap_colorObj_blue_set) {
39367 : {
39368 : colorObj *arg1 = (colorObj *) 0 ;
39369 : int arg2 ;
39370 0 : void *argp1 = 0 ;
39371 : int res1 = 0 ;
39372 : int val2 ;
39373 : int ecode2 = 0 ;
39374 : int argvi = 0;
39375 0 : dXSARGS;
39376 :
39377 0 : if ((items < 2) || (items > 2)) {
39378 0 : SWIG_croak("Usage: colorObj_blue_set(self,blue);");
39379 : }
39380 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39381 0 : if (!SWIG_IsOK(res1)) {
39382 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_blue_set" "', argument " "1"" of type '" "colorObj *""'");
39383 : }
39384 0 : arg1 = (colorObj *)(argp1);
39385 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39386 0 : if (!SWIG_IsOK(ecode2)) {
39387 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_blue_set" "', argument " "2"" of type '" "int""'");
39388 : }
39389 0 : arg2 = (int)(val2);
39390 0 : if (arg1) (arg1)->blue = arg2;
39391 0 : ST(argvi) = sv_newmortal();
39392 :
39393 :
39394 0 : XSRETURN(argvi);
39395 : fail:
39396 :
39397 :
39398 0 : SWIG_croak_null();
39399 : }
39400 : }
39401 :
39402 :
39403 0 : XS(_wrap_colorObj_blue_get) {
39404 : {
39405 : colorObj *arg1 = (colorObj *) 0 ;
39406 0 : void *argp1 = 0 ;
39407 : int res1 = 0 ;
39408 : int argvi = 0;
39409 : int result;
39410 0 : dXSARGS;
39411 :
39412 0 : if ((items < 1) || (items > 1)) {
39413 0 : SWIG_croak("Usage: colorObj_blue_get(self);");
39414 : }
39415 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39416 0 : if (!SWIG_IsOK(res1)) {
39417 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_blue_get" "', argument " "1"" of type '" "colorObj *""'");
39418 : }
39419 0 : arg1 = (colorObj *)(argp1);
39420 0 : result = (int) ((arg1)->blue);
39421 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39422 :
39423 0 : XSRETURN(argvi);
39424 : fail:
39425 :
39426 0 : SWIG_croak_null();
39427 : }
39428 : }
39429 :
39430 :
39431 0 : XS(_wrap_colorObj_alpha_set) {
39432 : {
39433 : colorObj *arg1 = (colorObj *) 0 ;
39434 : int arg2 ;
39435 0 : void *argp1 = 0 ;
39436 : int res1 = 0 ;
39437 : int val2 ;
39438 : int ecode2 = 0 ;
39439 : int argvi = 0;
39440 0 : dXSARGS;
39441 :
39442 0 : if ((items < 2) || (items > 2)) {
39443 0 : SWIG_croak("Usage: colorObj_alpha_set(self,alpha);");
39444 : }
39445 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39446 0 : if (!SWIG_IsOK(res1)) {
39447 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_alpha_set" "', argument " "1"" of type '" "colorObj *""'");
39448 : }
39449 0 : arg1 = (colorObj *)(argp1);
39450 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39451 0 : if (!SWIG_IsOK(ecode2)) {
39452 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_alpha_set" "', argument " "2"" of type '" "int""'");
39453 : }
39454 0 : arg2 = (int)(val2);
39455 0 : if (arg1) (arg1)->alpha = arg2;
39456 0 : ST(argvi) = sv_newmortal();
39457 :
39458 :
39459 0 : XSRETURN(argvi);
39460 : fail:
39461 :
39462 :
39463 0 : SWIG_croak_null();
39464 : }
39465 : }
39466 :
39467 :
39468 0 : XS(_wrap_colorObj_alpha_get) {
39469 : {
39470 : colorObj *arg1 = (colorObj *) 0 ;
39471 0 : void *argp1 = 0 ;
39472 : int res1 = 0 ;
39473 : int argvi = 0;
39474 : int result;
39475 0 : dXSARGS;
39476 :
39477 0 : if ((items < 1) || (items > 1)) {
39478 0 : SWIG_croak("Usage: colorObj_alpha_get(self);");
39479 : }
39480 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39481 0 : if (!SWIG_IsOK(res1)) {
39482 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_alpha_get" "', argument " "1"" of type '" "colorObj *""'");
39483 : }
39484 0 : arg1 = (colorObj *)(argp1);
39485 0 : result = (int) ((arg1)->alpha);
39486 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39487 :
39488 0 : XSRETURN(argvi);
39489 : fail:
39490 :
39491 0 : SWIG_croak_null();
39492 : }
39493 : }
39494 :
39495 :
39496 0 : XS(_wrap_new_colorObj) {
39497 : {
39498 : int arg1 = (int) 0 ;
39499 : int arg2 = (int) 0 ;
39500 : int arg3 = (int) 0 ;
39501 : int arg4 = (int) 255 ;
39502 : int val1 ;
39503 : int ecode1 = 0 ;
39504 : int val2 ;
39505 : int ecode2 = 0 ;
39506 : int val3 ;
39507 : int ecode3 = 0 ;
39508 : int val4 ;
39509 : int ecode4 = 0 ;
39510 : int argvi = 0;
39511 : colorObj *result = 0 ;
39512 0 : dXSARGS;
39513 :
39514 0 : if ((items < 0) || (items > 4)) {
39515 0 : SWIG_croak("Usage: new_colorObj(red,green,blue,alpha);");
39516 : }
39517 0 : if (items > 0) {
39518 0 : ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
39519 0 : if (!SWIG_IsOK(ecode1)) {
39520 0 : SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_colorObj" "', argument " "1"" of type '" "int""'");
39521 : }
39522 0 : arg1 = (int)(val1);
39523 : }
39524 0 : if (items > 1) {
39525 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39526 0 : if (!SWIG_IsOK(ecode2)) {
39527 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_colorObj" "', argument " "2"" of type '" "int""'");
39528 : }
39529 0 : arg2 = (int)(val2);
39530 : }
39531 0 : if (items > 2) {
39532 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
39533 0 : if (!SWIG_IsOK(ecode3)) {
39534 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_colorObj" "', argument " "3"" of type '" "int""'");
39535 : }
39536 0 : arg3 = (int)(val3);
39537 : }
39538 0 : if (items > 3) {
39539 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
39540 0 : if (!SWIG_IsOK(ecode4)) {
39541 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_colorObj" "', argument " "4"" of type '" "int""'");
39542 : }
39543 0 : arg4 = (int)(val4);
39544 : }
39545 0 : result = (colorObj *)new_colorObj(arg1,arg2,arg3,arg4);
39546 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
39547 :
39548 :
39549 :
39550 :
39551 0 : XSRETURN(argvi);
39552 : fail:
39553 :
39554 :
39555 :
39556 :
39557 0 : SWIG_croak_null();
39558 : }
39559 : }
39560 :
39561 :
39562 0 : XS(_wrap_delete_colorObj) {
39563 : {
39564 : colorObj *arg1 = (colorObj *) 0 ;
39565 0 : void *argp1 = 0 ;
39566 : int res1 = 0 ;
39567 : int argvi = 0;
39568 0 : dXSARGS;
39569 :
39570 0 : if ((items < 1) || (items > 1)) {
39571 0 : SWIG_croak("Usage: delete_colorObj(self);");
39572 : }
39573 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, SWIG_POINTER_DISOWN | 0 );
39574 0 : if (!SWIG_IsOK(res1)) {
39575 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_colorObj" "', argument " "1"" of type '" "colorObj *""'");
39576 : }
39577 0 : arg1 = (colorObj *)(argp1);
39578 : delete_colorObj(arg1);
39579 0 : ST(argvi) = sv_newmortal();
39580 :
39581 0 : XSRETURN(argvi);
39582 : fail:
39583 :
39584 0 : SWIG_croak_null();
39585 : }
39586 : }
39587 :
39588 :
39589 0 : XS(_wrap_colorObj_setRGB) {
39590 : {
39591 : colorObj *arg1 = (colorObj *) 0 ;
39592 : int arg2 ;
39593 : int arg3 ;
39594 : int arg4 ;
39595 : int arg5 = (int) 255 ;
39596 0 : void *argp1 = 0 ;
39597 : int res1 = 0 ;
39598 : int val2 ;
39599 : int ecode2 = 0 ;
39600 : int val3 ;
39601 : int ecode3 = 0 ;
39602 : int val4 ;
39603 : int ecode4 = 0 ;
39604 : int val5 ;
39605 : int ecode5 = 0 ;
39606 : int argvi = 0;
39607 : int result;
39608 0 : dXSARGS;
39609 :
39610 0 : if ((items < 4) || (items > 5)) {
39611 0 : SWIG_croak("Usage: colorObj_setRGB(self,red,green,blue,alpha);");
39612 : }
39613 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39614 0 : if (!SWIG_IsOK(res1)) {
39615 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_setRGB" "', argument " "1"" of type '" "colorObj *""'");
39616 : }
39617 0 : arg1 = (colorObj *)(argp1);
39618 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39619 0 : if (!SWIG_IsOK(ecode2)) {
39620 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_setRGB" "', argument " "2"" of type '" "int""'");
39621 : }
39622 0 : arg2 = (int)(val2);
39623 0 : ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
39624 0 : if (!SWIG_IsOK(ecode3)) {
39625 0 : SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "colorObj_setRGB" "', argument " "3"" of type '" "int""'");
39626 : }
39627 0 : arg3 = (int)(val3);
39628 0 : ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
39629 0 : if (!SWIG_IsOK(ecode4)) {
39630 0 : SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "colorObj_setRGB" "', argument " "4"" of type '" "int""'");
39631 : }
39632 0 : arg4 = (int)(val4);
39633 0 : if (items > 4) {
39634 0 : ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
39635 0 : if (!SWIG_IsOK(ecode5)) {
39636 0 : SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "colorObj_setRGB" "', argument " "5"" of type '" "int""'");
39637 : }
39638 0 : arg5 = (int)(val5);
39639 : }
39640 0 : result = (int)colorObj_setRGB(arg1,arg2,arg3,arg4,arg5);
39641 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39642 :
39643 :
39644 :
39645 :
39646 :
39647 0 : XSRETURN(argvi);
39648 : fail:
39649 :
39650 :
39651 :
39652 :
39653 :
39654 0 : SWIG_croak_null();
39655 : }
39656 : }
39657 :
39658 :
39659 0 : XS(_wrap_colorObj_setHex) {
39660 : {
39661 : colorObj *arg1 = (colorObj *) 0 ;
39662 : char *arg2 = (char *) 0 ;
39663 0 : void *argp1 = 0 ;
39664 : int res1 = 0 ;
39665 : int res2 ;
39666 0 : char *buf2 = 0 ;
39667 0 : int alloc2 = 0 ;
39668 : int argvi = 0;
39669 : int result;
39670 0 : dXSARGS;
39671 :
39672 0 : if ((items < 2) || (items > 2)) {
39673 0 : SWIG_croak("Usage: colorObj_setHex(self,psHexColor);");
39674 : }
39675 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39676 0 : if (!SWIG_IsOK(res1)) {
39677 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_setHex" "', argument " "1"" of type '" "colorObj *""'");
39678 : }
39679 0 : arg1 = (colorObj *)(argp1);
39680 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
39681 0 : if (!SWIG_IsOK(res2)) {
39682 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "colorObj_setHex" "', argument " "2"" of type '" "char *""'");
39683 : }
39684 0 : arg2 = (char *)(buf2);
39685 0 : result = (int)colorObj_setHex(arg1,arg2);
39686 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39687 :
39688 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
39689 0 : XSRETURN(argvi);
39690 : fail:
39691 :
39692 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
39693 0 : SWIG_croak_null();
39694 : }
39695 : }
39696 :
39697 :
39698 0 : XS(_wrap_colorObj_toHex) {
39699 : {
39700 : colorObj *arg1 = (colorObj *) 0 ;
39701 0 : void *argp1 = 0 ;
39702 : int res1 = 0 ;
39703 : int argvi = 0;
39704 : char *result = 0 ;
39705 0 : dXSARGS;
39706 :
39707 0 : if ((items < 1) || (items > 1)) {
39708 0 : SWIG_croak("Usage: colorObj_toHex(self);");
39709 : }
39710 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 | 0 );
39711 0 : if (!SWIG_IsOK(res1)) {
39712 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_toHex" "', argument " "1"" of type '" "colorObj *""'");
39713 : }
39714 0 : arg1 = (colorObj *)(argp1);
39715 0 : result = (char *)colorObj_toHex(arg1);
39716 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
39717 :
39718 0 : free((char*)result);
39719 0 : XSRETURN(argvi);
39720 : fail:
39721 :
39722 0 : SWIG_croak_null();
39723 : }
39724 : }
39725 :
39726 :
39727 0 : XS(_wrap_symbolObj_name_set) {
39728 : {
39729 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
39730 : char *arg2 = (char *) 0 ;
39731 0 : void *argp1 = 0 ;
39732 : int res1 = 0 ;
39733 : int res2 ;
39734 0 : char *buf2 = 0 ;
39735 0 : int alloc2 = 0 ;
39736 : int argvi = 0;
39737 0 : dXSARGS;
39738 :
39739 0 : if ((items < 2) || (items > 2)) {
39740 0 : SWIG_croak("Usage: symbolObj_name_set(self,name);");
39741 : }
39742 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
39743 0 : if (!SWIG_IsOK(res1)) {
39744 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_name_set" "', argument " "1"" of type '" "struct symbolObj *""'");
39745 : }
39746 0 : arg1 = (struct symbolObj *)(argp1);
39747 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
39748 0 : if (!SWIG_IsOK(res2)) {
39749 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_name_set" "', argument " "2"" of type '" "char *""'");
39750 : }
39751 0 : arg2 = (char *)(buf2);
39752 : {
39753 0 : if (arg1->name) free((char*)arg1->name);
39754 0 : if (arg2) {
39755 0 : arg1->name = (char *) malloc(strlen(arg2)+1);
39756 : strcpy((char*)arg1->name,arg2);
39757 : } else {
39758 0 : arg1->name = 0;
39759 : }
39760 : }
39761 0 : ST(argvi) = sv_newmortal();
39762 :
39763 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
39764 0 : XSRETURN(argvi);
39765 : fail:
39766 :
39767 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
39768 0 : SWIG_croak_null();
39769 : }
39770 : }
39771 :
39772 :
39773 0 : XS(_wrap_symbolObj_name_get) {
39774 : {
39775 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
39776 0 : void *argp1 = 0 ;
39777 : int res1 = 0 ;
39778 : int argvi = 0;
39779 : char *result = 0 ;
39780 0 : dXSARGS;
39781 :
39782 0 : if ((items < 1) || (items > 1)) {
39783 0 : SWIG_croak("Usage: symbolObj_name_get(self);");
39784 : }
39785 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
39786 0 : if (!SWIG_IsOK(res1)) {
39787 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_name_get" "', argument " "1"" of type '" "struct symbolObj *""'");
39788 : }
39789 0 : arg1 = (struct symbolObj *)(argp1);
39790 0 : result = (char *) ((arg1)->name);
39791 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
39792 :
39793 0 : XSRETURN(argvi);
39794 : fail:
39795 :
39796 0 : SWIG_croak_null();
39797 : }
39798 : }
39799 :
39800 :
39801 0 : XS(_wrap_symbolObj_type_set) {
39802 : {
39803 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
39804 : int arg2 ;
39805 0 : void *argp1 = 0 ;
39806 : int res1 = 0 ;
39807 : int val2 ;
39808 : int ecode2 = 0 ;
39809 : int argvi = 0;
39810 0 : dXSARGS;
39811 :
39812 0 : if ((items < 2) || (items > 2)) {
39813 0 : SWIG_croak("Usage: symbolObj_type_set(self,type);");
39814 : }
39815 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
39816 0 : if (!SWIG_IsOK(res1)) {
39817 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_type_set" "', argument " "1"" of type '" "struct symbolObj *""'");
39818 : }
39819 0 : arg1 = (struct symbolObj *)(argp1);
39820 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39821 0 : if (!SWIG_IsOK(ecode2)) {
39822 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_type_set" "', argument " "2"" of type '" "int""'");
39823 : }
39824 0 : arg2 = (int)(val2);
39825 0 : if (arg1) (arg1)->type = arg2;
39826 0 : ST(argvi) = sv_newmortal();
39827 :
39828 :
39829 0 : XSRETURN(argvi);
39830 : fail:
39831 :
39832 :
39833 0 : SWIG_croak_null();
39834 : }
39835 : }
39836 :
39837 :
39838 0 : XS(_wrap_symbolObj_type_get) {
39839 : {
39840 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
39841 0 : void *argp1 = 0 ;
39842 : int res1 = 0 ;
39843 : int argvi = 0;
39844 : int result;
39845 0 : dXSARGS;
39846 :
39847 0 : if ((items < 1) || (items > 1)) {
39848 0 : SWIG_croak("Usage: symbolObj_type_get(self);");
39849 : }
39850 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
39851 0 : if (!SWIG_IsOK(res1)) {
39852 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_type_get" "', argument " "1"" of type '" "struct symbolObj *""'");
39853 : }
39854 0 : arg1 = (struct symbolObj *)(argp1);
39855 0 : result = (int) ((arg1)->type);
39856 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39857 :
39858 0 : XSRETURN(argvi);
39859 : fail:
39860 :
39861 0 : SWIG_croak_null();
39862 : }
39863 : }
39864 :
39865 :
39866 0 : XS(_wrap_symbolObj_inmapfile_set) {
39867 : {
39868 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
39869 : int arg2 ;
39870 0 : void *argp1 = 0 ;
39871 : int res1 = 0 ;
39872 : int val2 ;
39873 : int ecode2 = 0 ;
39874 : int argvi = 0;
39875 0 : dXSARGS;
39876 :
39877 0 : if ((items < 2) || (items > 2)) {
39878 0 : SWIG_croak("Usage: symbolObj_inmapfile_set(self,inmapfile);");
39879 : }
39880 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
39881 0 : if (!SWIG_IsOK(res1)) {
39882 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_inmapfile_set" "', argument " "1"" of type '" "struct symbolObj *""'");
39883 : }
39884 0 : arg1 = (struct symbolObj *)(argp1);
39885 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39886 0 : if (!SWIG_IsOK(ecode2)) {
39887 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_inmapfile_set" "', argument " "2"" of type '" "int""'");
39888 : }
39889 0 : arg2 = (int)(val2);
39890 0 : if (arg1) (arg1)->inmapfile = arg2;
39891 0 : ST(argvi) = sv_newmortal();
39892 :
39893 :
39894 0 : XSRETURN(argvi);
39895 : fail:
39896 :
39897 :
39898 0 : SWIG_croak_null();
39899 : }
39900 : }
39901 :
39902 :
39903 0 : XS(_wrap_symbolObj_inmapfile_get) {
39904 : {
39905 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
39906 0 : void *argp1 = 0 ;
39907 : int res1 = 0 ;
39908 : int argvi = 0;
39909 : int result;
39910 0 : dXSARGS;
39911 :
39912 0 : if ((items < 1) || (items > 1)) {
39913 0 : SWIG_croak("Usage: symbolObj_inmapfile_get(self);");
39914 : }
39915 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
39916 0 : if (!SWIG_IsOK(res1)) {
39917 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_inmapfile_get" "', argument " "1"" of type '" "struct symbolObj *""'");
39918 : }
39919 0 : arg1 = (struct symbolObj *)(argp1);
39920 0 : result = (int) ((arg1)->inmapfile);
39921 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
39922 :
39923 0 : XSRETURN(argvi);
39924 : fail:
39925 :
39926 0 : SWIG_croak_null();
39927 : }
39928 : }
39929 :
39930 :
39931 0 : XS(_wrap_symbolObj_sizex_set) {
39932 : {
39933 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
39934 : double arg2 ;
39935 0 : void *argp1 = 0 ;
39936 : int res1 = 0 ;
39937 : double val2 ;
39938 : int ecode2 = 0 ;
39939 : int argvi = 0;
39940 0 : dXSARGS;
39941 :
39942 0 : if ((items < 2) || (items > 2)) {
39943 0 : SWIG_croak("Usage: symbolObj_sizex_set(self,sizex);");
39944 : }
39945 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
39946 0 : if (!SWIG_IsOK(res1)) {
39947 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizex_set" "', argument " "1"" of type '" "struct symbolObj *""'");
39948 : }
39949 0 : arg1 = (struct symbolObj *)(argp1);
39950 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
39951 0 : if (!SWIG_IsOK(ecode2)) {
39952 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_sizex_set" "', argument " "2"" of type '" "double""'");
39953 : }
39954 0 : arg2 = (double)(val2);
39955 0 : if (arg1) (arg1)->sizex = arg2;
39956 0 : ST(argvi) = sv_newmortal();
39957 :
39958 :
39959 0 : XSRETURN(argvi);
39960 : fail:
39961 :
39962 :
39963 0 : SWIG_croak_null();
39964 : }
39965 : }
39966 :
39967 :
39968 0 : XS(_wrap_symbolObj_sizex_get) {
39969 : {
39970 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
39971 0 : void *argp1 = 0 ;
39972 : int res1 = 0 ;
39973 : int argvi = 0;
39974 : double result;
39975 0 : dXSARGS;
39976 :
39977 0 : if ((items < 1) || (items > 1)) {
39978 0 : SWIG_croak("Usage: symbolObj_sizex_get(self);");
39979 : }
39980 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
39981 0 : if (!SWIG_IsOK(res1)) {
39982 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizex_get" "', argument " "1"" of type '" "struct symbolObj *""'");
39983 : }
39984 0 : arg1 = (struct symbolObj *)(argp1);
39985 0 : result = (double) ((arg1)->sizex);
39986 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
39987 :
39988 0 : XSRETURN(argvi);
39989 : fail:
39990 :
39991 0 : SWIG_croak_null();
39992 : }
39993 : }
39994 :
39995 :
39996 0 : XS(_wrap_symbolObj_sizey_set) {
39997 : {
39998 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
39999 : double arg2 ;
40000 0 : void *argp1 = 0 ;
40001 : int res1 = 0 ;
40002 : double val2 ;
40003 : int ecode2 = 0 ;
40004 : int argvi = 0;
40005 0 : dXSARGS;
40006 :
40007 0 : if ((items < 2) || (items > 2)) {
40008 0 : SWIG_croak("Usage: symbolObj_sizey_set(self,sizey);");
40009 : }
40010 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40011 0 : if (!SWIG_IsOK(res1)) {
40012 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizey_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40013 : }
40014 0 : arg1 = (struct symbolObj *)(argp1);
40015 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40016 0 : if (!SWIG_IsOK(ecode2)) {
40017 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_sizey_set" "', argument " "2"" of type '" "double""'");
40018 : }
40019 0 : arg2 = (double)(val2);
40020 0 : if (arg1) (arg1)->sizey = arg2;
40021 0 : ST(argvi) = sv_newmortal();
40022 :
40023 :
40024 0 : XSRETURN(argvi);
40025 : fail:
40026 :
40027 :
40028 0 : SWIG_croak_null();
40029 : }
40030 : }
40031 :
40032 :
40033 0 : XS(_wrap_symbolObj_sizey_get) {
40034 : {
40035 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40036 0 : void *argp1 = 0 ;
40037 : int res1 = 0 ;
40038 : int argvi = 0;
40039 : double result;
40040 0 : dXSARGS;
40041 :
40042 0 : if ((items < 1) || (items > 1)) {
40043 0 : SWIG_croak("Usage: symbolObj_sizey_get(self);");
40044 : }
40045 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40046 0 : if (!SWIG_IsOK(res1)) {
40047 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizey_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40048 : }
40049 0 : arg1 = (struct symbolObj *)(argp1);
40050 0 : result = (double) ((arg1)->sizey);
40051 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40052 :
40053 0 : XSRETURN(argvi);
40054 : fail:
40055 :
40056 0 : SWIG_croak_null();
40057 : }
40058 : }
40059 :
40060 :
40061 0 : XS(_wrap_symbolObj_minx_set) {
40062 : {
40063 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40064 : double arg2 ;
40065 0 : void *argp1 = 0 ;
40066 : int res1 = 0 ;
40067 : double val2 ;
40068 : int ecode2 = 0 ;
40069 : int argvi = 0;
40070 0 : dXSARGS;
40071 :
40072 0 : if ((items < 2) || (items > 2)) {
40073 0 : SWIG_croak("Usage: symbolObj_minx_set(self,minx);");
40074 : }
40075 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40076 0 : if (!SWIG_IsOK(res1)) {
40077 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_minx_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40078 : }
40079 0 : arg1 = (struct symbolObj *)(argp1);
40080 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40081 0 : if (!SWIG_IsOK(ecode2)) {
40082 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_minx_set" "', argument " "2"" of type '" "double""'");
40083 : }
40084 0 : arg2 = (double)(val2);
40085 0 : if (arg1) (arg1)->minx = arg2;
40086 0 : ST(argvi) = sv_newmortal();
40087 :
40088 :
40089 0 : XSRETURN(argvi);
40090 : fail:
40091 :
40092 :
40093 0 : SWIG_croak_null();
40094 : }
40095 : }
40096 :
40097 :
40098 0 : XS(_wrap_symbolObj_minx_get) {
40099 : {
40100 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40101 0 : void *argp1 = 0 ;
40102 : int res1 = 0 ;
40103 : int argvi = 0;
40104 : double result;
40105 0 : dXSARGS;
40106 :
40107 0 : if ((items < 1) || (items > 1)) {
40108 0 : SWIG_croak("Usage: symbolObj_minx_get(self);");
40109 : }
40110 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40111 0 : if (!SWIG_IsOK(res1)) {
40112 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_minx_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40113 : }
40114 0 : arg1 = (struct symbolObj *)(argp1);
40115 0 : result = (double) ((arg1)->minx);
40116 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40117 :
40118 0 : XSRETURN(argvi);
40119 : fail:
40120 :
40121 0 : SWIG_croak_null();
40122 : }
40123 : }
40124 :
40125 :
40126 0 : XS(_wrap_symbolObj_miny_set) {
40127 : {
40128 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40129 : double arg2 ;
40130 0 : void *argp1 = 0 ;
40131 : int res1 = 0 ;
40132 : double val2 ;
40133 : int ecode2 = 0 ;
40134 : int argvi = 0;
40135 0 : dXSARGS;
40136 :
40137 0 : if ((items < 2) || (items > 2)) {
40138 0 : SWIG_croak("Usage: symbolObj_miny_set(self,miny);");
40139 : }
40140 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40141 0 : if (!SWIG_IsOK(res1)) {
40142 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_miny_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40143 : }
40144 0 : arg1 = (struct symbolObj *)(argp1);
40145 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40146 0 : if (!SWIG_IsOK(ecode2)) {
40147 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_miny_set" "', argument " "2"" of type '" "double""'");
40148 : }
40149 0 : arg2 = (double)(val2);
40150 0 : if (arg1) (arg1)->miny = arg2;
40151 0 : ST(argvi) = sv_newmortal();
40152 :
40153 :
40154 0 : XSRETURN(argvi);
40155 : fail:
40156 :
40157 :
40158 0 : SWIG_croak_null();
40159 : }
40160 : }
40161 :
40162 :
40163 0 : XS(_wrap_symbolObj_miny_get) {
40164 : {
40165 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40166 0 : void *argp1 = 0 ;
40167 : int res1 = 0 ;
40168 : int argvi = 0;
40169 : double result;
40170 0 : dXSARGS;
40171 :
40172 0 : if ((items < 1) || (items > 1)) {
40173 0 : SWIG_croak("Usage: symbolObj_miny_get(self);");
40174 : }
40175 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40176 0 : if (!SWIG_IsOK(res1)) {
40177 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_miny_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40178 : }
40179 0 : arg1 = (struct symbolObj *)(argp1);
40180 0 : result = (double) ((arg1)->miny);
40181 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40182 :
40183 0 : XSRETURN(argvi);
40184 : fail:
40185 :
40186 0 : SWIG_croak_null();
40187 : }
40188 : }
40189 :
40190 :
40191 0 : XS(_wrap_symbolObj_maxx_set) {
40192 : {
40193 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40194 : double arg2 ;
40195 0 : void *argp1 = 0 ;
40196 : int res1 = 0 ;
40197 : double val2 ;
40198 : int ecode2 = 0 ;
40199 : int argvi = 0;
40200 0 : dXSARGS;
40201 :
40202 0 : if ((items < 2) || (items > 2)) {
40203 0 : SWIG_croak("Usage: symbolObj_maxx_set(self,maxx);");
40204 : }
40205 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40206 0 : if (!SWIG_IsOK(res1)) {
40207 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxx_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40208 : }
40209 0 : arg1 = (struct symbolObj *)(argp1);
40210 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40211 0 : if (!SWIG_IsOK(ecode2)) {
40212 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_maxx_set" "', argument " "2"" of type '" "double""'");
40213 : }
40214 0 : arg2 = (double)(val2);
40215 0 : if (arg1) (arg1)->maxx = arg2;
40216 0 : ST(argvi) = sv_newmortal();
40217 :
40218 :
40219 0 : XSRETURN(argvi);
40220 : fail:
40221 :
40222 :
40223 0 : SWIG_croak_null();
40224 : }
40225 : }
40226 :
40227 :
40228 0 : XS(_wrap_symbolObj_maxx_get) {
40229 : {
40230 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40231 0 : void *argp1 = 0 ;
40232 : int res1 = 0 ;
40233 : int argvi = 0;
40234 : double result;
40235 0 : dXSARGS;
40236 :
40237 0 : if ((items < 1) || (items > 1)) {
40238 0 : SWIG_croak("Usage: symbolObj_maxx_get(self);");
40239 : }
40240 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40241 0 : if (!SWIG_IsOK(res1)) {
40242 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxx_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40243 : }
40244 0 : arg1 = (struct symbolObj *)(argp1);
40245 0 : result = (double) ((arg1)->maxx);
40246 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40247 :
40248 0 : XSRETURN(argvi);
40249 : fail:
40250 :
40251 0 : SWIG_croak_null();
40252 : }
40253 : }
40254 :
40255 :
40256 0 : XS(_wrap_symbolObj_maxy_set) {
40257 : {
40258 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40259 : double arg2 ;
40260 0 : void *argp1 = 0 ;
40261 : int res1 = 0 ;
40262 : double val2 ;
40263 : int ecode2 = 0 ;
40264 : int argvi = 0;
40265 0 : dXSARGS;
40266 :
40267 0 : if ((items < 2) || (items > 2)) {
40268 0 : SWIG_croak("Usage: symbolObj_maxy_set(self,maxy);");
40269 : }
40270 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40271 0 : if (!SWIG_IsOK(res1)) {
40272 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxy_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40273 : }
40274 0 : arg1 = (struct symbolObj *)(argp1);
40275 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40276 0 : if (!SWIG_IsOK(ecode2)) {
40277 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_maxy_set" "', argument " "2"" of type '" "double""'");
40278 : }
40279 0 : arg2 = (double)(val2);
40280 0 : if (arg1) (arg1)->maxy = arg2;
40281 0 : ST(argvi) = sv_newmortal();
40282 :
40283 :
40284 0 : XSRETURN(argvi);
40285 : fail:
40286 :
40287 :
40288 0 : SWIG_croak_null();
40289 : }
40290 : }
40291 :
40292 :
40293 0 : XS(_wrap_symbolObj_maxy_get) {
40294 : {
40295 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40296 0 : void *argp1 = 0 ;
40297 : int res1 = 0 ;
40298 : int argvi = 0;
40299 : double result;
40300 0 : dXSARGS;
40301 :
40302 0 : if ((items < 1) || (items > 1)) {
40303 0 : SWIG_croak("Usage: symbolObj_maxy_get(self);");
40304 : }
40305 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40306 0 : if (!SWIG_IsOK(res1)) {
40307 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxy_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40308 : }
40309 0 : arg1 = (struct symbolObj *)(argp1);
40310 0 : result = (double) ((arg1)->maxy);
40311 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40312 :
40313 0 : XSRETURN(argvi);
40314 : fail:
40315 :
40316 0 : SWIG_croak_null();
40317 : }
40318 : }
40319 :
40320 :
40321 0 : XS(_wrap_symbolObj_refcount_get) {
40322 : {
40323 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40324 0 : void *argp1 = 0 ;
40325 : int res1 = 0 ;
40326 : int argvi = 0;
40327 : int result;
40328 0 : dXSARGS;
40329 :
40330 0 : if ((items < 1) || (items > 1)) {
40331 0 : SWIG_croak("Usage: symbolObj_refcount_get(self);");
40332 : }
40333 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40334 0 : if (!SWIG_IsOK(res1)) {
40335 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_refcount_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40336 : }
40337 0 : arg1 = (struct symbolObj *)(argp1);
40338 0 : result = (int) ((arg1)->refcount);
40339 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
40340 :
40341 0 : XSRETURN(argvi);
40342 : fail:
40343 :
40344 0 : SWIG_croak_null();
40345 : }
40346 : }
40347 :
40348 :
40349 0 : XS(_wrap_symbolObj_numpoints_get) {
40350 : {
40351 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40352 0 : void *argp1 = 0 ;
40353 : int res1 = 0 ;
40354 : int argvi = 0;
40355 : int result;
40356 0 : dXSARGS;
40357 :
40358 0 : if ((items < 1) || (items > 1)) {
40359 0 : SWIG_croak("Usage: symbolObj_numpoints_get(self);");
40360 : }
40361 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40362 0 : if (!SWIG_IsOK(res1)) {
40363 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_numpoints_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40364 : }
40365 0 : arg1 = (struct symbolObj *)(argp1);
40366 0 : result = (int) ((arg1)->numpoints);
40367 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
40368 :
40369 0 : XSRETURN(argvi);
40370 : fail:
40371 :
40372 0 : SWIG_croak_null();
40373 : }
40374 : }
40375 :
40376 :
40377 0 : XS(_wrap_symbolObj_filled_set) {
40378 : {
40379 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40380 : int arg2 ;
40381 0 : void *argp1 = 0 ;
40382 : int res1 = 0 ;
40383 : int val2 ;
40384 : int ecode2 = 0 ;
40385 : int argvi = 0;
40386 0 : dXSARGS;
40387 :
40388 0 : if ((items < 2) || (items > 2)) {
40389 0 : SWIG_croak("Usage: symbolObj_filled_set(self,filled);");
40390 : }
40391 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40392 0 : if (!SWIG_IsOK(res1)) {
40393 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_filled_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40394 : }
40395 0 : arg1 = (struct symbolObj *)(argp1);
40396 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40397 0 : if (!SWIG_IsOK(ecode2)) {
40398 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_filled_set" "', argument " "2"" of type '" "int""'");
40399 : }
40400 0 : arg2 = (int)(val2);
40401 0 : if (arg1) (arg1)->filled = arg2;
40402 0 : ST(argvi) = sv_newmortal();
40403 :
40404 :
40405 0 : XSRETURN(argvi);
40406 : fail:
40407 :
40408 :
40409 0 : SWIG_croak_null();
40410 : }
40411 : }
40412 :
40413 :
40414 0 : XS(_wrap_symbolObj_filled_get) {
40415 : {
40416 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40417 0 : void *argp1 = 0 ;
40418 : int res1 = 0 ;
40419 : int argvi = 0;
40420 : int result;
40421 0 : dXSARGS;
40422 :
40423 0 : if ((items < 1) || (items > 1)) {
40424 0 : SWIG_croak("Usage: symbolObj_filled_get(self);");
40425 : }
40426 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40427 0 : if (!SWIG_IsOK(res1)) {
40428 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_filled_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40429 : }
40430 0 : arg1 = (struct symbolObj *)(argp1);
40431 0 : result = (int) ((arg1)->filled);
40432 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
40433 :
40434 0 : XSRETURN(argvi);
40435 : fail:
40436 :
40437 0 : SWIG_croak_null();
40438 : }
40439 : }
40440 :
40441 :
40442 0 : XS(_wrap_symbolObj_anchorpoint_x_set) {
40443 : {
40444 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40445 : double arg2 ;
40446 0 : void *argp1 = 0 ;
40447 : int res1 = 0 ;
40448 : double val2 ;
40449 : int ecode2 = 0 ;
40450 : int argvi = 0;
40451 0 : dXSARGS;
40452 :
40453 0 : if ((items < 2) || (items > 2)) {
40454 0 : SWIG_croak("Usage: symbolObj_anchorpoint_x_set(self,anchorpoint_x);");
40455 : }
40456 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40457 0 : if (!SWIG_IsOK(res1)) {
40458 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_x_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40459 : }
40460 0 : arg1 = (struct symbolObj *)(argp1);
40461 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40462 0 : if (!SWIG_IsOK(ecode2)) {
40463 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_anchorpoint_x_set" "', argument " "2"" of type '" "double""'");
40464 : }
40465 0 : arg2 = (double)(val2);
40466 0 : if (arg1) (arg1)->anchorpoint_x = arg2;
40467 0 : ST(argvi) = sv_newmortal();
40468 :
40469 :
40470 0 : XSRETURN(argvi);
40471 : fail:
40472 :
40473 :
40474 0 : SWIG_croak_null();
40475 : }
40476 : }
40477 :
40478 :
40479 0 : XS(_wrap_symbolObj_anchorpoint_x_get) {
40480 : {
40481 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40482 0 : void *argp1 = 0 ;
40483 : int res1 = 0 ;
40484 : int argvi = 0;
40485 : double result;
40486 0 : dXSARGS;
40487 :
40488 0 : if ((items < 1) || (items > 1)) {
40489 0 : SWIG_croak("Usage: symbolObj_anchorpoint_x_get(self);");
40490 : }
40491 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40492 0 : if (!SWIG_IsOK(res1)) {
40493 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_x_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40494 : }
40495 0 : arg1 = (struct symbolObj *)(argp1);
40496 0 : result = (double) ((arg1)->anchorpoint_x);
40497 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40498 :
40499 0 : XSRETURN(argvi);
40500 : fail:
40501 :
40502 0 : SWIG_croak_null();
40503 : }
40504 : }
40505 :
40506 :
40507 0 : XS(_wrap_symbolObj_anchorpoint_y_set) {
40508 : {
40509 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40510 : double arg2 ;
40511 0 : void *argp1 = 0 ;
40512 : int res1 = 0 ;
40513 : double val2 ;
40514 : int ecode2 = 0 ;
40515 : int argvi = 0;
40516 0 : dXSARGS;
40517 :
40518 0 : if ((items < 2) || (items > 2)) {
40519 0 : SWIG_croak("Usage: symbolObj_anchorpoint_y_set(self,anchorpoint_y);");
40520 : }
40521 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40522 0 : if (!SWIG_IsOK(res1)) {
40523 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_y_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40524 : }
40525 0 : arg1 = (struct symbolObj *)(argp1);
40526 0 : ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40527 0 : if (!SWIG_IsOK(ecode2)) {
40528 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_anchorpoint_y_set" "', argument " "2"" of type '" "double""'");
40529 : }
40530 0 : arg2 = (double)(val2);
40531 0 : if (arg1) (arg1)->anchorpoint_y = arg2;
40532 0 : ST(argvi) = sv_newmortal();
40533 :
40534 :
40535 0 : XSRETURN(argvi);
40536 : fail:
40537 :
40538 :
40539 0 : SWIG_croak_null();
40540 : }
40541 : }
40542 :
40543 :
40544 0 : XS(_wrap_symbolObj_anchorpoint_y_get) {
40545 : {
40546 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40547 0 : void *argp1 = 0 ;
40548 : int res1 = 0 ;
40549 : int argvi = 0;
40550 : double result;
40551 0 : dXSARGS;
40552 :
40553 0 : if ((items < 1) || (items > 1)) {
40554 0 : SWIG_croak("Usage: symbolObj_anchorpoint_y_get(self);");
40555 : }
40556 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40557 0 : if (!SWIG_IsOK(res1)) {
40558 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_y_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40559 : }
40560 0 : arg1 = (struct symbolObj *)(argp1);
40561 0 : result = (double) ((arg1)->anchorpoint_y);
40562 0 : ST(argvi) = SWIG_From_double SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
40563 :
40564 0 : XSRETURN(argvi);
40565 : fail:
40566 :
40567 0 : SWIG_croak_null();
40568 : }
40569 : }
40570 :
40571 :
40572 0 : XS(_wrap_symbolObj_imagepath_get) {
40573 : {
40574 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40575 0 : void *argp1 = 0 ;
40576 : int res1 = 0 ;
40577 : int argvi = 0;
40578 : char *result = 0 ;
40579 0 : dXSARGS;
40580 :
40581 0 : if ((items < 1) || (items > 1)) {
40582 0 : SWIG_croak("Usage: symbolObj_imagepath_get(self);");
40583 : }
40584 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40585 0 : if (!SWIG_IsOK(res1)) {
40586 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_imagepath_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40587 : }
40588 0 : arg1 = (struct symbolObj *)(argp1);
40589 0 : result = (char *) ((arg1)->imagepath);
40590 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
40591 :
40592 0 : XSRETURN(argvi);
40593 : fail:
40594 :
40595 0 : SWIG_croak_null();
40596 : }
40597 : }
40598 :
40599 :
40600 0 : XS(_wrap_symbolObj_transparent_set) {
40601 : {
40602 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40603 : int arg2 ;
40604 0 : void *argp1 = 0 ;
40605 : int res1 = 0 ;
40606 : int val2 ;
40607 : int ecode2 = 0 ;
40608 : int argvi = 0;
40609 0 : dXSARGS;
40610 :
40611 0 : if ((items < 2) || (items > 2)) {
40612 0 : SWIG_croak("Usage: symbolObj_transparent_set(self,transparent);");
40613 : }
40614 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40615 0 : if (!SWIG_IsOK(res1)) {
40616 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparent_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40617 : }
40618 0 : arg1 = (struct symbolObj *)(argp1);
40619 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40620 0 : if (!SWIG_IsOK(ecode2)) {
40621 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_transparent_set" "', argument " "2"" of type '" "int""'");
40622 : }
40623 0 : arg2 = (int)(val2);
40624 0 : if (arg1) (arg1)->transparent = arg2;
40625 0 : ST(argvi) = sv_newmortal();
40626 :
40627 :
40628 0 : XSRETURN(argvi);
40629 : fail:
40630 :
40631 :
40632 0 : SWIG_croak_null();
40633 : }
40634 : }
40635 :
40636 :
40637 0 : XS(_wrap_symbolObj_transparent_get) {
40638 : {
40639 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40640 0 : void *argp1 = 0 ;
40641 : int res1 = 0 ;
40642 : int argvi = 0;
40643 : int result;
40644 0 : dXSARGS;
40645 :
40646 0 : if ((items < 1) || (items > 1)) {
40647 0 : SWIG_croak("Usage: symbolObj_transparent_get(self);");
40648 : }
40649 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40650 0 : if (!SWIG_IsOK(res1)) {
40651 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparent_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40652 : }
40653 0 : arg1 = (struct symbolObj *)(argp1);
40654 0 : result = (int) ((arg1)->transparent);
40655 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
40656 :
40657 0 : XSRETURN(argvi);
40658 : fail:
40659 :
40660 0 : SWIG_croak_null();
40661 : }
40662 : }
40663 :
40664 :
40665 0 : XS(_wrap_symbolObj_transparentcolor_set) {
40666 : {
40667 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40668 : int arg2 ;
40669 0 : void *argp1 = 0 ;
40670 : int res1 = 0 ;
40671 : int val2 ;
40672 : int ecode2 = 0 ;
40673 : int argvi = 0;
40674 0 : dXSARGS;
40675 :
40676 0 : if ((items < 2) || (items > 2)) {
40677 0 : SWIG_croak("Usage: symbolObj_transparentcolor_set(self,transparentcolor);");
40678 : }
40679 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40680 0 : if (!SWIG_IsOK(res1)) {
40681 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparentcolor_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40682 : }
40683 0 : arg1 = (struct symbolObj *)(argp1);
40684 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
40685 0 : if (!SWIG_IsOK(ecode2)) {
40686 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_transparentcolor_set" "', argument " "2"" of type '" "int""'");
40687 : }
40688 0 : arg2 = (int)(val2);
40689 0 : if (arg1) (arg1)->transparentcolor = arg2;
40690 0 : ST(argvi) = sv_newmortal();
40691 :
40692 :
40693 0 : XSRETURN(argvi);
40694 : fail:
40695 :
40696 :
40697 0 : SWIG_croak_null();
40698 : }
40699 : }
40700 :
40701 :
40702 0 : XS(_wrap_symbolObj_transparentcolor_get) {
40703 : {
40704 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40705 0 : void *argp1 = 0 ;
40706 : int res1 = 0 ;
40707 : int argvi = 0;
40708 : int result;
40709 0 : dXSARGS;
40710 :
40711 0 : if ((items < 1) || (items > 1)) {
40712 0 : SWIG_croak("Usage: symbolObj_transparentcolor_get(self);");
40713 : }
40714 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40715 0 : if (!SWIG_IsOK(res1)) {
40716 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparentcolor_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40717 : }
40718 0 : arg1 = (struct symbolObj *)(argp1);
40719 0 : result = (int) ((arg1)->transparentcolor);
40720 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
40721 :
40722 0 : XSRETURN(argvi);
40723 : fail:
40724 :
40725 0 : SWIG_croak_null();
40726 : }
40727 : }
40728 :
40729 :
40730 0 : XS(_wrap_symbolObj_character_set) {
40731 : {
40732 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40733 : char *arg2 = (char *) 0 ;
40734 0 : void *argp1 = 0 ;
40735 : int res1 = 0 ;
40736 : int res2 ;
40737 0 : char *buf2 = 0 ;
40738 0 : int alloc2 = 0 ;
40739 : int argvi = 0;
40740 0 : dXSARGS;
40741 :
40742 0 : if ((items < 2) || (items > 2)) {
40743 0 : SWIG_croak("Usage: symbolObj_character_set(self,character);");
40744 : }
40745 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40746 0 : if (!SWIG_IsOK(res1)) {
40747 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_character_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40748 : }
40749 0 : arg1 = (struct symbolObj *)(argp1);
40750 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
40751 0 : if (!SWIG_IsOK(res2)) {
40752 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_character_set" "', argument " "2"" of type '" "char *""'");
40753 : }
40754 0 : arg2 = (char *)(buf2);
40755 : {
40756 0 : if (arg1->character) free((char*)arg1->character);
40757 0 : if (arg2) {
40758 0 : arg1->character = (char *) malloc(strlen(arg2)+1);
40759 : strcpy((char*)arg1->character,arg2);
40760 : } else {
40761 0 : arg1->character = 0;
40762 : }
40763 : }
40764 0 : ST(argvi) = sv_newmortal();
40765 :
40766 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
40767 0 : XSRETURN(argvi);
40768 : fail:
40769 :
40770 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
40771 0 : SWIG_croak_null();
40772 : }
40773 : }
40774 :
40775 :
40776 0 : XS(_wrap_symbolObj_character_get) {
40777 : {
40778 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40779 0 : void *argp1 = 0 ;
40780 : int res1 = 0 ;
40781 : int argvi = 0;
40782 : char *result = 0 ;
40783 0 : dXSARGS;
40784 :
40785 0 : if ((items < 1) || (items > 1)) {
40786 0 : SWIG_croak("Usage: symbolObj_character_get(self);");
40787 : }
40788 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40789 0 : if (!SWIG_IsOK(res1)) {
40790 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_character_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40791 : }
40792 0 : arg1 = (struct symbolObj *)(argp1);
40793 0 : result = (char *) ((arg1)->character);
40794 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
40795 :
40796 0 : XSRETURN(argvi);
40797 : fail:
40798 :
40799 0 : SWIG_croak_null();
40800 : }
40801 : }
40802 :
40803 :
40804 0 : XS(_wrap_symbolObj_font_set) {
40805 : {
40806 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40807 : char *arg2 = (char *) 0 ;
40808 0 : void *argp1 = 0 ;
40809 : int res1 = 0 ;
40810 : int res2 ;
40811 0 : char *buf2 = 0 ;
40812 0 : int alloc2 = 0 ;
40813 : int argvi = 0;
40814 0 : dXSARGS;
40815 :
40816 0 : if ((items < 2) || (items > 2)) {
40817 0 : SWIG_croak("Usage: symbolObj_font_set(self,font);");
40818 : }
40819 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40820 0 : if (!SWIG_IsOK(res1)) {
40821 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_font_set" "', argument " "1"" of type '" "struct symbolObj *""'");
40822 : }
40823 0 : arg1 = (struct symbolObj *)(argp1);
40824 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
40825 0 : if (!SWIG_IsOK(res2)) {
40826 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_font_set" "', argument " "2"" of type '" "char *""'");
40827 : }
40828 0 : arg2 = (char *)(buf2);
40829 : {
40830 0 : if (arg1->font) free((char*)arg1->font);
40831 0 : if (arg2) {
40832 0 : arg1->font = (char *) malloc(strlen(arg2)+1);
40833 : strcpy((char*)arg1->font,arg2);
40834 : } else {
40835 0 : arg1->font = 0;
40836 : }
40837 : }
40838 0 : ST(argvi) = sv_newmortal();
40839 :
40840 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
40841 0 : XSRETURN(argvi);
40842 : fail:
40843 :
40844 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
40845 0 : SWIG_croak_null();
40846 : }
40847 : }
40848 :
40849 :
40850 0 : XS(_wrap_symbolObj_font_get) {
40851 : {
40852 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40853 0 : void *argp1 = 0 ;
40854 : int res1 = 0 ;
40855 : int argvi = 0;
40856 : char *result = 0 ;
40857 0 : dXSARGS;
40858 :
40859 0 : if ((items < 1) || (items > 1)) {
40860 0 : SWIG_croak("Usage: symbolObj_font_get(self);");
40861 : }
40862 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40863 0 : if (!SWIG_IsOK(res1)) {
40864 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_font_get" "', argument " "1"" of type '" "struct symbolObj *""'");
40865 : }
40866 0 : arg1 = (struct symbolObj *)(argp1);
40867 0 : result = (char *) ((arg1)->font);
40868 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
40869 :
40870 0 : XSRETURN(argvi);
40871 : fail:
40872 :
40873 0 : SWIG_croak_null();
40874 : }
40875 : }
40876 :
40877 :
40878 0 : XS(_wrap_new_symbolObj) {
40879 : {
40880 : char *arg1 = (char *) 0 ;
40881 : char *arg2 = (char *) NULL ;
40882 : int res1 ;
40883 0 : char *buf1 = 0 ;
40884 0 : int alloc1 = 0 ;
40885 : int res2 ;
40886 0 : char *buf2 = 0 ;
40887 0 : int alloc2 = 0 ;
40888 : int argvi = 0;
40889 : struct symbolObj *result = 0 ;
40890 0 : dXSARGS;
40891 :
40892 0 : if ((items < 1) || (items > 2)) {
40893 0 : SWIG_croak("Usage: new_symbolObj(symbolname,imagefile);");
40894 : }
40895 0 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
40896 0 : if (!SWIG_IsOK(res1)) {
40897 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_symbolObj" "', argument " "1"" of type '" "char *""'");
40898 : }
40899 0 : arg1 = (char *)(buf1);
40900 0 : if (items > 1) {
40901 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
40902 0 : if (!SWIG_IsOK(res2)) {
40903 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_symbolObj" "', argument " "2"" of type '" "char const *""'");
40904 : }
40905 0 : arg2 = (char *)(buf2);
40906 : }
40907 0 : result = (struct symbolObj *)new_symbolObj(arg1,(char const *)arg2);
40908 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
40909 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
40910 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
40911 0 : XSRETURN(argvi);
40912 : fail:
40913 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
40914 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
40915 0 : SWIG_croak_null();
40916 : }
40917 : }
40918 :
40919 :
40920 0 : XS(_wrap_delete_symbolObj) {
40921 : {
40922 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40923 0 : void *argp1 = 0 ;
40924 : int res1 = 0 ;
40925 : int argvi = 0;
40926 0 : dXSARGS;
40927 :
40928 0 : if ((items < 1) || (items > 1)) {
40929 0 : SWIG_croak("Usage: delete_symbolObj(self);");
40930 : }
40931 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, SWIG_POINTER_DISOWN | 0 );
40932 0 : if (!SWIG_IsOK(res1)) {
40933 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_symbolObj" "', argument " "1"" of type '" "struct symbolObj *""'");
40934 : }
40935 0 : arg1 = (struct symbolObj *)(argp1);
40936 0 : delete_symbolObj(arg1);
40937 0 : ST(argvi) = sv_newmortal();
40938 :
40939 0 : XSRETURN(argvi);
40940 : fail:
40941 :
40942 0 : SWIG_croak_null();
40943 : }
40944 : }
40945 :
40946 :
40947 0 : XS(_wrap_symbolObj_setImagepath) {
40948 : {
40949 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40950 : char *arg2 = (char *) 0 ;
40951 0 : void *argp1 = 0 ;
40952 : int res1 = 0 ;
40953 : int res2 ;
40954 0 : char *buf2 = 0 ;
40955 0 : int alloc2 = 0 ;
40956 : int argvi = 0;
40957 : int result;
40958 0 : dXSARGS;
40959 :
40960 0 : if ((items < 2) || (items > 2)) {
40961 0 : SWIG_croak("Usage: symbolObj_setImagepath(self,imagefile);");
40962 : }
40963 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
40964 0 : if (!SWIG_IsOK(res1)) {
40965 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_setImagepath" "', argument " "1"" of type '" "struct symbolObj *""'");
40966 : }
40967 0 : arg1 = (struct symbolObj *)(argp1);
40968 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
40969 0 : if (!SWIG_IsOK(res2)) {
40970 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_setImagepath" "', argument " "2"" of type '" "char const *""'");
40971 : }
40972 0 : arg2 = (char *)(buf2);
40973 : result = (int)symbolObj_setImagepath(arg1,(char const *)arg2);
40974 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
40975 :
40976 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
40977 0 : XSRETURN(argvi);
40978 : fail:
40979 :
40980 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
40981 0 : SWIG_croak_null();
40982 : }
40983 : }
40984 :
40985 :
40986 0 : XS(_wrap_symbolObj_setPoints) {
40987 : {
40988 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
40989 : lineObj *arg2 = (lineObj *) 0 ;
40990 0 : void *argp1 = 0 ;
40991 : int res1 = 0 ;
40992 0 : void *argp2 = 0 ;
40993 : int res2 = 0 ;
40994 : int argvi = 0;
40995 : int result;
40996 0 : dXSARGS;
40997 :
40998 0 : if ((items < 2) || (items > 2)) {
40999 0 : SWIG_croak("Usage: symbolObj_setPoints(self,line);");
41000 : }
41001 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41002 0 : if (!SWIG_IsOK(res1)) {
41003 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_setPoints" "', argument " "1"" of type '" "struct symbolObj *""'");
41004 : }
41005 0 : arg1 = (struct symbolObj *)(argp1);
41006 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_lineObj, 0 | 0 );
41007 0 : if (!SWIG_IsOK(res2)) {
41008 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_setPoints" "', argument " "2"" of type '" "lineObj *""'");
41009 : }
41010 0 : arg2 = (lineObj *)(argp2);
41011 0 : result = (int)symbolObj_setPoints(arg1,arg2);
41012 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41013 :
41014 :
41015 0 : XSRETURN(argvi);
41016 : fail:
41017 :
41018 :
41019 0 : SWIG_croak_null();
41020 : }
41021 : }
41022 :
41023 :
41024 0 : XS(_wrap_symbolObj_getPoints) {
41025 : {
41026 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41027 0 : void *argp1 = 0 ;
41028 : int res1 = 0 ;
41029 : int argvi = 0;
41030 : lineObj *result = 0 ;
41031 0 : dXSARGS;
41032 :
41033 0 : if ((items < 1) || (items > 1)) {
41034 0 : SWIG_croak("Usage: symbolObj_getPoints(self);");
41035 : }
41036 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41037 0 : if (!SWIG_IsOK(res1)) {
41038 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_getPoints" "', argument " "1"" of type '" "struct symbolObj *""'");
41039 : }
41040 0 : arg1 = (struct symbolObj *)(argp1);
41041 0 : result = (lineObj *)symbolObj_getPoints(arg1);
41042 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
41043 :
41044 0 : XSRETURN(argvi);
41045 : fail:
41046 :
41047 0 : SWIG_croak_null();
41048 : }
41049 : }
41050 :
41051 :
41052 0 : XS(_wrap_symbolObj_getImage) {
41053 : {
41054 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41055 : outputFormatObj *arg2 = (outputFormatObj *) 0 ;
41056 0 : void *argp1 = 0 ;
41057 : int res1 = 0 ;
41058 0 : void *argp2 = 0 ;
41059 : int res2 = 0 ;
41060 : int argvi = 0;
41061 : imageObj *result = 0 ;
41062 0 : dXSARGS;
41063 :
41064 0 : if ((items < 2) || (items > 2)) {
41065 0 : SWIG_croak("Usage: symbolObj_getImage(self,input_format);");
41066 : }
41067 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41068 0 : if (!SWIG_IsOK(res1)) {
41069 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_getImage" "', argument " "1"" of type '" "struct symbolObj *""'");
41070 : }
41071 0 : arg1 = (struct symbolObj *)(argp1);
41072 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_outputFormatObj, 0 | 0 );
41073 0 : if (!SWIG_IsOK(res2)) {
41074 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_getImage" "', argument " "2"" of type '" "outputFormatObj *""'");
41075 : }
41076 0 : arg2 = (outputFormatObj *)(argp2);
41077 0 : result = (imageObj *)symbolObj_getImage(arg1,arg2);
41078 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
41079 :
41080 :
41081 0 : XSRETURN(argvi);
41082 : fail:
41083 :
41084 :
41085 0 : SWIG_croak_null();
41086 : }
41087 : }
41088 :
41089 :
41090 0 : XS(_wrap_symbolObj_setImage) {
41091 : {
41092 : struct symbolObj *arg1 = (struct symbolObj *) 0 ;
41093 : imageObj *arg2 = (imageObj *) 0 ;
41094 0 : void *argp1 = 0 ;
41095 : int res1 = 0 ;
41096 0 : void *argp2 = 0 ;
41097 : int res2 = 0 ;
41098 : int argvi = 0;
41099 : int result;
41100 0 : dXSARGS;
41101 :
41102 0 : if ((items < 2) || (items > 2)) {
41103 0 : SWIG_croak("Usage: symbolObj_setImage(self,image);");
41104 : }
41105 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 | 0 );
41106 0 : if (!SWIG_IsOK(res1)) {
41107 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_setImage" "', argument " "1"" of type '" "struct symbolObj *""'");
41108 : }
41109 0 : arg1 = (struct symbolObj *)(argp1);
41110 0 : res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 | 0 );
41111 0 : if (!SWIG_IsOK(res2)) {
41112 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_setImage" "', argument " "2"" of type '" "imageObj *""'");
41113 : }
41114 0 : arg2 = (imageObj *)(argp2);
41115 0 : result = (int)symbolObj_setImage(arg1,arg2);
41116 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41117 :
41118 :
41119 0 : XSRETURN(argvi);
41120 : fail:
41121 :
41122 :
41123 0 : SWIG_croak_null();
41124 : }
41125 : }
41126 :
41127 :
41128 0 : XS(_wrap_errorObj_code_set) {
41129 : {
41130 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41131 : int arg2 ;
41132 0 : void *argp1 = 0 ;
41133 : int res1 = 0 ;
41134 : int val2 ;
41135 : int ecode2 = 0 ;
41136 : int argvi = 0;
41137 0 : dXSARGS;
41138 :
41139 0 : if ((items < 2) || (items > 2)) {
41140 0 : SWIG_croak("Usage: errorObj_code_set(self,code);");
41141 : }
41142 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41143 0 : if (!SWIG_IsOK(res1)) {
41144 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_code_set" "', argument " "1"" of type '" "struct errorObj *""'");
41145 : }
41146 0 : arg1 = (struct errorObj *)(argp1);
41147 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
41148 0 : if (!SWIG_IsOK(ecode2)) {
41149 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "errorObj_code_set" "', argument " "2"" of type '" "int""'");
41150 : }
41151 0 : arg2 = (int)(val2);
41152 0 : if (arg1) (arg1)->code = arg2;
41153 0 : ST(argvi) = sv_newmortal();
41154 :
41155 :
41156 0 : XSRETURN(argvi);
41157 : fail:
41158 :
41159 :
41160 0 : SWIG_croak_null();
41161 : }
41162 : }
41163 :
41164 :
41165 0 : XS(_wrap_errorObj_code_get) {
41166 : {
41167 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41168 0 : void *argp1 = 0 ;
41169 : int res1 = 0 ;
41170 : int argvi = 0;
41171 : int result;
41172 0 : dXSARGS;
41173 :
41174 0 : if ((items < 1) || (items > 1)) {
41175 0 : SWIG_croak("Usage: errorObj_code_get(self);");
41176 : }
41177 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41178 0 : if (!SWIG_IsOK(res1)) {
41179 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_code_get" "', argument " "1"" of type '" "struct errorObj *""'");
41180 : }
41181 0 : arg1 = (struct errorObj *)(argp1);
41182 0 : result = (int) ((arg1)->code);
41183 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41184 :
41185 0 : XSRETURN(argvi);
41186 : fail:
41187 :
41188 0 : SWIG_croak_null();
41189 : }
41190 : }
41191 :
41192 :
41193 0 : XS(_wrap_errorObj_routine_set) {
41194 : {
41195 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41196 : char *arg2 ;
41197 0 : void *argp1 = 0 ;
41198 : int res1 = 0 ;
41199 : char temp2[64] ;
41200 : int res2 ;
41201 : int argvi = 0;
41202 0 : dXSARGS;
41203 :
41204 0 : if ((items < 2) || (items > 2)) {
41205 0 : SWIG_croak("Usage: errorObj_routine_set(self,routine);");
41206 : }
41207 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41208 0 : if (!SWIG_IsOK(res1)) {
41209 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_routine_set" "', argument " "1"" of type '" "struct errorObj *""'");
41210 : }
41211 0 : arg1 = (struct errorObj *)(argp1);
41212 0 : res2 = SWIG_AsCharArray(ST(1), temp2, 64);
41213 0 : if (!SWIG_IsOK(res2)) {
41214 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "errorObj_routine_set" "', argument " "2"" of type '" "char [64]""'");
41215 : }
41216 : arg2 = (char *)(temp2);
41217 0 : if (arg2) memcpy(arg1->routine,arg2,64*sizeof(char));
41218 : else memset(arg1->routine,0,64*sizeof(char));
41219 0 : ST(argvi) = sv_newmortal();
41220 :
41221 :
41222 0 : XSRETURN(argvi);
41223 : fail:
41224 :
41225 :
41226 0 : SWIG_croak_null();
41227 : }
41228 : }
41229 :
41230 :
41231 0 : XS(_wrap_errorObj_routine_get) {
41232 : {
41233 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41234 0 : void *argp1 = 0 ;
41235 : int res1 = 0 ;
41236 : int argvi = 0;
41237 : char *result = 0 ;
41238 0 : dXSARGS;
41239 :
41240 0 : if ((items < 1) || (items > 1)) {
41241 0 : SWIG_croak("Usage: errorObj_routine_get(self);");
41242 : }
41243 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41244 0 : if (!SWIG_IsOK(res1)) {
41245 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_routine_get" "', argument " "1"" of type '" "struct errorObj *""'");
41246 : }
41247 0 : arg1 = (struct errorObj *)(argp1);
41248 0 : result = (char *)(char *) ((arg1)->routine);
41249 : {
41250 0 : ST(argvi) = newSVpvn(result, strlen(result));
41251 : argvi++;
41252 : }
41253 :
41254 0 : XSRETURN(argvi);
41255 : fail:
41256 :
41257 0 : SWIG_croak_null();
41258 : }
41259 : }
41260 :
41261 :
41262 0 : XS(_wrap_errorObj_message_set) {
41263 : {
41264 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41265 : char *arg2 ;
41266 0 : void *argp1 = 0 ;
41267 : int res1 = 0 ;
41268 : char temp2[2048] ;
41269 : int res2 ;
41270 : int argvi = 0;
41271 0 : dXSARGS;
41272 :
41273 0 : if ((items < 2) || (items > 2)) {
41274 0 : SWIG_croak("Usage: errorObj_message_set(self,message);");
41275 : }
41276 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41277 0 : if (!SWIG_IsOK(res1)) {
41278 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_message_set" "', argument " "1"" of type '" "struct errorObj *""'");
41279 : }
41280 0 : arg1 = (struct errorObj *)(argp1);
41281 0 : res2 = SWIG_AsCharArray(ST(1), temp2, 2048);
41282 0 : if (!SWIG_IsOK(res2)) {
41283 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "errorObj_message_set" "', argument " "2"" of type '" "char [2048]""'");
41284 : }
41285 : arg2 = (char *)(temp2);
41286 0 : if (arg2) memcpy(arg1->message,arg2,2048*sizeof(char));
41287 : else memset(arg1->message,0,2048*sizeof(char));
41288 0 : ST(argvi) = sv_newmortal();
41289 :
41290 :
41291 0 : XSRETURN(argvi);
41292 : fail:
41293 :
41294 :
41295 0 : SWIG_croak_null();
41296 : }
41297 : }
41298 :
41299 :
41300 0 : XS(_wrap_errorObj_message_get) {
41301 : {
41302 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41303 0 : void *argp1 = 0 ;
41304 : int res1 = 0 ;
41305 : int argvi = 0;
41306 : char *result = 0 ;
41307 0 : dXSARGS;
41308 :
41309 0 : if ((items < 1) || (items > 1)) {
41310 0 : SWIG_croak("Usage: errorObj_message_get(self);");
41311 : }
41312 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41313 0 : if (!SWIG_IsOK(res1)) {
41314 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_message_get" "', argument " "1"" of type '" "struct errorObj *""'");
41315 : }
41316 0 : arg1 = (struct errorObj *)(argp1);
41317 0 : result = (char *)(char *) ((arg1)->message);
41318 : {
41319 0 : ST(argvi) = newSVpvn(result, strlen(result));
41320 : argvi++;
41321 : }
41322 :
41323 0 : XSRETURN(argvi);
41324 : fail:
41325 :
41326 0 : SWIG_croak_null();
41327 : }
41328 : }
41329 :
41330 :
41331 0 : XS(_wrap_errorObj_isreported_set) {
41332 : {
41333 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41334 : int arg2 ;
41335 0 : void *argp1 = 0 ;
41336 : int res1 = 0 ;
41337 : int val2 ;
41338 : int ecode2 = 0 ;
41339 : int argvi = 0;
41340 0 : dXSARGS;
41341 :
41342 0 : if ((items < 2) || (items > 2)) {
41343 0 : SWIG_croak("Usage: errorObj_isreported_set(self,isreported);");
41344 : }
41345 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41346 0 : if (!SWIG_IsOK(res1)) {
41347 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_isreported_set" "', argument " "1"" of type '" "struct errorObj *""'");
41348 : }
41349 0 : arg1 = (struct errorObj *)(argp1);
41350 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
41351 0 : if (!SWIG_IsOK(ecode2)) {
41352 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "errorObj_isreported_set" "', argument " "2"" of type '" "int""'");
41353 : }
41354 0 : arg2 = (int)(val2);
41355 0 : if (arg1) (arg1)->isreported = arg2;
41356 0 : ST(argvi) = sv_newmortal();
41357 :
41358 :
41359 0 : XSRETURN(argvi);
41360 : fail:
41361 :
41362 :
41363 0 : SWIG_croak_null();
41364 : }
41365 : }
41366 :
41367 :
41368 0 : XS(_wrap_errorObj_isreported_get) {
41369 : {
41370 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41371 0 : void *argp1 = 0 ;
41372 : int res1 = 0 ;
41373 : int argvi = 0;
41374 : int result;
41375 0 : dXSARGS;
41376 :
41377 0 : if ((items < 1) || (items > 1)) {
41378 0 : SWIG_croak("Usage: errorObj_isreported_get(self);");
41379 : }
41380 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41381 0 : if (!SWIG_IsOK(res1)) {
41382 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_isreported_get" "', argument " "1"" of type '" "struct errorObj *""'");
41383 : }
41384 0 : arg1 = (struct errorObj *)(argp1);
41385 0 : result = (int) ((arg1)->isreported);
41386 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41387 :
41388 0 : XSRETURN(argvi);
41389 : fail:
41390 :
41391 0 : SWIG_croak_null();
41392 : }
41393 : }
41394 :
41395 :
41396 0 : XS(_wrap_errorObj_errorcount_set) {
41397 : {
41398 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41399 : int arg2 ;
41400 0 : void *argp1 = 0 ;
41401 : int res1 = 0 ;
41402 : int val2 ;
41403 : int ecode2 = 0 ;
41404 : int argvi = 0;
41405 0 : dXSARGS;
41406 :
41407 0 : if ((items < 2) || (items > 2)) {
41408 0 : SWIG_croak("Usage: errorObj_errorcount_set(self,errorcount);");
41409 : }
41410 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41411 0 : if (!SWIG_IsOK(res1)) {
41412 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_errorcount_set" "', argument " "1"" of type '" "struct errorObj *""'");
41413 : }
41414 0 : arg1 = (struct errorObj *)(argp1);
41415 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
41416 0 : if (!SWIG_IsOK(ecode2)) {
41417 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "errorObj_errorcount_set" "', argument " "2"" of type '" "int""'");
41418 : }
41419 0 : arg2 = (int)(val2);
41420 0 : if (arg1) (arg1)->errorcount = arg2;
41421 0 : ST(argvi) = sv_newmortal();
41422 :
41423 :
41424 0 : XSRETURN(argvi);
41425 : fail:
41426 :
41427 :
41428 0 : SWIG_croak_null();
41429 : }
41430 : }
41431 :
41432 :
41433 0 : XS(_wrap_errorObj_errorcount_get) {
41434 : {
41435 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41436 0 : void *argp1 = 0 ;
41437 : int res1 = 0 ;
41438 : int argvi = 0;
41439 : int result;
41440 0 : dXSARGS;
41441 :
41442 0 : if ((items < 1) || (items > 1)) {
41443 0 : SWIG_croak("Usage: errorObj_errorcount_get(self);");
41444 : }
41445 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41446 0 : if (!SWIG_IsOK(res1)) {
41447 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_errorcount_get" "', argument " "1"" of type '" "struct errorObj *""'");
41448 : }
41449 0 : arg1 = (struct errorObj *)(argp1);
41450 0 : result = (int) ((arg1)->errorcount);
41451 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41452 :
41453 0 : XSRETURN(argvi);
41454 : fail:
41455 :
41456 0 : SWIG_croak_null();
41457 : }
41458 : }
41459 :
41460 :
41461 0 : XS(_wrap_new_errorObj) {
41462 : {
41463 : int argvi = 0;
41464 : struct errorObj *result = 0 ;
41465 0 : dXSARGS;
41466 :
41467 0 : if ((items < 0) || (items > 0)) {
41468 0 : SWIG_croak("Usage: new_errorObj();");
41469 : }
41470 : result = (struct errorObj *)new_errorObj();
41471 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_errorObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
41472 0 : XSRETURN(argvi);
41473 : fail:
41474 0 : SWIG_croak_null();
41475 : }
41476 : }
41477 :
41478 :
41479 0 : XS(_wrap_delete_errorObj) {
41480 : {
41481 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41482 0 : void *argp1 = 0 ;
41483 : int res1 = 0 ;
41484 : int argvi = 0;
41485 0 : dXSARGS;
41486 :
41487 0 : if ((items < 1) || (items > 1)) {
41488 0 : SWIG_croak("Usage: delete_errorObj(self);");
41489 : }
41490 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, SWIG_POINTER_DISOWN | 0 );
41491 0 : if (!SWIG_IsOK(res1)) {
41492 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_errorObj" "', argument " "1"" of type '" "struct errorObj *""'");
41493 : }
41494 : arg1 = (struct errorObj *)(argp1);
41495 : delete_errorObj(arg1);
41496 0 : ST(argvi) = sv_newmortal();
41497 :
41498 0 : XSRETURN(argvi);
41499 : fail:
41500 :
41501 0 : SWIG_croak_null();
41502 : }
41503 : }
41504 :
41505 :
41506 0 : XS(_wrap_errorObj_next) {
41507 : {
41508 : struct errorObj *arg1 = (struct errorObj *) 0 ;
41509 0 : void *argp1 = 0 ;
41510 : int res1 = 0 ;
41511 : int argvi = 0;
41512 : errorObj *result = 0 ;
41513 0 : dXSARGS;
41514 :
41515 0 : if ((items < 1) || (items > 1)) {
41516 0 : SWIG_croak("Usage: errorObj_next(self);");
41517 : }
41518 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 | 0 );
41519 0 : if (!SWIG_IsOK(res1)) {
41520 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_next" "', argument " "1"" of type '" "struct errorObj *""'");
41521 : }
41522 0 : arg1 = (struct errorObj *)(argp1);
41523 0 : result = (errorObj *)errorObj_next(arg1);
41524 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_errorObj, 0 | SWIG_SHADOW); argvi++ ;
41525 :
41526 0 : XSRETURN(argvi);
41527 : fail:
41528 :
41529 0 : SWIG_croak_null();
41530 : }
41531 : }
41532 :
41533 :
41534 0 : XS(_wrap_msGetErrorObj) {
41535 : {
41536 : int argvi = 0;
41537 : errorObj *result = 0 ;
41538 0 : dXSARGS;
41539 :
41540 0 : if ((items < 0) || (items > 0)) {
41541 0 : SWIG_croak("Usage: msGetErrorObj();");
41542 : }
41543 0 : result = (errorObj *)msGetErrorObj();
41544 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_errorObj, 0 | SWIG_SHADOW); argvi++ ;
41545 0 : XSRETURN(argvi);
41546 : fail:
41547 0 : SWIG_croak_null();
41548 : }
41549 : }
41550 :
41551 :
41552 0 : XS(_wrap_msResetErrorList) {
41553 : {
41554 : int argvi = 0;
41555 0 : dXSARGS;
41556 :
41557 0 : if ((items < 0) || (items > 0)) {
41558 0 : SWIG_croak("Usage: msResetErrorList();");
41559 : }
41560 0 : msResetErrorList();
41561 0 : ST(argvi) = sv_newmortal();
41562 0 : XSRETURN(argvi);
41563 : fail:
41564 0 : SWIG_croak_null();
41565 : }
41566 : }
41567 :
41568 :
41569 1 : XS(_wrap_msGetVersion) {
41570 : {
41571 : int argvi = 0;
41572 : char *result = 0 ;
41573 1 : dXSARGS;
41574 :
41575 1 : if ((items < 0) || (items > 0)) {
41576 0 : SWIG_croak("Usage: msGetVersion();");
41577 : }
41578 1 : result = (char *)msGetVersion();
41579 1 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
41580 1 : XSRETURN(argvi);
41581 : fail:
41582 0 : SWIG_croak_null();
41583 : }
41584 : }
41585 :
41586 :
41587 0 : XS(_wrap_msGetVersionInt) {
41588 : {
41589 : int argvi = 0;
41590 : int result;
41591 0 : dXSARGS;
41592 :
41593 0 : if ((items < 0) || (items > 0)) {
41594 0 : SWIG_croak("Usage: msGetVersionInt();");
41595 : }
41596 0 : result = (int)msGetVersionInt();
41597 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41598 0 : XSRETURN(argvi);
41599 : fail:
41600 0 : SWIG_croak_null();
41601 : }
41602 : }
41603 :
41604 :
41605 0 : XS(_wrap_msGetErrorString) {
41606 : {
41607 : char *arg1 = (char *) 0 ;
41608 : int res1 ;
41609 0 : char *buf1 = 0 ;
41610 0 : int alloc1 = 0 ;
41611 : int argvi = 0;
41612 : char *result = 0 ;
41613 0 : dXSARGS;
41614 :
41615 0 : if ((items < 1) || (items > 1)) {
41616 0 : SWIG_croak("Usage: msGetErrorString(delimiter);");
41617 : }
41618 0 : res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
41619 0 : if (!SWIG_IsOK(res1)) {
41620 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msGetErrorString" "', argument " "1"" of type '" "char *""'");
41621 : }
41622 0 : arg1 = (char *)(buf1);
41623 0 : result = (char *)msGetErrorString(arg1);
41624 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
41625 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
41626 0 : XSRETURN(argvi);
41627 : fail:
41628 0 : if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
41629 0 : SWIG_croak_null();
41630 : }
41631 : }
41632 :
41633 :
41634 0 : XS(_wrap_hashTableObj_numitems_get) {
41635 : {
41636 : hashTableObj *arg1 = (hashTableObj *) 0 ;
41637 0 : void *argp1 = 0 ;
41638 : int res1 = 0 ;
41639 : int argvi = 0;
41640 : int result;
41641 0 : dXSARGS;
41642 :
41643 0 : if ((items < 1) || (items > 1)) {
41644 0 : SWIG_croak("Usage: hashTableObj_numitems_get(self);");
41645 : }
41646 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 | 0 );
41647 0 : if (!SWIG_IsOK(res1)) {
41648 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_numitems_get" "', argument " "1"" of type '" "hashTableObj *""'");
41649 : }
41650 0 : arg1 = (hashTableObj *)(argp1);
41651 0 : result = (int) ((arg1)->numitems);
41652 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41653 :
41654 0 : XSRETURN(argvi);
41655 : fail:
41656 :
41657 0 : SWIG_croak_null();
41658 : }
41659 : }
41660 :
41661 :
41662 0 : XS(_wrap_new_hashTableObj) {
41663 : {
41664 : int argvi = 0;
41665 : hashTableObj *result = 0 ;
41666 0 : dXSARGS;
41667 :
41668 0 : if ((items < 0) || (items > 0)) {
41669 0 : SWIG_croak("Usage: new_hashTableObj();");
41670 : }
41671 : result = (hashTableObj *)new_hashTableObj();
41672 0 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
41673 0 : XSRETURN(argvi);
41674 : fail:
41675 0 : SWIG_croak_null();
41676 : }
41677 : }
41678 :
41679 :
41680 1 : XS(_wrap_delete_hashTableObj) {
41681 : {
41682 : hashTableObj *arg1 = (hashTableObj *) 0 ;
41683 1 : void *argp1 = 0 ;
41684 : int res1 = 0 ;
41685 : int argvi = 0;
41686 1 : dXSARGS;
41687 :
41688 1 : if ((items < 1) || (items > 1)) {
41689 0 : SWIG_croak("Usage: delete_hashTableObj(self);");
41690 : }
41691 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, SWIG_POINTER_DISOWN | 0 );
41692 1 : if (!SWIG_IsOK(res1)) {
41693 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_hashTableObj" "', argument " "1"" of type '" "hashTableObj *""'");
41694 : }
41695 1 : arg1 = (hashTableObj *)(argp1);
41696 : delete_hashTableObj(arg1);
41697 1 : ST(argvi) = sv_newmortal();
41698 :
41699 1 : XSRETURN(argvi);
41700 : fail:
41701 :
41702 0 : SWIG_croak_null();
41703 : }
41704 : }
41705 :
41706 :
41707 0 : XS(_wrap_hashTableObj_set) {
41708 : {
41709 : hashTableObj *arg1 = (hashTableObj *) 0 ;
41710 : char *arg2 = (char *) 0 ;
41711 : char *arg3 = (char *) 0 ;
41712 0 : void *argp1 = 0 ;
41713 : int res1 = 0 ;
41714 : int res2 ;
41715 0 : char *buf2 = 0 ;
41716 0 : int alloc2 = 0 ;
41717 : int res3 ;
41718 0 : char *buf3 = 0 ;
41719 0 : int alloc3 = 0 ;
41720 : int argvi = 0;
41721 : int result;
41722 0 : dXSARGS;
41723 :
41724 0 : if ((items < 3) || (items > 3)) {
41725 0 : SWIG_croak("Usage: hashTableObj_set(self,key,value);");
41726 : }
41727 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 | 0 );
41728 0 : if (!SWIG_IsOK(res1)) {
41729 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_set" "', argument " "1"" of type '" "hashTableObj *""'");
41730 : }
41731 0 : arg1 = (hashTableObj *)(argp1);
41732 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
41733 0 : if (!SWIG_IsOK(res2)) {
41734 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_set" "', argument " "2"" of type '" "char *""'");
41735 : }
41736 0 : arg2 = (char *)(buf2);
41737 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
41738 0 : if (!SWIG_IsOK(res3)) {
41739 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "hashTableObj_set" "', argument " "3"" of type '" "char *""'");
41740 : }
41741 0 : arg3 = (char *)(buf3);
41742 : result = (int)hashTableObj_set(arg1,arg2,arg3);
41743 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41744 :
41745 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41746 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
41747 0 : XSRETURN(argvi);
41748 : fail:
41749 :
41750 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41751 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
41752 0 : SWIG_croak_null();
41753 : }
41754 : }
41755 :
41756 :
41757 1 : XS(_wrap_hashTableObj_get) {
41758 : {
41759 : hashTableObj *arg1 = (hashTableObj *) 0 ;
41760 : char *arg2 = (char *) 0 ;
41761 : char *arg3 = (char *) NULL ;
41762 1 : void *argp1 = 0 ;
41763 : int res1 = 0 ;
41764 : int res2 ;
41765 1 : char *buf2 = 0 ;
41766 1 : int alloc2 = 0 ;
41767 : int res3 ;
41768 1 : char *buf3 = 0 ;
41769 1 : int alloc3 = 0 ;
41770 : int argvi = 0;
41771 : char *result = 0 ;
41772 1 : dXSARGS;
41773 :
41774 1 : if ((items < 2) || (items > 3)) {
41775 0 : SWIG_croak("Usage: hashTableObj_get(self,key,default_value);");
41776 : }
41777 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 | 0 );
41778 1 : if (!SWIG_IsOK(res1)) {
41779 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_get" "', argument " "1"" of type '" "hashTableObj *""'");
41780 : }
41781 1 : arg1 = (hashTableObj *)(argp1);
41782 1 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
41783 1 : if (!SWIG_IsOK(res2)) {
41784 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_get" "', argument " "2"" of type '" "char *""'");
41785 : }
41786 1 : arg2 = (char *)(buf2);
41787 1 : if (items > 2) {
41788 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
41789 0 : if (!SWIG_IsOK(res3)) {
41790 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "hashTableObj_get" "', argument " "3"" of type '" "char *""'");
41791 : }
41792 0 : arg3 = (char *)(buf3);
41793 : }
41794 1 : result = (char *)hashTableObj_get(arg1,arg2,arg3);
41795 1 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
41796 :
41797 1 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41798 1 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
41799 1 : XSRETURN(argvi);
41800 : fail:
41801 :
41802 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41803 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
41804 0 : SWIG_croak_null();
41805 : }
41806 : }
41807 :
41808 :
41809 0 : XS(_wrap_hashTableObj_remove) {
41810 : {
41811 : hashTableObj *arg1 = (hashTableObj *) 0 ;
41812 : char *arg2 = (char *) 0 ;
41813 0 : void *argp1 = 0 ;
41814 : int res1 = 0 ;
41815 : int res2 ;
41816 0 : char *buf2 = 0 ;
41817 0 : int alloc2 = 0 ;
41818 : int argvi = 0;
41819 : int result;
41820 0 : dXSARGS;
41821 :
41822 0 : if ((items < 2) || (items > 2)) {
41823 0 : SWIG_croak("Usage: hashTableObj_remove(self,key);");
41824 : }
41825 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 | 0 );
41826 0 : if (!SWIG_IsOK(res1)) {
41827 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_remove" "', argument " "1"" of type '" "hashTableObj *""'");
41828 : }
41829 0 : arg1 = (hashTableObj *)(argp1);
41830 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
41831 0 : if (!SWIG_IsOK(res2)) {
41832 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_remove" "', argument " "2"" of type '" "char *""'");
41833 : }
41834 0 : arg2 = (char *)(buf2);
41835 : result = (int)hashTableObj_remove(arg1,arg2);
41836 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41837 :
41838 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41839 0 : XSRETURN(argvi);
41840 : fail:
41841 :
41842 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41843 0 : SWIG_croak_null();
41844 : }
41845 : }
41846 :
41847 :
41848 0 : XS(_wrap_hashTableObj_clear) {
41849 : {
41850 : hashTableObj *arg1 = (hashTableObj *) 0 ;
41851 0 : void *argp1 = 0 ;
41852 : int res1 = 0 ;
41853 : int argvi = 0;
41854 0 : dXSARGS;
41855 :
41856 0 : if ((items < 1) || (items > 1)) {
41857 0 : SWIG_croak("Usage: hashTableObj_clear(self);");
41858 : }
41859 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 | 0 );
41860 0 : if (!SWIG_IsOK(res1)) {
41861 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_clear" "', argument " "1"" of type '" "hashTableObj *""'");
41862 : }
41863 0 : arg1 = (hashTableObj *)(argp1);
41864 : hashTableObj_clear(arg1);
41865 0 : ST(argvi) = sv_newmortal();
41866 :
41867 0 : XSRETURN(argvi);
41868 : fail:
41869 :
41870 0 : SWIG_croak_null();
41871 : }
41872 : }
41873 :
41874 :
41875 0 : XS(_wrap_hashTableObj_nextKey) {
41876 : {
41877 : hashTableObj *arg1 = (hashTableObj *) 0 ;
41878 : char *arg2 = (char *) NULL ;
41879 0 : void *argp1 = 0 ;
41880 : int res1 = 0 ;
41881 : int res2 ;
41882 0 : char *buf2 = 0 ;
41883 0 : int alloc2 = 0 ;
41884 : int argvi = 0;
41885 : char *result = 0 ;
41886 0 : dXSARGS;
41887 :
41888 0 : if ((items < 1) || (items > 2)) {
41889 0 : SWIG_croak("Usage: hashTableObj_nextKey(self,prevkey);");
41890 : }
41891 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 | 0 );
41892 0 : if (!SWIG_IsOK(res1)) {
41893 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_nextKey" "', argument " "1"" of type '" "hashTableObj *""'");
41894 : }
41895 0 : arg1 = (hashTableObj *)(argp1);
41896 0 : if (items > 1) {
41897 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
41898 0 : if (!SWIG_IsOK(res2)) {
41899 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_nextKey" "', argument " "2"" of type '" "char *""'");
41900 : }
41901 0 : arg2 = (char *)(buf2);
41902 : }
41903 : result = (char *)hashTableObj_nextKey(arg1,arg2);
41904 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
41905 :
41906 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41907 0 : XSRETURN(argvi);
41908 : fail:
41909 :
41910 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
41911 0 : SWIG_croak_null();
41912 : }
41913 : }
41914 :
41915 :
41916 0 : XS(_wrap_OWSRequest_NumParams_get) {
41917 : {
41918 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
41919 0 : void *argp1 = 0 ;
41920 : int res1 = 0 ;
41921 : int argvi = 0;
41922 : int result;
41923 0 : dXSARGS;
41924 :
41925 0 : if ((items < 1) || (items > 1)) {
41926 0 : SWIG_croak("Usage: OWSRequest_NumParams_get(self);");
41927 : }
41928 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
41929 0 : if (!SWIG_IsOK(res1)) {
41930 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_NumParams_get" "', argument " "1"" of type '" "cgiRequestObj *""'");
41931 : }
41932 0 : arg1 = (cgiRequestObj *)(argp1);
41933 0 : result = (int) ((arg1)->NumParams);
41934 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
41935 :
41936 0 : XSRETURN(argvi);
41937 : fail:
41938 :
41939 0 : SWIG_croak_null();
41940 : }
41941 : }
41942 :
41943 :
41944 0 : XS(_wrap_OWSRequest_type_set) {
41945 : {
41946 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
41947 : enum MS_REQUEST_TYPE arg2 ;
41948 0 : void *argp1 = 0 ;
41949 : int res1 = 0 ;
41950 : int val2 ;
41951 : int ecode2 = 0 ;
41952 : int argvi = 0;
41953 0 : dXSARGS;
41954 :
41955 0 : if ((items < 2) || (items > 2)) {
41956 0 : SWIG_croak("Usage: OWSRequest_type_set(self,type);");
41957 : }
41958 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
41959 0 : if (!SWIG_IsOK(res1)) {
41960 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_type_set" "', argument " "1"" of type '" "cgiRequestObj *""'");
41961 : }
41962 0 : arg1 = (cgiRequestObj *)(argp1);
41963 0 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
41964 0 : if (!SWIG_IsOK(ecode2)) {
41965 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OWSRequest_type_set" "', argument " "2"" of type '" "enum MS_REQUEST_TYPE""'");
41966 : }
41967 0 : arg2 = (enum MS_REQUEST_TYPE)(val2);
41968 0 : if (arg1) (arg1)->type = arg2;
41969 0 : ST(argvi) = sv_newmortal();
41970 :
41971 :
41972 0 : XSRETURN(argvi);
41973 : fail:
41974 :
41975 :
41976 0 : SWIG_croak_null();
41977 : }
41978 : }
41979 :
41980 :
41981 0 : XS(_wrap_OWSRequest_type_get) {
41982 : {
41983 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
41984 0 : void *argp1 = 0 ;
41985 : int res1 = 0 ;
41986 : int argvi = 0;
41987 : enum MS_REQUEST_TYPE result;
41988 0 : dXSARGS;
41989 :
41990 0 : if ((items < 1) || (items > 1)) {
41991 0 : SWIG_croak("Usage: OWSRequest_type_get(self);");
41992 : }
41993 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
41994 0 : if (!SWIG_IsOK(res1)) {
41995 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_type_get" "', argument " "1"" of type '" "cgiRequestObj *""'");
41996 : }
41997 0 : arg1 = (cgiRequestObj *)(argp1);
41998 0 : result = (enum MS_REQUEST_TYPE) ((arg1)->type);
41999 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
42000 :
42001 0 : XSRETURN(argvi);
42002 : fail:
42003 :
42004 0 : SWIG_croak_null();
42005 : }
42006 : }
42007 :
42008 :
42009 0 : XS(_wrap_OWSRequest_contenttype_set) {
42010 : {
42011 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42012 : char *arg2 = (char *) 0 ;
42013 0 : void *argp1 = 0 ;
42014 : int res1 = 0 ;
42015 : int res2 ;
42016 0 : char *buf2 = 0 ;
42017 0 : int alloc2 = 0 ;
42018 : int argvi = 0;
42019 0 : dXSARGS;
42020 :
42021 0 : if ((items < 2) || (items > 2)) {
42022 0 : SWIG_croak("Usage: OWSRequest_contenttype_set(self,contenttype);");
42023 : }
42024 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42025 0 : if (!SWIG_IsOK(res1)) {
42026 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_contenttype_set" "', argument " "1"" of type '" "cgiRequestObj *""'");
42027 : }
42028 0 : arg1 = (cgiRequestObj *)(argp1);
42029 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42030 0 : if (!SWIG_IsOK(res2)) {
42031 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_contenttype_set" "', argument " "2"" of type '" "char *""'");
42032 : }
42033 0 : arg2 = (char *)(buf2);
42034 : {
42035 0 : if (arg1->contenttype) free((char*)arg1->contenttype);
42036 0 : if (arg2) {
42037 0 : arg1->contenttype = (char *) malloc(strlen(arg2)+1);
42038 : strcpy((char*)arg1->contenttype,arg2);
42039 : } else {
42040 0 : arg1->contenttype = 0;
42041 : }
42042 : }
42043 0 : ST(argvi) = sv_newmortal();
42044 :
42045 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42046 0 : XSRETURN(argvi);
42047 : fail:
42048 :
42049 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42050 0 : SWIG_croak_null();
42051 : }
42052 : }
42053 :
42054 :
42055 0 : XS(_wrap_OWSRequest_contenttype_get) {
42056 : {
42057 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42058 0 : void *argp1 = 0 ;
42059 : int res1 = 0 ;
42060 : int argvi = 0;
42061 : char *result = 0 ;
42062 0 : dXSARGS;
42063 :
42064 0 : if ((items < 1) || (items > 1)) {
42065 0 : SWIG_croak("Usage: OWSRequest_contenttype_get(self);");
42066 : }
42067 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42068 0 : if (!SWIG_IsOK(res1)) {
42069 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_contenttype_get" "', argument " "1"" of type '" "cgiRequestObj *""'");
42070 : }
42071 0 : arg1 = (cgiRequestObj *)(argp1);
42072 0 : result = (char *) ((arg1)->contenttype);
42073 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42074 :
42075 0 : XSRETURN(argvi);
42076 : fail:
42077 :
42078 0 : SWIG_croak_null();
42079 : }
42080 : }
42081 :
42082 :
42083 0 : XS(_wrap_OWSRequest_postrequest_set) {
42084 : {
42085 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42086 : char *arg2 = (char *) 0 ;
42087 0 : void *argp1 = 0 ;
42088 : int res1 = 0 ;
42089 : int res2 ;
42090 0 : char *buf2 = 0 ;
42091 0 : int alloc2 = 0 ;
42092 : int argvi = 0;
42093 0 : dXSARGS;
42094 :
42095 0 : if ((items < 2) || (items > 2)) {
42096 0 : SWIG_croak("Usage: OWSRequest_postrequest_set(self,postrequest);");
42097 : }
42098 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42099 0 : if (!SWIG_IsOK(res1)) {
42100 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_postrequest_set" "', argument " "1"" of type '" "cgiRequestObj *""'");
42101 : }
42102 0 : arg1 = (cgiRequestObj *)(argp1);
42103 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42104 0 : if (!SWIG_IsOK(res2)) {
42105 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_postrequest_set" "', argument " "2"" of type '" "char *""'");
42106 : }
42107 0 : arg2 = (char *)(buf2);
42108 : {
42109 0 : if (arg1->postrequest) free((char*)arg1->postrequest);
42110 0 : if (arg2) {
42111 0 : arg1->postrequest = (char *) malloc(strlen(arg2)+1);
42112 : strcpy((char*)arg1->postrequest,arg2);
42113 : } else {
42114 0 : arg1->postrequest = 0;
42115 : }
42116 : }
42117 0 : ST(argvi) = sv_newmortal();
42118 :
42119 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42120 0 : XSRETURN(argvi);
42121 : fail:
42122 :
42123 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42124 0 : SWIG_croak_null();
42125 : }
42126 : }
42127 :
42128 :
42129 0 : XS(_wrap_OWSRequest_postrequest_get) {
42130 : {
42131 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42132 0 : void *argp1 = 0 ;
42133 : int res1 = 0 ;
42134 : int argvi = 0;
42135 : char *result = 0 ;
42136 0 : dXSARGS;
42137 :
42138 0 : if ((items < 1) || (items > 1)) {
42139 0 : SWIG_croak("Usage: OWSRequest_postrequest_get(self);");
42140 : }
42141 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42142 0 : if (!SWIG_IsOK(res1)) {
42143 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_postrequest_get" "', argument " "1"" of type '" "cgiRequestObj *""'");
42144 : }
42145 0 : arg1 = (cgiRequestObj *)(argp1);
42146 0 : result = (char *) ((arg1)->postrequest);
42147 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42148 :
42149 0 : XSRETURN(argvi);
42150 : fail:
42151 :
42152 0 : SWIG_croak_null();
42153 : }
42154 : }
42155 :
42156 :
42157 0 : XS(_wrap_OWSRequest_httpcookiedata_set) {
42158 : {
42159 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42160 : char *arg2 = (char *) 0 ;
42161 0 : void *argp1 = 0 ;
42162 : int res1 = 0 ;
42163 : int res2 ;
42164 0 : char *buf2 = 0 ;
42165 0 : int alloc2 = 0 ;
42166 : int argvi = 0;
42167 0 : dXSARGS;
42168 :
42169 0 : if ((items < 2) || (items > 2)) {
42170 0 : SWIG_croak("Usage: OWSRequest_httpcookiedata_set(self,httpcookiedata);");
42171 : }
42172 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42173 0 : if (!SWIG_IsOK(res1)) {
42174 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_httpcookiedata_set" "', argument " "1"" of type '" "cgiRequestObj *""'");
42175 : }
42176 0 : arg1 = (cgiRequestObj *)(argp1);
42177 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42178 0 : if (!SWIG_IsOK(res2)) {
42179 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_httpcookiedata_set" "', argument " "2"" of type '" "char *""'");
42180 : }
42181 0 : arg2 = (char *)(buf2);
42182 : {
42183 0 : if (arg1->httpcookiedata) free((char*)arg1->httpcookiedata);
42184 0 : if (arg2) {
42185 0 : arg1->httpcookiedata = (char *) malloc(strlen(arg2)+1);
42186 : strcpy((char*)arg1->httpcookiedata,arg2);
42187 : } else {
42188 0 : arg1->httpcookiedata = 0;
42189 : }
42190 : }
42191 0 : ST(argvi) = sv_newmortal();
42192 :
42193 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42194 0 : XSRETURN(argvi);
42195 : fail:
42196 :
42197 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42198 0 : SWIG_croak_null();
42199 : }
42200 : }
42201 :
42202 :
42203 0 : XS(_wrap_OWSRequest_httpcookiedata_get) {
42204 : {
42205 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42206 0 : void *argp1 = 0 ;
42207 : int res1 = 0 ;
42208 : int argvi = 0;
42209 : char *result = 0 ;
42210 0 : dXSARGS;
42211 :
42212 0 : if ((items < 1) || (items > 1)) {
42213 0 : SWIG_croak("Usage: OWSRequest_httpcookiedata_get(self);");
42214 : }
42215 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42216 0 : if (!SWIG_IsOK(res1)) {
42217 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_httpcookiedata_get" "', argument " "1"" of type '" "cgiRequestObj *""'");
42218 : }
42219 0 : arg1 = (cgiRequestObj *)(argp1);
42220 0 : result = (char *) ((arg1)->httpcookiedata);
42221 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42222 :
42223 0 : XSRETURN(argvi);
42224 : fail:
42225 :
42226 0 : SWIG_croak_null();
42227 : }
42228 : }
42229 :
42230 :
42231 1 : XS(_wrap_new_OWSRequest) {
42232 : {
42233 : int argvi = 0;
42234 : cgiRequestObj *result = 0 ;
42235 1 : dXSARGS;
42236 :
42237 1 : if ((items < 0) || (items > 0)) {
42238 0 : SWIG_croak("Usage: new_OWSRequest();");
42239 : }
42240 1 : result = (cgiRequestObj *)new_cgiRequestObj();
42241 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_cgiRequestObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
42242 1 : XSRETURN(argvi);
42243 : fail:
42244 0 : SWIG_croak_null();
42245 : }
42246 : }
42247 :
42248 :
42249 1 : XS(_wrap_delete_OWSRequest) {
42250 : {
42251 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42252 1 : void *argp1 = 0 ;
42253 : int res1 = 0 ;
42254 : int argvi = 0;
42255 1 : dXSARGS;
42256 :
42257 1 : if ((items < 1) || (items > 1)) {
42258 0 : SWIG_croak("Usage: delete_OWSRequest(self);");
42259 : }
42260 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, SWIG_POINTER_DISOWN | 0 );
42261 1 : if (!SWIG_IsOK(res1)) {
42262 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OWSRequest" "', argument " "1"" of type '" "cgiRequestObj *""'");
42263 : }
42264 1 : arg1 = (cgiRequestObj *)(argp1);
42265 : delete_cgiRequestObj(arg1);
42266 1 : ST(argvi) = sv_newmortal();
42267 :
42268 1 : XSRETURN(argvi);
42269 : fail:
42270 :
42271 0 : SWIG_croak_null();
42272 : }
42273 : }
42274 :
42275 :
42276 0 : XS(_wrap_OWSRequest_loadParams) {
42277 : {
42278 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42279 0 : void *argp1 = 0 ;
42280 : int res1 = 0 ;
42281 : int argvi = 0;
42282 : int result;
42283 0 : dXSARGS;
42284 :
42285 0 : if ((items < 1) || (items > 1)) {
42286 0 : SWIG_croak("Usage: OWSRequest_loadParams(self);");
42287 : }
42288 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42289 0 : if (!SWIG_IsOK(res1)) {
42290 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_loadParams" "', argument " "1"" of type '" "cgiRequestObj *""'");
42291 : }
42292 0 : arg1 = (cgiRequestObj *)(argp1);
42293 : result = (int)cgiRequestObj_loadParams(arg1);
42294 0 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
42295 :
42296 0 : XSRETURN(argvi);
42297 : fail:
42298 :
42299 0 : SWIG_croak_null();
42300 : }
42301 : }
42302 :
42303 :
42304 1 : XS(_wrap_OWSRequest_loadParamsFromURL) {
42305 : {
42306 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42307 : char *arg2 = (char *) 0 ;
42308 1 : void *argp1 = 0 ;
42309 : int res1 = 0 ;
42310 : int res2 ;
42311 1 : char *buf2 = 0 ;
42312 1 : int alloc2 = 0 ;
42313 : int argvi = 0;
42314 : int result;
42315 1 : dXSARGS;
42316 :
42317 1 : if ((items < 2) || (items > 2)) {
42318 0 : SWIG_croak("Usage: OWSRequest_loadParamsFromURL(self,url);");
42319 : }
42320 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42321 1 : if (!SWIG_IsOK(res1)) {
42322 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_loadParamsFromURL" "', argument " "1"" of type '" "cgiRequestObj *""'");
42323 : }
42324 1 : arg1 = (cgiRequestObj *)(argp1);
42325 1 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42326 1 : if (!SWIG_IsOK(res2)) {
42327 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_loadParamsFromURL" "', argument " "2"" of type '" "char const *""'");
42328 : }
42329 1 : arg2 = (char *)(buf2);
42330 : result = (int)cgiRequestObj_loadParamsFromURL(arg1,(char const *)arg2);
42331 1 : ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
42332 :
42333 1 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42334 1 : XSRETURN(argvi);
42335 : fail:
42336 :
42337 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42338 0 : SWIG_croak_null();
42339 : }
42340 : }
42341 :
42342 :
42343 0 : XS(_wrap_OWSRequest_setParameter) {
42344 : {
42345 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42346 : char *arg2 = (char *) 0 ;
42347 : char *arg3 = (char *) 0 ;
42348 0 : void *argp1 = 0 ;
42349 : int res1 = 0 ;
42350 : int res2 ;
42351 0 : char *buf2 = 0 ;
42352 0 : int alloc2 = 0 ;
42353 : int res3 ;
42354 0 : char *buf3 = 0 ;
42355 0 : int alloc3 = 0 ;
42356 : int argvi = 0;
42357 0 : dXSARGS;
42358 :
42359 0 : if ((items < 3) || (items > 3)) {
42360 0 : SWIG_croak("Usage: OWSRequest_setParameter(self,name,value);");
42361 : }
42362 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42363 0 : if (!SWIG_IsOK(res1)) {
42364 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_setParameter" "', argument " "1"" of type '" "cgiRequestObj *""'");
42365 : }
42366 0 : arg1 = (cgiRequestObj *)(argp1);
42367 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42368 0 : if (!SWIG_IsOK(res2)) {
42369 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_setParameter" "', argument " "2"" of type '" "char *""'");
42370 : }
42371 0 : arg2 = (char *)(buf2);
42372 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
42373 0 : if (!SWIG_IsOK(res3)) {
42374 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OWSRequest_setParameter" "', argument " "3"" of type '" "char *""'");
42375 : }
42376 0 : arg3 = (char *)(buf3);
42377 0 : cgiRequestObj_setParameter(arg1,arg2,arg3);
42378 0 : ST(argvi) = sv_newmortal();
42379 :
42380 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42381 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
42382 0 : XSRETURN(argvi);
42383 : fail:
42384 :
42385 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42386 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
42387 0 : SWIG_croak_null();
42388 : }
42389 : }
42390 :
42391 :
42392 0 : XS(_wrap_OWSRequest_addParameter) {
42393 : {
42394 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42395 : char *arg2 = (char *) 0 ;
42396 : char *arg3 = (char *) 0 ;
42397 0 : void *argp1 = 0 ;
42398 : int res1 = 0 ;
42399 : int res2 ;
42400 0 : char *buf2 = 0 ;
42401 0 : int alloc2 = 0 ;
42402 : int res3 ;
42403 0 : char *buf3 = 0 ;
42404 0 : int alloc3 = 0 ;
42405 : int argvi = 0;
42406 0 : dXSARGS;
42407 :
42408 0 : if ((items < 3) || (items > 3)) {
42409 0 : SWIG_croak("Usage: OWSRequest_addParameter(self,name,value);");
42410 : }
42411 0 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42412 0 : if (!SWIG_IsOK(res1)) {
42413 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_addParameter" "', argument " "1"" of type '" "cgiRequestObj *""'");
42414 : }
42415 0 : arg1 = (cgiRequestObj *)(argp1);
42416 0 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42417 0 : if (!SWIG_IsOK(res2)) {
42418 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_addParameter" "', argument " "2"" of type '" "char *""'");
42419 : }
42420 0 : arg2 = (char *)(buf2);
42421 0 : res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
42422 0 : if (!SWIG_IsOK(res3)) {
42423 0 : SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OWSRequest_addParameter" "', argument " "3"" of type '" "char *""'");
42424 : }
42425 0 : arg3 = (char *)(buf3);
42426 0 : cgiRequestObj_addParameter(arg1,arg2,arg3);
42427 0 : ST(argvi) = sv_newmortal();
42428 :
42429 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42430 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
42431 0 : XSRETURN(argvi);
42432 : fail:
42433 :
42434 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42435 0 : if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
42436 0 : SWIG_croak_null();
42437 : }
42438 : }
42439 :
42440 :
42441 1 : XS(_wrap_OWSRequest_getName) {
42442 : {
42443 1 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42444 : int arg2 ;
42445 1 : void *argp1 = 0 ;
42446 : int res1 = 0 ;
42447 : int val2 ;
42448 : int ecode2 = 0 ;
42449 : int argvi = 0;
42450 : char *result = 0 ;
42451 1 : dXSARGS;
42452 :
42453 1 : if ((items < 2) || (items > 2)) {
42454 0 : SWIG_croak("Usage: OWSRequest_getName(self,index);");
42455 : }
42456 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42457 1 : if (!SWIG_IsOK(res1)) {
42458 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_getName" "', argument " "1"" of type '" "cgiRequestObj *""'");
42459 : }
42460 1 : arg1 = (cgiRequestObj *)(argp1);
42461 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
42462 1 : if (!SWIG_IsOK(ecode2)) {
42463 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OWSRequest_getName" "', argument " "2"" of type '" "int""'");
42464 : }
42465 1 : arg2 = (int)(val2);
42466 1 : result = (char *)cgiRequestObj_getName(arg1,arg2);
42467 1 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42468 :
42469 :
42470 1 : XSRETURN(argvi);
42471 : fail:
42472 :
42473 :
42474 0 : SWIG_croak_null();
42475 : }
42476 : }
42477 :
42478 :
42479 1 : XS(_wrap_OWSRequest_getValue) {
42480 : {
42481 1 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42482 : int arg2 ;
42483 1 : void *argp1 = 0 ;
42484 : int res1 = 0 ;
42485 : int val2 ;
42486 : int ecode2 = 0 ;
42487 : int argvi = 0;
42488 : char *result = 0 ;
42489 1 : dXSARGS;
42490 :
42491 1 : if ((items < 2) || (items > 2)) {
42492 0 : SWIG_croak("Usage: OWSRequest_getValue(self,index);");
42493 : }
42494 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42495 1 : if (!SWIG_IsOK(res1)) {
42496 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_getValue" "', argument " "1"" of type '" "cgiRequestObj *""'");
42497 : }
42498 1 : arg1 = (cgiRequestObj *)(argp1);
42499 1 : ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
42500 1 : if (!SWIG_IsOK(ecode2)) {
42501 0 : SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OWSRequest_getValue" "', argument " "2"" of type '" "int""'");
42502 : }
42503 1 : arg2 = (int)(val2);
42504 1 : result = (char *)cgiRequestObj_getValue(arg1,arg2);
42505 1 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42506 :
42507 :
42508 1 : XSRETURN(argvi);
42509 : fail:
42510 :
42511 :
42512 0 : SWIG_croak_null();
42513 : }
42514 : }
42515 :
42516 :
42517 1 : XS(_wrap_OWSRequest_getValueByName) {
42518 : {
42519 : cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
42520 : char *arg2 = (char *) 0 ;
42521 1 : void *argp1 = 0 ;
42522 : int res1 = 0 ;
42523 : int res2 ;
42524 1 : char *buf2 = 0 ;
42525 1 : int alloc2 = 0 ;
42526 : int argvi = 0;
42527 : char *result = 0 ;
42528 1 : dXSARGS;
42529 :
42530 1 : if ((items < 2) || (items > 2)) {
42531 0 : SWIG_croak("Usage: OWSRequest_getValueByName(self,name);");
42532 : }
42533 1 : res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 | 0 );
42534 1 : if (!SWIG_IsOK(res1)) {
42535 0 : SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_getValueByName" "', argument " "1"" of type '" "cgiRequestObj *""'");
42536 : }
42537 1 : arg1 = (cgiRequestObj *)(argp1);
42538 1 : res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
42539 1 : if (!SWIG_IsOK(res2)) {
42540 0 : SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_getValueByName" "', argument " "2"" of type '" "char const *""'");
42541 : }
42542 1 : arg2 = (char *)(buf2);
42543 1 : result = (char *)cgiRequestObj_getValueByName(arg1,(char const *)arg2);
42544 1 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42545 :
42546 1 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42547 1 : XSRETURN(argvi);
42548 : fail:
42549 :
42550 0 : if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
42551 0 : SWIG_croak_null();
42552 : }
42553 : }
42554 :
42555 :
42556 0 : XS(_wrap_msConnPoolCloseUnreferenced) {
42557 : {
42558 : int argvi = 0;
42559 0 : dXSARGS;
42560 :
42561 0 : if ((items < 0) || (items > 0)) {
42562 0 : SWIG_croak("Usage: msConnPoolCloseUnreferenced();");
42563 : }
42564 0 : msConnPoolCloseUnreferenced();
42565 0 : ST(argvi) = sv_newmortal();
42566 0 : XSRETURN(argvi);
42567 : fail:
42568 0 : SWIG_croak_null();
42569 : }
42570 : }
42571 :
42572 :
42573 0 : XS(_wrap_msIO_resetHandlers) {
42574 : {
42575 : int argvi = 0;
42576 0 : dXSARGS;
42577 :
42578 0 : if ((items < 0) || (items > 0)) {
42579 0 : SWIG_croak("Usage: msIO_resetHandlers();");
42580 : }
42581 0 : msIO_resetHandlers();
42582 0 : ST(argvi) = sv_newmortal();
42583 0 : XSRETURN(argvi);
42584 : fail:
42585 0 : SWIG_croak_null();
42586 : }
42587 : }
42588 :
42589 :
42590 1 : XS(_wrap_msIO_installStdoutToBuffer) {
42591 : {
42592 : int argvi = 0;
42593 1 : dXSARGS;
42594 :
42595 1 : if ((items < 0) || (items > 0)) {
42596 0 : SWIG_croak("Usage: msIO_installStdoutToBuffer();");
42597 : }
42598 1 : msIO_installStdoutToBuffer();
42599 1 : ST(argvi) = sv_newmortal();
42600 1 : XSRETURN(argvi);
42601 : fail:
42602 0 : SWIG_croak_null();
42603 : }
42604 : }
42605 :
42606 :
42607 0 : XS(_wrap_msIO_installStdinFromBuffer) {
42608 : {
42609 : int argvi = 0;
42610 0 : dXSARGS;
42611 :
42612 0 : if ((items < 0) || (items > 0)) {
42613 0 : SWIG_croak("Usage: msIO_installStdinFromBuffer();");
42614 : }
42615 0 : msIO_installStdinFromBuffer();
42616 0 : ST(argvi) = sv_newmortal();
42617 0 : XSRETURN(argvi);
42618 : fail:
42619 0 : SWIG_croak_null();
42620 : }
42621 : }
42622 :
42623 :
42624 0 : XS(_wrap_msIO_stripStdoutBufferContentType) {
42625 : {
42626 : int argvi = 0;
42627 : char *result = 0 ;
42628 0 : dXSARGS;
42629 :
42630 0 : if ((items < 0) || (items > 0)) {
42631 0 : SWIG_croak("Usage: msIO_stripStdoutBufferContentType();");
42632 : }
42633 0 : result = (char *)msIO_stripStdoutBufferContentType();
42634 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42635 0 : free((char*)result);
42636 0 : XSRETURN(argvi);
42637 : fail:
42638 0 : SWIG_croak_null();
42639 : }
42640 : }
42641 :
42642 :
42643 0 : XS(_wrap_msIO_stripStdoutBufferContentHeaders) {
42644 : {
42645 : int argvi = 0;
42646 0 : dXSARGS;
42647 :
42648 0 : if ((items < 0) || (items > 0)) {
42649 0 : SWIG_croak("Usage: msIO_stripStdoutBufferContentHeaders();");
42650 : }
42651 0 : msIO_stripStdoutBufferContentHeaders();
42652 0 : ST(argvi) = sv_newmortal();
42653 0 : XSRETURN(argvi);
42654 : fail:
42655 0 : SWIG_croak_null();
42656 : }
42657 : }
42658 :
42659 :
42660 0 : XS(_wrap_msIO_getStdoutBufferString) {
42661 : {
42662 : int argvi = 0;
42663 : char *result = 0 ;
42664 0 : dXSARGS;
42665 :
42666 0 : if ((items < 0) || (items > 0)) {
42667 0 : SWIG_croak("Usage: msIO_getStdoutBufferString();");
42668 : }
42669 0 : result = (char *)msIO_getStdoutBufferString();
42670 0 : ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
42671 0 : XSRETURN(argvi);
42672 : fail:
42673 0 : SWIG_croak_null();
42674 : }
42675 : }
42676 :
42677 :
42678 1 : XS(_wrap_msIO_getStdoutBufferBytes) {
42679 : {
42680 : int argvi = 0;
42681 : gdBuffer result;
42682 1 : dXSARGS;
42683 :
42684 1 : if ((items < 0) || (items > 0)) {
42685 0 : SWIG_croak("Usage: msIO_getStdoutBufferBytes();");
42686 : }
42687 1 : result = msIO_getStdoutBufferBytes();
42688 : {
42689 : SV *mysv;
42690 1 : mysv = sv_newmortal();
42691 1 : if ((&result)->data == NULL)
42692 0 : sv_setpv(mysv,"");
42693 : else
42694 1 : sv_setpvn(mysv,(const char*)(&result)->data,(&result)->size);
42695 1 : ST(argvi) = newRV(mysv);
42696 1 : sv_2mortal(ST(argvi));
42697 : argvi++;
42698 1 : if( (&result)->owns_data )
42699 1 : msFree((&result)->data);
42700 : }
42701 1 : XSRETURN(argvi);
42702 : fail:
42703 0 : SWIG_croak_null();
42704 : }
42705 : }
42706 :
42707 :
42708 1 : XS(_wrap_msIO_getAndStripStdoutBufferMimeHeaders) {
42709 : {
42710 : int argvi = 0;
42711 : hashTableObj *result = 0 ;
42712 1 : dXSARGS;
42713 :
42714 1 : if ((items < 0) || (items > 0)) {
42715 0 : SWIG_croak("Usage: msIO_getAndStripStdoutBufferMimeHeaders();");
42716 : }
42717 1 : result = (hashTableObj *)msIO_getAndStripStdoutBufferMimeHeaders();
42718 1 : ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
42719 1 : XSRETURN(argvi);
42720 : fail:
42721 0 : SWIG_croak_null();
42722 : }
42723 : }
42724 :
42725 :
42726 :
42727 : /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42728 :
42729 0 : static void *_p_intarrayTo_p_int(void *x, int *SWIGUNUSEDPARM(newmemory)) {
42730 0 : return (void *)((int *) ((intarray *) x));
42731 : }
42732 : static swig_type_info _swigt__p_CompositingOperation = {"_p_CompositingOperation", "enum CompositingOperation *|CompositingOperation *", 0, 0, (void*)0, 0};
42733 : static swig_type_info _swigt__p_DBFFieldType = {"_p_DBFFieldType", "enum DBFFieldType *|DBFFieldType *", 0, 0, (void*)0, 0};
42734 : static swig_type_info _swigt__p_DBFInfo = {"_p_DBFInfo", "DBFInfo *", 0, 0, (void*)"mapscript::DBFInfo", 0};
42735 : static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0};
42736 : static swig_type_info _swigt__p__CompositingFilter = {"_p__CompositingFilter", "struct _CompositingFilter *|_CompositingFilter *|CompositingFilter *", 0, 0, (void*)"mapscript::CompositingFilter", 0};
42737 : static swig_type_info _swigt__p__LayerCompositer = {"_p__LayerCompositer", "struct _LayerCompositer *|_LayerCompositer *|LayerCompositer *", 0, 0, (void*)"mapscript::LayerCompositer", 0};
42738 : static swig_type_info _swigt__p_cgiRequestObj = {"_p_cgiRequestObj", "cgiRequestObj *", 0, 0, (void*)"mapscript::OWSRequest", 0};
42739 : static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
42740 : static swig_type_info _swigt__p_classObj = {"_p_classObj", "classObj *|struct classObj *", 0, 0, (void*)"mapscript::classObj", 0};
42741 : static swig_type_info _swigt__p_clusterObj = {"_p_clusterObj", "clusterObj *", 0, 0, (void*)"mapscript::clusterObj", 0};
42742 : static swig_type_info _swigt__p_colorObj = {"_p_colorObj", "colorObj *", 0, 0, (void*)"mapscript::colorObj", 0};
42743 : static swig_type_info _swigt__p_debugLevel = {"_p_debugLevel", "enum debugLevel *|debugLevel *", 0, 0, (void*)0, 0};
42744 : static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
42745 : static swig_type_info _swigt__p_errorObj = {"_p_errorObj", "struct errorObj *|errorObj *", 0, 0, (void*)"mapscript::errorObj", 0};
42746 : static swig_type_info _swigt__p_expressionObj = {"_p_expressionObj", "expressionObj *", 0, 0, (void*)0, 0};
42747 : static swig_type_info _swigt__p_fontSetObj = {"_p_fontSetObj", "fontSetObj *", 0, 0, (void*)"mapscript::fontSetObj", 0};
42748 : static swig_type_info _swigt__p_hashTableObj = {"_p_hashTableObj", "hashTableObj *", 0, 0, (void*)"mapscript::hashTableObj", 0};
42749 : static swig_type_info _swigt__p_imageObj = {"_p_imageObj", "imageObj *|struct imageObj *", 0, 0, (void*)"mapscript::imageObj", 0};
42750 : static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
42751 : static swig_type_info _swigt__p_int32_t = {"_p_int32_t", "int32_t *|ms_int32 *", 0, 0, (void*)0, 0};
42752 : static swig_type_info _swigt__p_intarray = {"_p_intarray", "intarray *", 0, 0, (void*)"mapscript::intarray", 0};
42753 : static swig_type_info _swigt__p_labelCacheMemberObj = {"_p_labelCacheMemberObj", "labelCacheMemberObj *", 0, 0, (void*)"mapscript::labelCacheMemberObj", 0};
42754 : static swig_type_info _swigt__p_labelCacheObj = {"_p_labelCacheObj", "labelCacheObj *", 0, 0, (void*)"mapscript::labelCacheObj", 0};
42755 : static swig_type_info _swigt__p_labelCacheSlotObj = {"_p_labelCacheSlotObj", "labelCacheSlotObj *", 0, 0, (void*)"mapscript::labelCacheSlotObj", 0};
42756 : static swig_type_info _swigt__p_labelLeaderObj = {"_p_labelLeaderObj", "labelLeaderObj *", 0, 0, (void*)"mapscript::labelLeaderObj", 0};
42757 : static swig_type_info _swigt__p_labelObj = {"_p_labelObj", "struct labelObj *|labelObj *", 0, 0, (void*)"mapscript::labelObj", 0};
42758 : static swig_type_info _swigt__p_layerObj = {"_p_layerObj", "struct layerObj *|layerObj *", 0, 0, (void*)"mapscript::layerObj", 0};
42759 : static swig_type_info _swigt__p_legendObj = {"_p_legendObj", "legendObj *", 0, 0, (void*)"mapscript::legendObj", 0};
42760 : static swig_type_info _swigt__p_lineObj = {"_p_lineObj", "lineObj *|multipointObj *", 0, 0, (void*)"mapscript::lineObj", 0};
42761 : static swig_type_info _swigt__p_mapObj = {"_p_mapObj", "struct mapObj *|mapObj *", 0, 0, (void*)"mapscript::mapObj", 0};
42762 : static swig_type_info _swigt__p_markerCacheMemberObj = {"_p_markerCacheMemberObj", "markerCacheMemberObj *", 0, 0, (void*)"mapscript::markerCacheMemberObj", 0};
42763 : static swig_type_info _swigt__p_outputFormatObj = {"_p_outputFormatObj", "outputFormatObj *", 0, 0, (void*)"mapscript::outputFormatObj", 0};
42764 : static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
42765 : static swig_type_info _swigt__p_p_labelCacheMemberObj = {"_p_p_labelCacheMemberObj", "labelCacheMemberObj **", 0, 0, (void*)0, 0};
42766 : static swig_type_info _swigt__p_p_textSymbolObj = {"_p_p_textSymbolObj", "textSymbolObj **", 0, 0, (void*)0, 0};
42767 : static swig_type_info _swigt__p_pointObj = {"_p_pointObj", "pointObj *", 0, 0, (void*)"mapscript::pointObj", 0};
42768 : static swig_type_info _swigt__p_projectionObj = {"_p_projectionObj", "projectionObj *", 0, 0, (void*)"mapscript::projectionObj", 0};
42769 : static swig_type_info _swigt__p_queryMapObj = {"_p_queryMapObj", "queryMapObj *", 0, 0, (void*)"mapscript::queryMapObj", 0};
42770 : static swig_type_info _swigt__p_rectObj = {"_p_rectObj", "rectObj *", 0, 0, (void*)"mapscript::rectObj", 0};
42771 : static swig_type_info _swigt__p_referenceMapObj = {"_p_referenceMapObj", "referenceMapObj *", 0, 0, (void*)"mapscript::referenceMapObj", 0};
42772 : static swig_type_info _swigt__p_resultCacheObj = {"_p_resultCacheObj", "resultCacheObj *", 0, 0, (void*)"mapscript::resultCacheObj", 0};
42773 : static swig_type_info _swigt__p_resultObj = {"_p_resultObj", "resultObj *", 0, 0, (void*)"mapscript::resultObj", 0};
42774 : static swig_type_info _swigt__p_scaleTokenEntryObj = {"_p_scaleTokenEntryObj", "scaleTokenEntryObj *", 0, 0, (void*)"mapscript::scaleTokenEntryObj", 0};
42775 : static swig_type_info _swigt__p_scaleTokenObj = {"_p_scaleTokenObj", "scaleTokenObj *", 0, 0, (void*)"mapscript::scaleTokenObj", 0};
42776 : static swig_type_info _swigt__p_scalebarObj = {"_p_scalebarObj", "scalebarObj *", 0, 0, (void*)"mapscript::scalebarObj", 0};
42777 : static swig_type_info _swigt__p_shapeObj = {"_p_shapeObj", "shapeObj *", 0, 0, (void*)"mapscript::shapeObj", 0};
42778 : static swig_type_info _swigt__p_shapefileObj = {"_p_shapefileObj", "shapefileObj *", 0, 0, (void*)"mapscript::shapefileObj", 0};
42779 : static swig_type_info _swigt__p_styleObj = {"_p_styleObj", "struct styleObj *|styleObj *", 0, 0, (void*)"mapscript::styleObj", 0};
42780 : static swig_type_info _swigt__p_symbolObj = {"_p_symbolObj", "symbolObj *|struct symbolObj *", 0, 0, (void*)"mapscript::symbolObj", 0};
42781 : static swig_type_info _swigt__p_symbolSetObj = {"_p_symbolSetObj", "symbolSetObj *", 0, 0, (void*)"mapscript::symbolSetObj", 0};
42782 : static swig_type_info _swigt__p_uint32_t = {"_p_uint32_t", "uint32_t *|ms_uint32 *|ms_bitarray", 0, 0, (void*)0, 0};
42783 : static swig_type_info _swigt__p_webObj = {"_p_webObj", "webObj *", 0, 0, (void*)"mapscript::webObj", 0};
42784 :
42785 : static swig_type_info *swig_type_initial[] = {
42786 : &_swigt__p_CompositingOperation,
42787 : &_swigt__p_DBFFieldType,
42788 : &_swigt__p_DBFInfo,
42789 : &_swigt__p_FILE,
42790 : &_swigt__p__CompositingFilter,
42791 : &_swigt__p__LayerCompositer,
42792 : &_swigt__p_cgiRequestObj,
42793 : &_swigt__p_char,
42794 : &_swigt__p_classObj,
42795 : &_swigt__p_clusterObj,
42796 : &_swigt__p_colorObj,
42797 : &_swigt__p_debugLevel,
42798 : &_swigt__p_double,
42799 : &_swigt__p_errorObj,
42800 : &_swigt__p_expressionObj,
42801 : &_swigt__p_fontSetObj,
42802 : &_swigt__p_hashTableObj,
42803 : &_swigt__p_imageObj,
42804 : &_swigt__p_int,
42805 : &_swigt__p_int32_t,
42806 : &_swigt__p_intarray,
42807 : &_swigt__p_labelCacheMemberObj,
42808 : &_swigt__p_labelCacheObj,
42809 : &_swigt__p_labelCacheSlotObj,
42810 : &_swigt__p_labelLeaderObj,
42811 : &_swigt__p_labelObj,
42812 : &_swigt__p_layerObj,
42813 : &_swigt__p_legendObj,
42814 : &_swigt__p_lineObj,
42815 : &_swigt__p_mapObj,
42816 : &_swigt__p_markerCacheMemberObj,
42817 : &_swigt__p_outputFormatObj,
42818 : &_swigt__p_p_char,
42819 : &_swigt__p_p_labelCacheMemberObj,
42820 : &_swigt__p_p_textSymbolObj,
42821 : &_swigt__p_pointObj,
42822 : &_swigt__p_projectionObj,
42823 : &_swigt__p_queryMapObj,
42824 : &_swigt__p_rectObj,
42825 : &_swigt__p_referenceMapObj,
42826 : &_swigt__p_resultCacheObj,
42827 : &_swigt__p_resultObj,
42828 : &_swigt__p_scaleTokenEntryObj,
42829 : &_swigt__p_scaleTokenObj,
42830 : &_swigt__p_scalebarObj,
42831 : &_swigt__p_shapeObj,
42832 : &_swigt__p_shapefileObj,
42833 : &_swigt__p_styleObj,
42834 : &_swigt__p_symbolObj,
42835 : &_swigt__p_symbolSetObj,
42836 : &_swigt__p_uint32_t,
42837 : &_swigt__p_webObj,
42838 : };
42839 :
42840 : static swig_cast_info _swigc__p_CompositingOperation[] = { {&_swigt__p_CompositingOperation, 0, 0, 0},{0, 0, 0, 0}};
42841 : static swig_cast_info _swigc__p_DBFFieldType[] = { {&_swigt__p_DBFFieldType, 0, 0, 0},{0, 0, 0, 0}};
42842 : static swig_cast_info _swigc__p_DBFInfo[] = { {&_swigt__p_DBFInfo, 0, 0, 0},{0, 0, 0, 0}};
42843 : static swig_cast_info _swigc__p_FILE[] = { {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}};
42844 : static swig_cast_info _swigc__p__CompositingFilter[] = { {&_swigt__p__CompositingFilter, 0, 0, 0},{0, 0, 0, 0}};
42845 : static swig_cast_info _swigc__p__LayerCompositer[] = { {&_swigt__p__LayerCompositer, 0, 0, 0},{0, 0, 0, 0}};
42846 : static swig_cast_info _swigc__p_cgiRequestObj[] = { {&_swigt__p_cgiRequestObj, 0, 0, 0},{0, 0, 0, 0}};
42847 : static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
42848 : static swig_cast_info _swigc__p_classObj[] = { {&_swigt__p_classObj, 0, 0, 0},{0, 0, 0, 0}};
42849 : static swig_cast_info _swigc__p_clusterObj[] = { {&_swigt__p_clusterObj, 0, 0, 0},{0, 0, 0, 0}};
42850 : static swig_cast_info _swigc__p_colorObj[] = { {&_swigt__p_colorObj, 0, 0, 0},{0, 0, 0, 0}};
42851 : static swig_cast_info _swigc__p_debugLevel[] = { {&_swigt__p_debugLevel, 0, 0, 0},{0, 0, 0, 0}};
42852 : static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
42853 : static swig_cast_info _swigc__p_errorObj[] = { {&_swigt__p_errorObj, 0, 0, 0},{0, 0, 0, 0}};
42854 : static swig_cast_info _swigc__p_expressionObj[] = { {&_swigt__p_expressionObj, 0, 0, 0},{0, 0, 0, 0}};
42855 : static swig_cast_info _swigc__p_fontSetObj[] = { {&_swigt__p_fontSetObj, 0, 0, 0},{0, 0, 0, 0}};
42856 : static swig_cast_info _swigc__p_hashTableObj[] = { {&_swigt__p_hashTableObj, 0, 0, 0},{0, 0, 0, 0}};
42857 : static swig_cast_info _swigc__p_imageObj[] = { {&_swigt__p_imageObj, 0, 0, 0},{0, 0, 0, 0}};
42858 : static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0}, {&_swigt__p_intarray, _p_intarrayTo_p_int, 0, 0},{0, 0, 0, 0}};
42859 : static swig_cast_info _swigc__p_int32_t[] = { {&_swigt__p_int32_t, 0, 0, 0},{0, 0, 0, 0}};
42860 : static swig_cast_info _swigc__p_intarray[] = { {&_swigt__p_intarray, 0, 0, 0},{0, 0, 0, 0}};
42861 : static swig_cast_info _swigc__p_labelCacheMemberObj[] = { {&_swigt__p_labelCacheMemberObj, 0, 0, 0},{0, 0, 0, 0}};
42862 : static swig_cast_info _swigc__p_labelCacheObj[] = { {&_swigt__p_labelCacheObj, 0, 0, 0},{0, 0, 0, 0}};
42863 : static swig_cast_info _swigc__p_labelCacheSlotObj[] = { {&_swigt__p_labelCacheSlotObj, 0, 0, 0},{0, 0, 0, 0}};
42864 : static swig_cast_info _swigc__p_labelLeaderObj[] = { {&_swigt__p_labelLeaderObj, 0, 0, 0},{0, 0, 0, 0}};
42865 : static swig_cast_info _swigc__p_labelObj[] = { {&_swigt__p_labelObj, 0, 0, 0},{0, 0, 0, 0}};
42866 : static swig_cast_info _swigc__p_layerObj[] = { {&_swigt__p_layerObj, 0, 0, 0},{0, 0, 0, 0}};
42867 : static swig_cast_info _swigc__p_legendObj[] = { {&_swigt__p_legendObj, 0, 0, 0},{0, 0, 0, 0}};
42868 : static swig_cast_info _swigc__p_lineObj[] = { {&_swigt__p_lineObj, 0, 0, 0},{0, 0, 0, 0}};
42869 : static swig_cast_info _swigc__p_mapObj[] = { {&_swigt__p_mapObj, 0, 0, 0},{0, 0, 0, 0}};
42870 : static swig_cast_info _swigc__p_markerCacheMemberObj[] = { {&_swigt__p_markerCacheMemberObj, 0, 0, 0},{0, 0, 0, 0}};
42871 : static swig_cast_info _swigc__p_outputFormatObj[] = { {&_swigt__p_outputFormatObj, 0, 0, 0},{0, 0, 0, 0}};
42872 : static swig_cast_info _swigc__p_p_char[] = { {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
42873 : static swig_cast_info _swigc__p_p_labelCacheMemberObj[] = { {&_swigt__p_p_labelCacheMemberObj, 0, 0, 0},{0, 0, 0, 0}};
42874 : static swig_cast_info _swigc__p_p_textSymbolObj[] = { {&_swigt__p_p_textSymbolObj, 0, 0, 0},{0, 0, 0, 0}};
42875 : static swig_cast_info _swigc__p_pointObj[] = { {&_swigt__p_pointObj, 0, 0, 0},{0, 0, 0, 0}};
42876 : static swig_cast_info _swigc__p_projectionObj[] = { {&_swigt__p_projectionObj, 0, 0, 0},{0, 0, 0, 0}};
42877 : static swig_cast_info _swigc__p_queryMapObj[] = { {&_swigt__p_queryMapObj, 0, 0, 0},{0, 0, 0, 0}};
42878 : static swig_cast_info _swigc__p_rectObj[] = { {&_swigt__p_rectObj, 0, 0, 0},{0, 0, 0, 0}};
42879 : static swig_cast_info _swigc__p_referenceMapObj[] = { {&_swigt__p_referenceMapObj, 0, 0, 0},{0, 0, 0, 0}};
42880 : static swig_cast_info _swigc__p_resultCacheObj[] = { {&_swigt__p_resultCacheObj, 0, 0, 0},{0, 0, 0, 0}};
42881 : static swig_cast_info _swigc__p_resultObj[] = { {&_swigt__p_resultObj, 0, 0, 0},{0, 0, 0, 0}};
42882 : static swig_cast_info _swigc__p_scaleTokenEntryObj[] = { {&_swigt__p_scaleTokenEntryObj, 0, 0, 0},{0, 0, 0, 0}};
42883 : static swig_cast_info _swigc__p_scaleTokenObj[] = { {&_swigt__p_scaleTokenObj, 0, 0, 0},{0, 0, 0, 0}};
42884 : static swig_cast_info _swigc__p_scalebarObj[] = { {&_swigt__p_scalebarObj, 0, 0, 0},{0, 0, 0, 0}};
42885 : static swig_cast_info _swigc__p_shapeObj[] = { {&_swigt__p_shapeObj, 0, 0, 0},{0, 0, 0, 0}};
42886 : static swig_cast_info _swigc__p_shapefileObj[] = { {&_swigt__p_shapefileObj, 0, 0, 0},{0, 0, 0, 0}};
42887 : static swig_cast_info _swigc__p_styleObj[] = { {&_swigt__p_styleObj, 0, 0, 0},{0, 0, 0, 0}};
42888 : static swig_cast_info _swigc__p_symbolObj[] = { {&_swigt__p_symbolObj, 0, 0, 0},{0, 0, 0, 0}};
42889 : static swig_cast_info _swigc__p_symbolSetObj[] = { {&_swigt__p_symbolSetObj, 0, 0, 0},{0, 0, 0, 0}};
42890 : static swig_cast_info _swigc__p_uint32_t[] = { {&_swigt__p_uint32_t, 0, 0, 0},{0, 0, 0, 0}};
42891 : static swig_cast_info _swigc__p_webObj[] = { {&_swigt__p_webObj, 0, 0, 0},{0, 0, 0, 0}};
42892 :
42893 : static swig_cast_info *swig_cast_initial[] = {
42894 : _swigc__p_CompositingOperation,
42895 : _swigc__p_DBFFieldType,
42896 : _swigc__p_DBFInfo,
42897 : _swigc__p_FILE,
42898 : _swigc__p__CompositingFilter,
42899 : _swigc__p__LayerCompositer,
42900 : _swigc__p_cgiRequestObj,
42901 : _swigc__p_char,
42902 : _swigc__p_classObj,
42903 : _swigc__p_clusterObj,
42904 : _swigc__p_colorObj,
42905 : _swigc__p_debugLevel,
42906 : _swigc__p_double,
42907 : _swigc__p_errorObj,
42908 : _swigc__p_expressionObj,
42909 : _swigc__p_fontSetObj,
42910 : _swigc__p_hashTableObj,
42911 : _swigc__p_imageObj,
42912 : _swigc__p_int,
42913 : _swigc__p_int32_t,
42914 : _swigc__p_intarray,
42915 : _swigc__p_labelCacheMemberObj,
42916 : _swigc__p_labelCacheObj,
42917 : _swigc__p_labelCacheSlotObj,
42918 : _swigc__p_labelLeaderObj,
42919 : _swigc__p_labelObj,
42920 : _swigc__p_layerObj,
42921 : _swigc__p_legendObj,
42922 : _swigc__p_lineObj,
42923 : _swigc__p_mapObj,
42924 : _swigc__p_markerCacheMemberObj,
42925 : _swigc__p_outputFormatObj,
42926 : _swigc__p_p_char,
42927 : _swigc__p_p_labelCacheMemberObj,
42928 : _swigc__p_p_textSymbolObj,
42929 : _swigc__p_pointObj,
42930 : _swigc__p_projectionObj,
42931 : _swigc__p_queryMapObj,
42932 : _swigc__p_rectObj,
42933 : _swigc__p_referenceMapObj,
42934 : _swigc__p_resultCacheObj,
42935 : _swigc__p_resultObj,
42936 : _swigc__p_scaleTokenEntryObj,
42937 : _swigc__p_scaleTokenObj,
42938 : _swigc__p_scalebarObj,
42939 : _swigc__p_shapeObj,
42940 : _swigc__p_shapefileObj,
42941 : _swigc__p_styleObj,
42942 : _swigc__p_symbolObj,
42943 : _swigc__p_symbolSetObj,
42944 : _swigc__p_uint32_t,
42945 : _swigc__p_webObj,
42946 : };
42947 :
42948 :
42949 : /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42950 :
42951 : static swig_constant_info swig_constants[] = {
42952 : {0,0,0,0,0,0}
42953 : };
42954 : #ifdef __cplusplus
42955 : }
42956 : #endif
42957 : static swig_variable_info swig_variables[] = {
42958 : {0,0,0,0}
42959 : };
42960 : static swig_command_info swig_commands[] = {
42961 : {"mapscriptc::new_intarray", _wrap_new_intarray},
42962 : {"mapscriptc::delete_intarray", _wrap_delete_intarray},
42963 : {"mapscriptc::intarray_getitem", _wrap_intarray_getitem},
42964 : {"mapscriptc::intarray_setitem", _wrap_intarray_setitem},
42965 : {"mapscriptc::intarray_cast", _wrap_intarray_cast},
42966 : {"mapscriptc::intarray_frompointer", _wrap_intarray_frompointer},
42967 : {"mapscriptc::CompositingFilter_filter_set", _wrap_CompositingFilter_filter_set},
42968 : {"mapscriptc::CompositingFilter_filter_get", _wrap_CompositingFilter_filter_get},
42969 : {"mapscriptc::CompositingFilter_next_set", _wrap_CompositingFilter_next_set},
42970 : {"mapscriptc::CompositingFilter_next_get", _wrap_CompositingFilter_next_get},
42971 : {"mapscriptc::new_CompositingFilter", _wrap_new_CompositingFilter},
42972 : {"mapscriptc::delete_CompositingFilter", _wrap_delete_CompositingFilter},
42973 : {"mapscriptc::LayerCompositer_comp_op_set", _wrap_LayerCompositer_comp_op_set},
42974 : {"mapscriptc::LayerCompositer_comp_op_get", _wrap_LayerCompositer_comp_op_get},
42975 : {"mapscriptc::LayerCompositer_opacity_set", _wrap_LayerCompositer_opacity_set},
42976 : {"mapscriptc::LayerCompositer_opacity_get", _wrap_LayerCompositer_opacity_get},
42977 : {"mapscriptc::LayerCompositer_filter_set", _wrap_LayerCompositer_filter_set},
42978 : {"mapscriptc::LayerCompositer_filter_get", _wrap_LayerCompositer_filter_get},
42979 : {"mapscriptc::LayerCompositer_next_set", _wrap_LayerCompositer_next_set},
42980 : {"mapscriptc::LayerCompositer_next_get", _wrap_LayerCompositer_next_get},
42981 : {"mapscriptc::new_LayerCompositer", _wrap_new_LayerCompositer},
42982 : {"mapscriptc::delete_LayerCompositer", _wrap_delete_LayerCompositer},
42983 : {"mapscriptc::fontSetObj_filename_get", _wrap_fontSetObj_filename_get},
42984 : {"mapscriptc::fontSetObj_numfonts_get", _wrap_fontSetObj_numfonts_get},
42985 : {"mapscriptc::fontSetObj_fonts_get", _wrap_fontSetObj_fonts_get},
42986 : {"mapscriptc::new_fontSetObj", _wrap_new_fontSetObj},
42987 : {"mapscriptc::delete_fontSetObj", _wrap_delete_fontSetObj},
42988 : {"mapscriptc::clusterObj_maxdistance_set", _wrap_clusterObj_maxdistance_set},
42989 : {"mapscriptc::clusterObj_maxdistance_get", _wrap_clusterObj_maxdistance_get},
42990 : {"mapscriptc::clusterObj_buffer_set", _wrap_clusterObj_buffer_set},
42991 : {"mapscriptc::clusterObj_buffer_get", _wrap_clusterObj_buffer_get},
42992 : {"mapscriptc::clusterObj_region_set", _wrap_clusterObj_region_set},
42993 : {"mapscriptc::clusterObj_region_get", _wrap_clusterObj_region_get},
42994 : {"mapscriptc::clusterObj_updateFromString", _wrap_clusterObj_updateFromString},
42995 : {"mapscriptc::clusterObj_convertToString", _wrap_clusterObj_convertToString},
42996 : {"mapscriptc::clusterObj_setGroup", _wrap_clusterObj_setGroup},
42997 : {"mapscriptc::clusterObj_getGroupString", _wrap_clusterObj_getGroupString},
42998 : {"mapscriptc::clusterObj_setFilter", _wrap_clusterObj_setFilter},
42999 : {"mapscriptc::clusterObj_getFilterString", _wrap_clusterObj_getFilterString},
43000 : {"mapscriptc::new_clusterObj", _wrap_new_clusterObj},
43001 : {"mapscriptc::delete_clusterObj", _wrap_delete_clusterObj},
43002 : {"mapscriptc::outputFormatObj_numformatoptions_get", _wrap_outputFormatObj_numformatoptions_get},
43003 : {"mapscriptc::outputFormatObj_name_set", _wrap_outputFormatObj_name_set},
43004 : {"mapscriptc::outputFormatObj_name_get", _wrap_outputFormatObj_name_get},
43005 : {"mapscriptc::outputFormatObj_mimetype_set", _wrap_outputFormatObj_mimetype_set},
43006 : {"mapscriptc::outputFormatObj_mimetype_get", _wrap_outputFormatObj_mimetype_get},
43007 : {"mapscriptc::outputFormatObj_driver_set", _wrap_outputFormatObj_driver_set},
43008 : {"mapscriptc::outputFormatObj_driver_get", _wrap_outputFormatObj_driver_get},
43009 : {"mapscriptc::outputFormatObj_extension_set", _wrap_outputFormatObj_extension_set},
43010 : {"mapscriptc::outputFormatObj_extension_get", _wrap_outputFormatObj_extension_get},
43011 : {"mapscriptc::outputFormatObj_renderer_set", _wrap_outputFormatObj_renderer_set},
43012 : {"mapscriptc::outputFormatObj_renderer_get", _wrap_outputFormatObj_renderer_get},
43013 : {"mapscriptc::outputFormatObj_imagemode_set", _wrap_outputFormatObj_imagemode_set},
43014 : {"mapscriptc::outputFormatObj_imagemode_get", _wrap_outputFormatObj_imagemode_get},
43015 : {"mapscriptc::outputFormatObj_transparent_set", _wrap_outputFormatObj_transparent_set},
43016 : {"mapscriptc::outputFormatObj_transparent_get", _wrap_outputFormatObj_transparent_get},
43017 : {"mapscriptc::outputFormatObj_bands_set", _wrap_outputFormatObj_bands_set},
43018 : {"mapscriptc::outputFormatObj_bands_get", _wrap_outputFormatObj_bands_get},
43019 : {"mapscriptc::outputFormatObj_inmapfile_set", _wrap_outputFormatObj_inmapfile_set},
43020 : {"mapscriptc::outputFormatObj_inmapfile_get", _wrap_outputFormatObj_inmapfile_get},
43021 : {"mapscriptc::new_outputFormatObj", _wrap_new_outputFormatObj},
43022 : {"mapscriptc::delete_outputFormatObj", _wrap_delete_outputFormatObj},
43023 : {"mapscriptc::outputFormatObj_setExtension", _wrap_outputFormatObj_setExtension},
43024 : {"mapscriptc::outputFormatObj_setMimetype", _wrap_outputFormatObj_setMimetype},
43025 : {"mapscriptc::outputFormatObj_setOption", _wrap_outputFormatObj_setOption},
43026 : {"mapscriptc::outputFormatObj_validate", _wrap_outputFormatObj_validate},
43027 : {"mapscriptc::outputFormatObj_getOption", _wrap_outputFormatObj_getOption},
43028 : {"mapscriptc::outputFormatObj_getOptionAt", _wrap_outputFormatObj_getOptionAt},
43029 : {"mapscriptc::outputFormatObj_attachDevice", _wrap_outputFormatObj_attachDevice},
43030 : {"mapscriptc::queryMapObj_height_set", _wrap_queryMapObj_height_set},
43031 : {"mapscriptc::queryMapObj_height_get", _wrap_queryMapObj_height_get},
43032 : {"mapscriptc::queryMapObj_width_set", _wrap_queryMapObj_width_set},
43033 : {"mapscriptc::queryMapObj_width_get", _wrap_queryMapObj_width_get},
43034 : {"mapscriptc::queryMapObj_status_set", _wrap_queryMapObj_status_set},
43035 : {"mapscriptc::queryMapObj_status_get", _wrap_queryMapObj_status_get},
43036 : {"mapscriptc::queryMapObj_style_set", _wrap_queryMapObj_style_set},
43037 : {"mapscriptc::queryMapObj_style_get", _wrap_queryMapObj_style_get},
43038 : {"mapscriptc::queryMapObj_color_set", _wrap_queryMapObj_color_set},
43039 : {"mapscriptc::queryMapObj_color_get", _wrap_queryMapObj_color_get},
43040 : {"mapscriptc::queryMapObj_updateFromString", _wrap_queryMapObj_updateFromString},
43041 : {"mapscriptc::queryMapObj_convertToString", _wrap_queryMapObj_convertToString},
43042 : {"mapscriptc::new_queryMapObj", _wrap_new_queryMapObj},
43043 : {"mapscriptc::delete_queryMapObj", _wrap_delete_queryMapObj},
43044 : {"mapscriptc::webObj_log_set", _wrap_webObj_log_set},
43045 : {"mapscriptc::webObj_log_get", _wrap_webObj_log_get},
43046 : {"mapscriptc::webObj_imagepath_set", _wrap_webObj_imagepath_set},
43047 : {"mapscriptc::webObj_imagepath_get", _wrap_webObj_imagepath_get},
43048 : {"mapscriptc::webObj_imageurl_set", _wrap_webObj_imageurl_set},
43049 : {"mapscriptc::webObj_imageurl_get", _wrap_webObj_imageurl_get},
43050 : {"mapscriptc::webObj_temppath_set", _wrap_webObj_temppath_set},
43051 : {"mapscriptc::webObj_temppath_get", _wrap_webObj_temppath_get},
43052 : {"mapscriptc::webObj_map_get", _wrap_webObj_map_get},
43053 : {"mapscriptc::webObj_template_set", _wrap_webObj_template_set},
43054 : {"mapscriptc::webObj_template_get", _wrap_webObj_template_get},
43055 : {"mapscriptc::webObj_header_set", _wrap_webObj_header_set},
43056 : {"mapscriptc::webObj_header_get", _wrap_webObj_header_get},
43057 : {"mapscriptc::webObj_footer_set", _wrap_webObj_footer_set},
43058 : {"mapscriptc::webObj_footer_get", _wrap_webObj_footer_get},
43059 : {"mapscriptc::webObj_empty_set", _wrap_webObj_empty_set},
43060 : {"mapscriptc::webObj_empty_get", _wrap_webObj_empty_get},
43061 : {"mapscriptc::webObj_error_set", _wrap_webObj_error_set},
43062 : {"mapscriptc::webObj_error_get", _wrap_webObj_error_get},
43063 : {"mapscriptc::webObj_extent_set", _wrap_webObj_extent_set},
43064 : {"mapscriptc::webObj_extent_get", _wrap_webObj_extent_get},
43065 : {"mapscriptc::webObj_minscaledenom_set", _wrap_webObj_minscaledenom_set},
43066 : {"mapscriptc::webObj_minscaledenom_get", _wrap_webObj_minscaledenom_get},
43067 : {"mapscriptc::webObj_maxscaledenom_set", _wrap_webObj_maxscaledenom_set},
43068 : {"mapscriptc::webObj_maxscaledenom_get", _wrap_webObj_maxscaledenom_get},
43069 : {"mapscriptc::webObj_mintemplate_set", _wrap_webObj_mintemplate_set},
43070 : {"mapscriptc::webObj_mintemplate_get", _wrap_webObj_mintemplate_get},
43071 : {"mapscriptc::webObj_maxtemplate_set", _wrap_webObj_maxtemplate_set},
43072 : {"mapscriptc::webObj_maxtemplate_get", _wrap_webObj_maxtemplate_get},
43073 : {"mapscriptc::webObj_queryformat_set", _wrap_webObj_queryformat_set},
43074 : {"mapscriptc::webObj_queryformat_get", _wrap_webObj_queryformat_get},
43075 : {"mapscriptc::webObj_legendformat_set", _wrap_webObj_legendformat_set},
43076 : {"mapscriptc::webObj_legendformat_get", _wrap_webObj_legendformat_get},
43077 : {"mapscriptc::webObj_browseformat_set", _wrap_webObj_browseformat_set},
43078 : {"mapscriptc::webObj_browseformat_get", _wrap_webObj_browseformat_get},
43079 : {"mapscriptc::webObj_metadata_get", _wrap_webObj_metadata_get},
43080 : {"mapscriptc::webObj_validation_get", _wrap_webObj_validation_get},
43081 : {"mapscriptc::new_webObj", _wrap_new_webObj},
43082 : {"mapscriptc::delete_webObj", _wrap_delete_webObj},
43083 : {"mapscriptc::webObj_updateFromString", _wrap_webObj_updateFromString},
43084 : {"mapscriptc::webObj_convertToString", _wrap_webObj_convertToString},
43085 : {"mapscriptc::styleObj_refcount_get", _wrap_styleObj_refcount_get},
43086 : {"mapscriptc::styleObj_autoangle_set", _wrap_styleObj_autoangle_set},
43087 : {"mapscriptc::styleObj_autoangle_get", _wrap_styleObj_autoangle_get},
43088 : {"mapscriptc::styleObj_color_set", _wrap_styleObj_color_set},
43089 : {"mapscriptc::styleObj_color_get", _wrap_styleObj_color_get},
43090 : {"mapscriptc::styleObj_backgroundcolor_set", _wrap_styleObj_backgroundcolor_set},
43091 : {"mapscriptc::styleObj_backgroundcolor_get", _wrap_styleObj_backgroundcolor_get},
43092 : {"mapscriptc::styleObj_outlinecolor_set", _wrap_styleObj_outlinecolor_set},
43093 : {"mapscriptc::styleObj_outlinecolor_get", _wrap_styleObj_outlinecolor_get},
43094 : {"mapscriptc::styleObj_opacity_set", _wrap_styleObj_opacity_set},
43095 : {"mapscriptc::styleObj_opacity_get", _wrap_styleObj_opacity_get},
43096 : {"mapscriptc::styleObj_mincolor_set", _wrap_styleObj_mincolor_set},
43097 : {"mapscriptc::styleObj_mincolor_get", _wrap_styleObj_mincolor_get},
43098 : {"mapscriptc::styleObj_maxcolor_set", _wrap_styleObj_maxcolor_set},
43099 : {"mapscriptc::styleObj_maxcolor_get", _wrap_styleObj_maxcolor_get},
43100 : {"mapscriptc::styleObj_minvalue_set", _wrap_styleObj_minvalue_set},
43101 : {"mapscriptc::styleObj_minvalue_get", _wrap_styleObj_minvalue_get},
43102 : {"mapscriptc::styleObj_maxvalue_set", _wrap_styleObj_maxvalue_set},
43103 : {"mapscriptc::styleObj_maxvalue_get", _wrap_styleObj_maxvalue_get},
43104 : {"mapscriptc::styleObj_rangeitem_set", _wrap_styleObj_rangeitem_set},
43105 : {"mapscriptc::styleObj_rangeitem_get", _wrap_styleObj_rangeitem_get},
43106 : {"mapscriptc::styleObj_rangeitemindex_set", _wrap_styleObj_rangeitemindex_set},
43107 : {"mapscriptc::styleObj_rangeitemindex_get", _wrap_styleObj_rangeitemindex_get},
43108 : {"mapscriptc::styleObj_symbol_set", _wrap_styleObj_symbol_set},
43109 : {"mapscriptc::styleObj_symbol_get", _wrap_styleObj_symbol_get},
43110 : {"mapscriptc::styleObj_symbolname_set", _wrap_styleObj_symbolname_set},
43111 : {"mapscriptc::styleObj_symbolname_get", _wrap_styleObj_symbolname_get},
43112 : {"mapscriptc::styleObj_size_set", _wrap_styleObj_size_set},
43113 : {"mapscriptc::styleObj_size_get", _wrap_styleObj_size_get},
43114 : {"mapscriptc::styleObj_minsize_set", _wrap_styleObj_minsize_set},
43115 : {"mapscriptc::styleObj_minsize_get", _wrap_styleObj_minsize_get},
43116 : {"mapscriptc::styleObj_maxsize_set", _wrap_styleObj_maxsize_set},
43117 : {"mapscriptc::styleObj_maxsize_get", _wrap_styleObj_maxsize_get},
43118 : {"mapscriptc::styleObj_patternlength_set", _wrap_styleObj_patternlength_set},
43119 : {"mapscriptc::styleObj_patternlength_get", _wrap_styleObj_patternlength_get},
43120 : {"mapscriptc::styleObj_pattern_set", _wrap_styleObj_pattern_set},
43121 : {"mapscriptc::styleObj_pattern_get", _wrap_styleObj_pattern_get},
43122 : {"mapscriptc::styleObj_gap_set", _wrap_styleObj_gap_set},
43123 : {"mapscriptc::styleObj_gap_get", _wrap_styleObj_gap_get},
43124 : {"mapscriptc::styleObj_initialgap_set", _wrap_styleObj_initialgap_set},
43125 : {"mapscriptc::styleObj_initialgap_get", _wrap_styleObj_initialgap_get},
43126 : {"mapscriptc::styleObj_position_set", _wrap_styleObj_position_set},
43127 : {"mapscriptc::styleObj_position_get", _wrap_styleObj_position_get},
43128 : {"mapscriptc::styleObj_linecap_set", _wrap_styleObj_linecap_set},
43129 : {"mapscriptc::styleObj_linecap_get", _wrap_styleObj_linecap_get},
43130 : {"mapscriptc::styleObj_linejoin_set", _wrap_styleObj_linejoin_set},
43131 : {"mapscriptc::styleObj_linejoin_get", _wrap_styleObj_linejoin_get},
43132 : {"mapscriptc::styleObj_linejoinmaxsize_set", _wrap_styleObj_linejoinmaxsize_set},
43133 : {"mapscriptc::styleObj_linejoinmaxsize_get", _wrap_styleObj_linejoinmaxsize_get},
43134 : {"mapscriptc::styleObj_width_set", _wrap_styleObj_width_set},
43135 : {"mapscriptc::styleObj_width_get", _wrap_styleObj_width_get},
43136 : {"mapscriptc::styleObj_outlinewidth_set", _wrap_styleObj_outlinewidth_set},
43137 : {"mapscriptc::styleObj_outlinewidth_get", _wrap_styleObj_outlinewidth_get},
43138 : {"mapscriptc::styleObj_minwidth_set", _wrap_styleObj_minwidth_set},
43139 : {"mapscriptc::styleObj_minwidth_get", _wrap_styleObj_minwidth_get},
43140 : {"mapscriptc::styleObj_maxwidth_set", _wrap_styleObj_maxwidth_set},
43141 : {"mapscriptc::styleObj_maxwidth_get", _wrap_styleObj_maxwidth_get},
43142 : {"mapscriptc::styleObj_offsetx_set", _wrap_styleObj_offsetx_set},
43143 : {"mapscriptc::styleObj_offsetx_get", _wrap_styleObj_offsetx_get},
43144 : {"mapscriptc::styleObj_offsety_set", _wrap_styleObj_offsety_set},
43145 : {"mapscriptc::styleObj_offsety_get", _wrap_styleObj_offsety_get},
43146 : {"mapscriptc::styleObj_polaroffsetpixel_set", _wrap_styleObj_polaroffsetpixel_set},
43147 : {"mapscriptc::styleObj_polaroffsetpixel_get", _wrap_styleObj_polaroffsetpixel_get},
43148 : {"mapscriptc::styleObj_polaroffsetangle_set", _wrap_styleObj_polaroffsetangle_set},
43149 : {"mapscriptc::styleObj_polaroffsetangle_get", _wrap_styleObj_polaroffsetangle_get},
43150 : {"mapscriptc::styleObj_angle_set", _wrap_styleObj_angle_set},
43151 : {"mapscriptc::styleObj_angle_get", _wrap_styleObj_angle_get},
43152 : {"mapscriptc::styleObj_minscaledenom_set", _wrap_styleObj_minscaledenom_set},
43153 : {"mapscriptc::styleObj_minscaledenom_get", _wrap_styleObj_minscaledenom_get},
43154 : {"mapscriptc::styleObj_maxscaledenom_set", _wrap_styleObj_maxscaledenom_set},
43155 : {"mapscriptc::styleObj_maxscaledenom_get", _wrap_styleObj_maxscaledenom_get},
43156 : {"mapscriptc::new_styleObj", _wrap_new_styleObj},
43157 : {"mapscriptc::delete_styleObj", _wrap_delete_styleObj},
43158 : {"mapscriptc::styleObj_updateFromString", _wrap_styleObj_updateFromString},
43159 : {"mapscriptc::styleObj_convertToString", _wrap_styleObj_convertToString},
43160 : {"mapscriptc::styleObj_clone", _wrap_styleObj_clone},
43161 : {"mapscriptc::styleObj_setSymbolByName", _wrap_styleObj_setSymbolByName},
43162 : {"mapscriptc::styleObj_removeBinding", _wrap_styleObj_removeBinding},
43163 : {"mapscriptc::styleObj_setBinding", _wrap_styleObj_setBinding},
43164 : {"mapscriptc::styleObj_getBinding", _wrap_styleObj_getBinding},
43165 : {"mapscriptc::styleObj_getGeomTransform", _wrap_styleObj_getGeomTransform},
43166 : {"mapscriptc::styleObj_setGeomTransform", _wrap_styleObj_setGeomTransform},
43167 : {"mapscriptc::labelLeaderObj_maxdistance_set", _wrap_labelLeaderObj_maxdistance_set},
43168 : {"mapscriptc::labelLeaderObj_maxdistance_get", _wrap_labelLeaderObj_maxdistance_get},
43169 : {"mapscriptc::labelLeaderObj_gridstep_set", _wrap_labelLeaderObj_gridstep_set},
43170 : {"mapscriptc::labelLeaderObj_gridstep_get", _wrap_labelLeaderObj_gridstep_get},
43171 : {"mapscriptc::labelLeaderObj_numstyles_get", _wrap_labelLeaderObj_numstyles_get},
43172 : {"mapscriptc::new_labelLeaderObj", _wrap_new_labelLeaderObj},
43173 : {"mapscriptc::delete_labelLeaderObj", _wrap_delete_labelLeaderObj},
43174 : {"mapscriptc::labelObj_refcount_get", _wrap_labelObj_refcount_get},
43175 : {"mapscriptc::labelObj_font_set", _wrap_labelObj_font_set},
43176 : {"mapscriptc::labelObj_font_get", _wrap_labelObj_font_get},
43177 : {"mapscriptc::labelObj_color_set", _wrap_labelObj_color_set},
43178 : {"mapscriptc::labelObj_color_get", _wrap_labelObj_color_get},
43179 : {"mapscriptc::labelObj_outlinecolor_set", _wrap_labelObj_outlinecolor_set},
43180 : {"mapscriptc::labelObj_outlinecolor_get", _wrap_labelObj_outlinecolor_get},
43181 : {"mapscriptc::labelObj_outlinewidth_set", _wrap_labelObj_outlinewidth_set},
43182 : {"mapscriptc::labelObj_outlinewidth_get", _wrap_labelObj_outlinewidth_get},
43183 : {"mapscriptc::labelObj_shadowcolor_set", _wrap_labelObj_shadowcolor_set},
43184 : {"mapscriptc::labelObj_shadowcolor_get", _wrap_labelObj_shadowcolor_get},
43185 : {"mapscriptc::labelObj_shadowsizex_set", _wrap_labelObj_shadowsizex_set},
43186 : {"mapscriptc::labelObj_shadowsizex_get", _wrap_labelObj_shadowsizex_get},
43187 : {"mapscriptc::labelObj_shadowsizey_set", _wrap_labelObj_shadowsizey_set},
43188 : {"mapscriptc::labelObj_shadowsizey_get", _wrap_labelObj_shadowsizey_get},
43189 : {"mapscriptc::labelObj_size_set", _wrap_labelObj_size_set},
43190 : {"mapscriptc::labelObj_size_get", _wrap_labelObj_size_get},
43191 : {"mapscriptc::labelObj_minsize_set", _wrap_labelObj_minsize_set},
43192 : {"mapscriptc::labelObj_minsize_get", _wrap_labelObj_minsize_get},
43193 : {"mapscriptc::labelObj_maxsize_set", _wrap_labelObj_maxsize_set},
43194 : {"mapscriptc::labelObj_maxsize_get", _wrap_labelObj_maxsize_get},
43195 : {"mapscriptc::labelObj_position_set", _wrap_labelObj_position_set},
43196 : {"mapscriptc::labelObj_position_get", _wrap_labelObj_position_get},
43197 : {"mapscriptc::labelObj_offsetx_set", _wrap_labelObj_offsetx_set},
43198 : {"mapscriptc::labelObj_offsetx_get", _wrap_labelObj_offsetx_get},
43199 : {"mapscriptc::labelObj_offsety_set", _wrap_labelObj_offsety_set},
43200 : {"mapscriptc::labelObj_offsety_get", _wrap_labelObj_offsety_get},
43201 : {"mapscriptc::labelObj_angle_set", _wrap_labelObj_angle_set},
43202 : {"mapscriptc::labelObj_angle_get", _wrap_labelObj_angle_get},
43203 : {"mapscriptc::labelObj_anglemode_set", _wrap_labelObj_anglemode_set},
43204 : {"mapscriptc::labelObj_anglemode_get", _wrap_labelObj_anglemode_get},
43205 : {"mapscriptc::labelObj_buffer_set", _wrap_labelObj_buffer_set},
43206 : {"mapscriptc::labelObj_buffer_get", _wrap_labelObj_buffer_get},
43207 : {"mapscriptc::labelObj_align_set", _wrap_labelObj_align_set},
43208 : {"mapscriptc::labelObj_align_get", _wrap_labelObj_align_get},
43209 : {"mapscriptc::labelObj_wrap_set", _wrap_labelObj_wrap_set},
43210 : {"mapscriptc::labelObj_wrap_get", _wrap_labelObj_wrap_get},
43211 : {"mapscriptc::labelObj_maxlength_set", _wrap_labelObj_maxlength_set},
43212 : {"mapscriptc::labelObj_maxlength_get", _wrap_labelObj_maxlength_get},
43213 : {"mapscriptc::labelObj_minlength_set", _wrap_labelObj_minlength_set},
43214 : {"mapscriptc::labelObj_minlength_get", _wrap_labelObj_minlength_get},
43215 : {"mapscriptc::labelObj_space_size_10_set", _wrap_labelObj_space_size_10_set},
43216 : {"mapscriptc::labelObj_space_size_10_get", _wrap_labelObj_space_size_10_get},
43217 : {"mapscriptc::labelObj_minfeaturesize_set", _wrap_labelObj_minfeaturesize_set},
43218 : {"mapscriptc::labelObj_minfeaturesize_get", _wrap_labelObj_minfeaturesize_get},
43219 : {"mapscriptc::labelObj_autominfeaturesize_set", _wrap_labelObj_autominfeaturesize_set},
43220 : {"mapscriptc::labelObj_autominfeaturesize_get", _wrap_labelObj_autominfeaturesize_get},
43221 : {"mapscriptc::labelObj_minscaledenom_set", _wrap_labelObj_minscaledenom_set},
43222 : {"mapscriptc::labelObj_minscaledenom_get", _wrap_labelObj_minscaledenom_get},
43223 : {"mapscriptc::labelObj_maxscaledenom_set", _wrap_labelObj_maxscaledenom_set},
43224 : {"mapscriptc::labelObj_maxscaledenom_get", _wrap_labelObj_maxscaledenom_get},
43225 : {"mapscriptc::labelObj_mindistance_set", _wrap_labelObj_mindistance_set},
43226 : {"mapscriptc::labelObj_mindistance_get", _wrap_labelObj_mindistance_get},
43227 : {"mapscriptc::labelObj_repeatdistance_set", _wrap_labelObj_repeatdistance_set},
43228 : {"mapscriptc::labelObj_repeatdistance_get", _wrap_labelObj_repeatdistance_get},
43229 : {"mapscriptc::labelObj_maxoverlapangle_set", _wrap_labelObj_maxoverlapangle_set},
43230 : {"mapscriptc::labelObj_maxoverlapangle_get", _wrap_labelObj_maxoverlapangle_get},
43231 : {"mapscriptc::labelObj_partials_set", _wrap_labelObj_partials_set},
43232 : {"mapscriptc::labelObj_partials_get", _wrap_labelObj_partials_get},
43233 : {"mapscriptc::labelObj_force_set", _wrap_labelObj_force_set},
43234 : {"mapscriptc::labelObj_force_get", _wrap_labelObj_force_get},
43235 : {"mapscriptc::labelObj_encoding_set", _wrap_labelObj_encoding_set},
43236 : {"mapscriptc::labelObj_encoding_get", _wrap_labelObj_encoding_get},
43237 : {"mapscriptc::labelObj_priority_set", _wrap_labelObj_priority_set},
43238 : {"mapscriptc::labelObj_priority_get", _wrap_labelObj_priority_get},
43239 : {"mapscriptc::labelObj_numstyles_set", _wrap_labelObj_numstyles_set},
43240 : {"mapscriptc::labelObj_numstyles_get", _wrap_labelObj_numstyles_get},
43241 : {"mapscriptc::labelObj_leader_set", _wrap_labelObj_leader_set},
43242 : {"mapscriptc::labelObj_leader_get", _wrap_labelObj_leader_get},
43243 : {"mapscriptc::new_labelObj", _wrap_new_labelObj},
43244 : {"mapscriptc::delete_labelObj", _wrap_delete_labelObj},
43245 : {"mapscriptc::labelObj_updateFromString", _wrap_labelObj_updateFromString},
43246 : {"mapscriptc::labelObj_convertToString", _wrap_labelObj_convertToString},
43247 : {"mapscriptc::labelObj_removeBinding", _wrap_labelObj_removeBinding},
43248 : {"mapscriptc::labelObj_getBinding", _wrap_labelObj_getBinding},
43249 : {"mapscriptc::labelObj_setBinding", _wrap_labelObj_setBinding},
43250 : {"mapscriptc::labelObj_setExpression", _wrap_labelObj_setExpression},
43251 : {"mapscriptc::labelObj_getExpressionString", _wrap_labelObj_getExpressionString},
43252 : {"mapscriptc::labelObj_setText", _wrap_labelObj_setText},
43253 : {"mapscriptc::labelObj_getTextString", _wrap_labelObj_getTextString},
43254 : {"mapscriptc::labelObj_getStyle", _wrap_labelObj_getStyle},
43255 : {"mapscriptc::labelObj_insertStyle", _wrap_labelObj_insertStyle},
43256 : {"mapscriptc::labelObj_removeStyle", _wrap_labelObj_removeStyle},
43257 : {"mapscriptc::labelObj_moveStyleUp", _wrap_labelObj_moveStyleUp},
43258 : {"mapscriptc::labelObj_moveStyleDown", _wrap_labelObj_moveStyleDown},
43259 : {"mapscriptc::classObj_status_set", _wrap_classObj_status_set},
43260 : {"mapscriptc::classObj_status_get", _wrap_classObj_status_get},
43261 : {"mapscriptc::classObj_numstyles_get", _wrap_classObj_numstyles_get},
43262 : {"mapscriptc::classObj_numlabels_set", _wrap_classObj_numlabels_set},
43263 : {"mapscriptc::classObj_numlabels_get", _wrap_classObj_numlabels_get},
43264 : {"mapscriptc::classObj_name_set", _wrap_classObj_name_set},
43265 : {"mapscriptc::classObj_name_get", _wrap_classObj_name_get},
43266 : {"mapscriptc::classObj_title_set", _wrap_classObj_title_set},
43267 : {"mapscriptc::classObj_title_get", _wrap_classObj_title_get},
43268 : {"mapscriptc::classObj_template_set", _wrap_classObj_template_set},
43269 : {"mapscriptc::classObj_template_get", _wrap_classObj_template_get},
43270 : {"mapscriptc::classObj_metadata_get", _wrap_classObj_metadata_get},
43271 : {"mapscriptc::classObj_validation_get", _wrap_classObj_validation_get},
43272 : {"mapscriptc::classObj_minscaledenom_set", _wrap_classObj_minscaledenom_set},
43273 : {"mapscriptc::classObj_minscaledenom_get", _wrap_classObj_minscaledenom_get},
43274 : {"mapscriptc::classObj_maxscaledenom_set", _wrap_classObj_maxscaledenom_set},
43275 : {"mapscriptc::classObj_maxscaledenom_get", _wrap_classObj_maxscaledenom_get},
43276 : {"mapscriptc::classObj_minfeaturesize_set", _wrap_classObj_minfeaturesize_set},
43277 : {"mapscriptc::classObj_minfeaturesize_get", _wrap_classObj_minfeaturesize_get},
43278 : {"mapscriptc::classObj_refcount_get", _wrap_classObj_refcount_get},
43279 : {"mapscriptc::classObj_layer_get", _wrap_classObj_layer_get},
43280 : {"mapscriptc::classObj_debug_set", _wrap_classObj_debug_set},
43281 : {"mapscriptc::classObj_debug_get", _wrap_classObj_debug_get},
43282 : {"mapscriptc::classObj_keyimage_set", _wrap_classObj_keyimage_set},
43283 : {"mapscriptc::classObj_keyimage_get", _wrap_classObj_keyimage_get},
43284 : {"mapscriptc::classObj_group_set", _wrap_classObj_group_set},
43285 : {"mapscriptc::classObj_group_get", _wrap_classObj_group_get},
43286 : {"mapscriptc::classObj_leader_set", _wrap_classObj_leader_set},
43287 : {"mapscriptc::classObj_leader_get", _wrap_classObj_leader_get},
43288 : {"mapscriptc::new_classObj", _wrap_new_classObj},
43289 : {"mapscriptc::delete_classObj", _wrap_delete_classObj},
43290 : {"mapscriptc::classObj_updateFromString", _wrap_classObj_updateFromString},
43291 : {"mapscriptc::classObj_convertToString", _wrap_classObj_convertToString},
43292 : {"mapscriptc::classObj_clone", _wrap_classObj_clone},
43293 : {"mapscriptc::classObj_setExpression", _wrap_classObj_setExpression},
43294 : {"mapscriptc::classObj_getExpressionString", _wrap_classObj_getExpressionString},
43295 : {"mapscriptc::classObj_setText", _wrap_classObj_setText},
43296 : {"mapscriptc::classObj_getTextString", _wrap_classObj_getTextString},
43297 : {"mapscriptc::classObj_getMetaData", _wrap_classObj_getMetaData},
43298 : {"mapscriptc::classObj_setMetaData", _wrap_classObj_setMetaData},
43299 : {"mapscriptc::classObj_getFirstMetaDataKey", _wrap_classObj_getFirstMetaDataKey},
43300 : {"mapscriptc::classObj_getNextMetaDataKey", _wrap_classObj_getNextMetaDataKey},
43301 : {"mapscriptc::classObj_drawLegendIcon", _wrap_classObj_drawLegendIcon},
43302 : {"mapscriptc::classObj_createLegendIcon", _wrap_classObj_createLegendIcon},
43303 : {"mapscriptc::classObj_getLabel", _wrap_classObj_getLabel},
43304 : {"mapscriptc::classObj_addLabel", _wrap_classObj_addLabel},
43305 : {"mapscriptc::classObj_removeLabel", _wrap_classObj_removeLabel},
43306 : {"mapscriptc::classObj_getStyle", _wrap_classObj_getStyle},
43307 : {"mapscriptc::classObj_insertStyle", _wrap_classObj_insertStyle},
43308 : {"mapscriptc::classObj_removeStyle", _wrap_classObj_removeStyle},
43309 : {"mapscriptc::classObj_moveStyleUp", _wrap_classObj_moveStyleUp},
43310 : {"mapscriptc::classObj_moveStyleDown", _wrap_classObj_moveStyleDown},
43311 : {"mapscriptc::labelCacheMemberObj_textsymbols_get", _wrap_labelCacheMemberObj_textsymbols_get},
43312 : {"mapscriptc::labelCacheMemberObj_numtextsymbols_get", _wrap_labelCacheMemberObj_numtextsymbols_get},
43313 : {"mapscriptc::labelCacheMemberObj_layerindex_get", _wrap_labelCacheMemberObj_layerindex_get},
43314 : {"mapscriptc::labelCacheMemberObj_classindex_get", _wrap_labelCacheMemberObj_classindex_get},
43315 : {"mapscriptc::labelCacheMemberObj_point_get", _wrap_labelCacheMemberObj_point_get},
43316 : {"mapscriptc::labelCacheMemberObj_bbox_get", _wrap_labelCacheMemberObj_bbox_get},
43317 : {"mapscriptc::labelCacheMemberObj_status_get", _wrap_labelCacheMemberObj_status_get},
43318 : {"mapscriptc::labelCacheMemberObj_markerid_get", _wrap_labelCacheMemberObj_markerid_get},
43319 : {"mapscriptc::labelCacheMemberObj_leaderline_get", _wrap_labelCacheMemberObj_leaderline_get},
43320 : {"mapscriptc::labelCacheMemberObj_leaderbbox_get", _wrap_labelCacheMemberObj_leaderbbox_get},
43321 : {"mapscriptc::new_labelCacheMemberObj", _wrap_new_labelCacheMemberObj},
43322 : {"mapscriptc::delete_labelCacheMemberObj", _wrap_delete_labelCacheMemberObj},
43323 : {"mapscriptc::markerCacheMemberObj_id_get", _wrap_markerCacheMemberObj_id_get},
43324 : {"mapscriptc::markerCacheMemberObj_bounds_get", _wrap_markerCacheMemberObj_bounds_get},
43325 : {"mapscriptc::new_markerCacheMemberObj", _wrap_new_markerCacheMemberObj},
43326 : {"mapscriptc::delete_markerCacheMemberObj", _wrap_delete_markerCacheMemberObj},
43327 : {"mapscriptc::labelCacheSlotObj_labels_get", _wrap_labelCacheSlotObj_labels_get},
43328 : {"mapscriptc::labelCacheSlotObj_numlabels_get", _wrap_labelCacheSlotObj_numlabels_get},
43329 : {"mapscriptc::labelCacheSlotObj_cachesize_get", _wrap_labelCacheSlotObj_cachesize_get},
43330 : {"mapscriptc::labelCacheSlotObj_markers_get", _wrap_labelCacheSlotObj_markers_get},
43331 : {"mapscriptc::labelCacheSlotObj_nummarkers_get", _wrap_labelCacheSlotObj_nummarkers_get},
43332 : {"mapscriptc::labelCacheSlotObj_markercachesize_get", _wrap_labelCacheSlotObj_markercachesize_get},
43333 : {"mapscriptc::new_labelCacheSlotObj", _wrap_new_labelCacheSlotObj},
43334 : {"mapscriptc::delete_labelCacheSlotObj", _wrap_delete_labelCacheSlotObj},
43335 : {"mapscriptc::labelCacheObj_slots_get", _wrap_labelCacheObj_slots_get},
43336 : {"mapscriptc::labelCacheObj_gutter_get", _wrap_labelCacheObj_gutter_get},
43337 : {"mapscriptc::labelCacheObj_rendered_text_symbols_get", _wrap_labelCacheObj_rendered_text_symbols_get},
43338 : {"mapscriptc::labelCacheObj_num_allocated_rendered_members_get", _wrap_labelCacheObj_num_allocated_rendered_members_get},
43339 : {"mapscriptc::labelCacheObj_num_rendered_members_get", _wrap_labelCacheObj_num_rendered_members_get},
43340 : {"mapscriptc::labelCacheObj_freeCache", _wrap_labelCacheObj_freeCache},
43341 : {"mapscriptc::new_labelCacheObj", _wrap_new_labelCacheObj},
43342 : {"mapscriptc::delete_labelCacheObj", _wrap_delete_labelCacheObj},
43343 : {"mapscriptc::resultObj_shapeindex_get", _wrap_resultObj_shapeindex_get},
43344 : {"mapscriptc::resultObj_tileindex_get", _wrap_resultObj_tileindex_get},
43345 : {"mapscriptc::resultObj_resultindex_get", _wrap_resultObj_resultindex_get},
43346 : {"mapscriptc::resultObj_classindex_get", _wrap_resultObj_classindex_get},
43347 : {"mapscriptc::new_resultObj", _wrap_new_resultObj},
43348 : {"mapscriptc::delete_resultObj", _wrap_delete_resultObj},
43349 : {"mapscriptc::resultCacheObj_numresults_get", _wrap_resultCacheObj_numresults_get},
43350 : {"mapscriptc::resultCacheObj_bounds_get", _wrap_resultCacheObj_bounds_get},
43351 : {"mapscriptc::resultCacheObj_usegetshape_set", _wrap_resultCacheObj_usegetshape_set},
43352 : {"mapscriptc::resultCacheObj_usegetshape_get", _wrap_resultCacheObj_usegetshape_get},
43353 : {"mapscriptc::resultCacheObj_getResult", _wrap_resultCacheObj_getResult},
43354 : {"mapscriptc::new_resultCacheObj", _wrap_new_resultCacheObj},
43355 : {"mapscriptc::delete_resultCacheObj", _wrap_delete_resultCacheObj},
43356 : {"mapscriptc::symbolSetObj_filename_set", _wrap_symbolSetObj_filename_set},
43357 : {"mapscriptc::symbolSetObj_filename_get", _wrap_symbolSetObj_filename_get},
43358 : {"mapscriptc::symbolSetObj_imagecachesize_set", _wrap_symbolSetObj_imagecachesize_set},
43359 : {"mapscriptc::symbolSetObj_imagecachesize_get", _wrap_symbolSetObj_imagecachesize_get},
43360 : {"mapscriptc::symbolSetObj_numsymbols_get", _wrap_symbolSetObj_numsymbols_get},
43361 : {"mapscriptc::symbolSetObj_maxsymbols_get", _wrap_symbolSetObj_maxsymbols_get},
43362 : {"mapscriptc::new_symbolSetObj", _wrap_new_symbolSetObj},
43363 : {"mapscriptc::delete_symbolSetObj", _wrap_delete_symbolSetObj},
43364 : {"mapscriptc::symbolSetObj_getSymbol", _wrap_symbolSetObj_getSymbol},
43365 : {"mapscriptc::symbolSetObj_getSymbolByName", _wrap_symbolSetObj_getSymbolByName},
43366 : {"mapscriptc::symbolSetObj_index", _wrap_symbolSetObj_index},
43367 : {"mapscriptc::symbolSetObj_appendSymbol", _wrap_symbolSetObj_appendSymbol},
43368 : {"mapscriptc::symbolSetObj_removeSymbol", _wrap_symbolSetObj_removeSymbol},
43369 : {"mapscriptc::symbolSetObj_save", _wrap_symbolSetObj_save},
43370 : {"mapscriptc::referenceMapObj_extent_set", _wrap_referenceMapObj_extent_set},
43371 : {"mapscriptc::referenceMapObj_extent_get", _wrap_referenceMapObj_extent_get},
43372 : {"mapscriptc::referenceMapObj_height_set", _wrap_referenceMapObj_height_set},
43373 : {"mapscriptc::referenceMapObj_height_get", _wrap_referenceMapObj_height_get},
43374 : {"mapscriptc::referenceMapObj_width_set", _wrap_referenceMapObj_width_set},
43375 : {"mapscriptc::referenceMapObj_width_get", _wrap_referenceMapObj_width_get},
43376 : {"mapscriptc::referenceMapObj_color_set", _wrap_referenceMapObj_color_set},
43377 : {"mapscriptc::referenceMapObj_color_get", _wrap_referenceMapObj_color_get},
43378 : {"mapscriptc::referenceMapObj_outlinecolor_set", _wrap_referenceMapObj_outlinecolor_set},
43379 : {"mapscriptc::referenceMapObj_outlinecolor_get", _wrap_referenceMapObj_outlinecolor_get},
43380 : {"mapscriptc::referenceMapObj_image_set", _wrap_referenceMapObj_image_set},
43381 : {"mapscriptc::referenceMapObj_image_get", _wrap_referenceMapObj_image_get},
43382 : {"mapscriptc::referenceMapObj_status_set", _wrap_referenceMapObj_status_set},
43383 : {"mapscriptc::referenceMapObj_status_get", _wrap_referenceMapObj_status_get},
43384 : {"mapscriptc::referenceMapObj_marker_set", _wrap_referenceMapObj_marker_set},
43385 : {"mapscriptc::referenceMapObj_marker_get", _wrap_referenceMapObj_marker_get},
43386 : {"mapscriptc::referenceMapObj_markername_set", _wrap_referenceMapObj_markername_set},
43387 : {"mapscriptc::referenceMapObj_markername_get", _wrap_referenceMapObj_markername_get},
43388 : {"mapscriptc::referenceMapObj_markersize_set", _wrap_referenceMapObj_markersize_set},
43389 : {"mapscriptc::referenceMapObj_markersize_get", _wrap_referenceMapObj_markersize_get},
43390 : {"mapscriptc::referenceMapObj_minboxsize_set", _wrap_referenceMapObj_minboxsize_set},
43391 : {"mapscriptc::referenceMapObj_minboxsize_get", _wrap_referenceMapObj_minboxsize_get},
43392 : {"mapscriptc::referenceMapObj_maxboxsize_set", _wrap_referenceMapObj_maxboxsize_set},
43393 : {"mapscriptc::referenceMapObj_maxboxsize_get", _wrap_referenceMapObj_maxboxsize_get},
43394 : {"mapscriptc::referenceMapObj_map_get", _wrap_referenceMapObj_map_get},
43395 : {"mapscriptc::referenceMapObj_updateFromString", _wrap_referenceMapObj_updateFromString},
43396 : {"mapscriptc::referenceMapObj_convertToString", _wrap_referenceMapObj_convertToString},
43397 : {"mapscriptc::new_referenceMapObj", _wrap_new_referenceMapObj},
43398 : {"mapscriptc::delete_referenceMapObj", _wrap_delete_referenceMapObj},
43399 : {"mapscriptc::scalebarObj_imagecolor_set", _wrap_scalebarObj_imagecolor_set},
43400 : {"mapscriptc::scalebarObj_imagecolor_get", _wrap_scalebarObj_imagecolor_get},
43401 : {"mapscriptc::scalebarObj_height_set", _wrap_scalebarObj_height_set},
43402 : {"mapscriptc::scalebarObj_height_get", _wrap_scalebarObj_height_get},
43403 : {"mapscriptc::scalebarObj_width_set", _wrap_scalebarObj_width_set},
43404 : {"mapscriptc::scalebarObj_width_get", _wrap_scalebarObj_width_get},
43405 : {"mapscriptc::scalebarObj_style_set", _wrap_scalebarObj_style_set},
43406 : {"mapscriptc::scalebarObj_style_get", _wrap_scalebarObj_style_get},
43407 : {"mapscriptc::scalebarObj_intervals_set", _wrap_scalebarObj_intervals_set},
43408 : {"mapscriptc::scalebarObj_intervals_get", _wrap_scalebarObj_intervals_get},
43409 : {"mapscriptc::scalebarObj_label_set", _wrap_scalebarObj_label_set},
43410 : {"mapscriptc::scalebarObj_label_get", _wrap_scalebarObj_label_get},
43411 : {"mapscriptc::scalebarObj_color_set", _wrap_scalebarObj_color_set},
43412 : {"mapscriptc::scalebarObj_color_get", _wrap_scalebarObj_color_get},
43413 : {"mapscriptc::scalebarObj_backgroundcolor_set", _wrap_scalebarObj_backgroundcolor_set},
43414 : {"mapscriptc::scalebarObj_backgroundcolor_get", _wrap_scalebarObj_backgroundcolor_get},
43415 : {"mapscriptc::scalebarObj_outlinecolor_set", _wrap_scalebarObj_outlinecolor_set},
43416 : {"mapscriptc::scalebarObj_outlinecolor_get", _wrap_scalebarObj_outlinecolor_get},
43417 : {"mapscriptc::scalebarObj_units_set", _wrap_scalebarObj_units_set},
43418 : {"mapscriptc::scalebarObj_units_get", _wrap_scalebarObj_units_get},
43419 : {"mapscriptc::scalebarObj_status_set", _wrap_scalebarObj_status_set},
43420 : {"mapscriptc::scalebarObj_status_get", _wrap_scalebarObj_status_get},
43421 : {"mapscriptc::scalebarObj_position_set", _wrap_scalebarObj_position_set},
43422 : {"mapscriptc::scalebarObj_position_get", _wrap_scalebarObj_position_get},
43423 : {"mapscriptc::scalebarObj_postlabelcache_set", _wrap_scalebarObj_postlabelcache_set},
43424 : {"mapscriptc::scalebarObj_postlabelcache_get", _wrap_scalebarObj_postlabelcache_get},
43425 : {"mapscriptc::scalebarObj_align_set", _wrap_scalebarObj_align_set},
43426 : {"mapscriptc::scalebarObj_align_get", _wrap_scalebarObj_align_get},
43427 : {"mapscriptc::scalebarObj_offsetx_set", _wrap_scalebarObj_offsetx_set},
43428 : {"mapscriptc::scalebarObj_offsetx_get", _wrap_scalebarObj_offsetx_get},
43429 : {"mapscriptc::scalebarObj_offsety_set", _wrap_scalebarObj_offsety_set},
43430 : {"mapscriptc::scalebarObj_offsety_get", _wrap_scalebarObj_offsety_get},
43431 : {"mapscriptc::scalebarObj_updateFromString", _wrap_scalebarObj_updateFromString},
43432 : {"mapscriptc::scalebarObj_convertToString", _wrap_scalebarObj_convertToString},
43433 : {"mapscriptc::new_scalebarObj", _wrap_new_scalebarObj},
43434 : {"mapscriptc::delete_scalebarObj", _wrap_delete_scalebarObj},
43435 : {"mapscriptc::legendObj_imagecolor_set", _wrap_legendObj_imagecolor_set},
43436 : {"mapscriptc::legendObj_imagecolor_get", _wrap_legendObj_imagecolor_get},
43437 : {"mapscriptc::legendObj_label_get", _wrap_legendObj_label_get},
43438 : {"mapscriptc::legendObj_keysizex_set", _wrap_legendObj_keysizex_set},
43439 : {"mapscriptc::legendObj_keysizex_get", _wrap_legendObj_keysizex_get},
43440 : {"mapscriptc::legendObj_keysizey_set", _wrap_legendObj_keysizey_set},
43441 : {"mapscriptc::legendObj_keysizey_get", _wrap_legendObj_keysizey_get},
43442 : {"mapscriptc::legendObj_keyspacingx_set", _wrap_legendObj_keyspacingx_set},
43443 : {"mapscriptc::legendObj_keyspacingx_get", _wrap_legendObj_keyspacingx_get},
43444 : {"mapscriptc::legendObj_keyspacingy_set", _wrap_legendObj_keyspacingy_set},
43445 : {"mapscriptc::legendObj_keyspacingy_get", _wrap_legendObj_keyspacingy_get},
43446 : {"mapscriptc::legendObj_outlinecolor_set", _wrap_legendObj_outlinecolor_set},
43447 : {"mapscriptc::legendObj_outlinecolor_get", _wrap_legendObj_outlinecolor_get},
43448 : {"mapscriptc::legendObj_status_set", _wrap_legendObj_status_set},
43449 : {"mapscriptc::legendObj_status_get", _wrap_legendObj_status_get},
43450 : {"mapscriptc::legendObj_height_set", _wrap_legendObj_height_set},
43451 : {"mapscriptc::legendObj_height_get", _wrap_legendObj_height_get},
43452 : {"mapscriptc::legendObj_width_set", _wrap_legendObj_width_set},
43453 : {"mapscriptc::legendObj_width_get", _wrap_legendObj_width_get},
43454 : {"mapscriptc::legendObj_position_set", _wrap_legendObj_position_set},
43455 : {"mapscriptc::legendObj_position_get", _wrap_legendObj_position_get},
43456 : {"mapscriptc::legendObj_postlabelcache_set", _wrap_legendObj_postlabelcache_set},
43457 : {"mapscriptc::legendObj_postlabelcache_get", _wrap_legendObj_postlabelcache_get},
43458 : {"mapscriptc::legendObj_template_set", _wrap_legendObj_template_set},
43459 : {"mapscriptc::legendObj_template_get", _wrap_legendObj_template_get},
43460 : {"mapscriptc::legendObj_map_get", _wrap_legendObj_map_get},
43461 : {"mapscriptc::legendObj_updateFromString", _wrap_legendObj_updateFromString},
43462 : {"mapscriptc::legendObj_convertToString", _wrap_legendObj_convertToString},
43463 : {"mapscriptc::new_legendObj", _wrap_new_legendObj},
43464 : {"mapscriptc::delete_legendObj", _wrap_delete_legendObj},
43465 : {"mapscriptc::imageObj_width_get", _wrap_imageObj_width_get},
43466 : {"mapscriptc::imageObj_height_get", _wrap_imageObj_height_get},
43467 : {"mapscriptc::imageObj_resolution_get", _wrap_imageObj_resolution_get},
43468 : {"mapscriptc::imageObj_resolutionfactor_get", _wrap_imageObj_resolutionfactor_get},
43469 : {"mapscriptc::imageObj_imagepath_get", _wrap_imageObj_imagepath_get},
43470 : {"mapscriptc::imageObj_imageurl_get", _wrap_imageObj_imageurl_get},
43471 : {"mapscriptc::imageObj_format_get", _wrap_imageObj_format_get},
43472 : {"mapscriptc::new_imageObj", _wrap_new_imageObj},
43473 : {"mapscriptc::delete_imageObj", _wrap_delete_imageObj},
43474 : {"mapscriptc::imageObj_save", _wrap_imageObj_save},
43475 : {"mapscriptc::imageObj_write", _wrap_imageObj_write},
43476 : {"mapscriptc::imageObj_getBytes", _wrap_imageObj_getBytes},
43477 : {"mapscriptc::imageObj_getSize", _wrap_imageObj_getSize},
43478 : {"mapscriptc::scaleTokenEntryObj_minscale_set", _wrap_scaleTokenEntryObj_minscale_set},
43479 : {"mapscriptc::scaleTokenEntryObj_minscale_get", _wrap_scaleTokenEntryObj_minscale_get},
43480 : {"mapscriptc::scaleTokenEntryObj_maxscale_set", _wrap_scaleTokenEntryObj_maxscale_set},
43481 : {"mapscriptc::scaleTokenEntryObj_maxscale_get", _wrap_scaleTokenEntryObj_maxscale_get},
43482 : {"mapscriptc::scaleTokenEntryObj_value_set", _wrap_scaleTokenEntryObj_value_set},
43483 : {"mapscriptc::scaleTokenEntryObj_value_get", _wrap_scaleTokenEntryObj_value_get},
43484 : {"mapscriptc::new_scaleTokenEntryObj", _wrap_new_scaleTokenEntryObj},
43485 : {"mapscriptc::delete_scaleTokenEntryObj", _wrap_delete_scaleTokenEntryObj},
43486 : {"mapscriptc::scaleTokenObj_name_set", _wrap_scaleTokenObj_name_set},
43487 : {"mapscriptc::scaleTokenObj_name_get", _wrap_scaleTokenObj_name_get},
43488 : {"mapscriptc::scaleTokenObj_n_entries_set", _wrap_scaleTokenObj_n_entries_set},
43489 : {"mapscriptc::scaleTokenObj_n_entries_get", _wrap_scaleTokenObj_n_entries_get},
43490 : {"mapscriptc::scaleTokenObj_tokens_set", _wrap_scaleTokenObj_tokens_set},
43491 : {"mapscriptc::scaleTokenObj_tokens_get", _wrap_scaleTokenObj_tokens_get},
43492 : {"mapscriptc::new_scaleTokenObj", _wrap_new_scaleTokenObj},
43493 : {"mapscriptc::delete_scaleTokenObj", _wrap_delete_scaleTokenObj},
43494 : {"mapscriptc::layerObj_classitem_set", _wrap_layerObj_classitem_set},
43495 : {"mapscriptc::layerObj_classitem_get", _wrap_layerObj_classitem_get},
43496 : {"mapscriptc::layerObj_refcount_get", _wrap_layerObj_refcount_get},
43497 : {"mapscriptc::layerObj_numclasses_get", _wrap_layerObj_numclasses_get},
43498 : {"mapscriptc::layerObj_maxclasses_get", _wrap_layerObj_maxclasses_get},
43499 : {"mapscriptc::layerObj_index_get", _wrap_layerObj_index_get},
43500 : {"mapscriptc::layerObj_map_get", _wrap_layerObj_map_get},
43501 : {"mapscriptc::layerObj_header_set", _wrap_layerObj_header_set},
43502 : {"mapscriptc::layerObj_header_get", _wrap_layerObj_header_get},
43503 : {"mapscriptc::layerObj_footer_set", _wrap_layerObj_footer_set},
43504 : {"mapscriptc::layerObj_footer_get", _wrap_layerObj_footer_get},
43505 : {"mapscriptc::layerObj_template_set", _wrap_layerObj_template_set},
43506 : {"mapscriptc::layerObj_template_get", _wrap_layerObj_template_get},
43507 : {"mapscriptc::layerObj_name_set", _wrap_layerObj_name_set},
43508 : {"mapscriptc::layerObj_name_get", _wrap_layerObj_name_get},
43509 : {"mapscriptc::layerObj_group_set", _wrap_layerObj_group_set},
43510 : {"mapscriptc::layerObj_group_get", _wrap_layerObj_group_get},
43511 : {"mapscriptc::layerObj_status_set", _wrap_layerObj_status_set},
43512 : {"mapscriptc::layerObj_status_get", _wrap_layerObj_status_get},
43513 : {"mapscriptc::layerObj_data_set", _wrap_layerObj_data_set},
43514 : {"mapscriptc::layerObj_data_get", _wrap_layerObj_data_get},
43515 : {"mapscriptc::layerObj_type_set", _wrap_layerObj_type_set},
43516 : {"mapscriptc::layerObj_type_get", _wrap_layerObj_type_get},
43517 : {"mapscriptc::layerObj_tolerance_set", _wrap_layerObj_tolerance_set},
43518 : {"mapscriptc::layerObj_tolerance_get", _wrap_layerObj_tolerance_get},
43519 : {"mapscriptc::layerObj_toleranceunits_set", _wrap_layerObj_toleranceunits_set},
43520 : {"mapscriptc::layerObj_toleranceunits_get", _wrap_layerObj_toleranceunits_get},
43521 : {"mapscriptc::layerObj_symbolscaledenom_set", _wrap_layerObj_symbolscaledenom_set},
43522 : {"mapscriptc::layerObj_symbolscaledenom_get", _wrap_layerObj_symbolscaledenom_get},
43523 : {"mapscriptc::layerObj_minscaledenom_set", _wrap_layerObj_minscaledenom_set},
43524 : {"mapscriptc::layerObj_minscaledenom_get", _wrap_layerObj_minscaledenom_get},
43525 : {"mapscriptc::layerObj_maxscaledenom_set", _wrap_layerObj_maxscaledenom_set},
43526 : {"mapscriptc::layerObj_maxscaledenom_get", _wrap_layerObj_maxscaledenom_get},
43527 : {"mapscriptc::layerObj_minfeaturesize_set", _wrap_layerObj_minfeaturesize_set},
43528 : {"mapscriptc::layerObj_minfeaturesize_get", _wrap_layerObj_minfeaturesize_get},
43529 : {"mapscriptc::layerObj_labelminscaledenom_set", _wrap_layerObj_labelminscaledenom_set},
43530 : {"mapscriptc::layerObj_labelminscaledenom_get", _wrap_layerObj_labelminscaledenom_get},
43531 : {"mapscriptc::layerObj_labelmaxscaledenom_set", _wrap_layerObj_labelmaxscaledenom_set},
43532 : {"mapscriptc::layerObj_labelmaxscaledenom_get", _wrap_layerObj_labelmaxscaledenom_get},
43533 : {"mapscriptc::layerObj_mingeowidth_set", _wrap_layerObj_mingeowidth_set},
43534 : {"mapscriptc::layerObj_mingeowidth_get", _wrap_layerObj_mingeowidth_get},
43535 : {"mapscriptc::layerObj_maxgeowidth_set", _wrap_layerObj_maxgeowidth_set},
43536 : {"mapscriptc::layerObj_maxgeowidth_get", _wrap_layerObj_maxgeowidth_get},
43537 : {"mapscriptc::layerObj_sizeunits_set", _wrap_layerObj_sizeunits_set},
43538 : {"mapscriptc::layerObj_sizeunits_get", _wrap_layerObj_sizeunits_get},
43539 : {"mapscriptc::layerObj_maxfeatures_set", _wrap_layerObj_maxfeatures_set},
43540 : {"mapscriptc::layerObj_maxfeatures_get", _wrap_layerObj_maxfeatures_get},
43541 : {"mapscriptc::layerObj_startindex_set", _wrap_layerObj_startindex_set},
43542 : {"mapscriptc::layerObj_startindex_get", _wrap_layerObj_startindex_get},
43543 : {"mapscriptc::layerObj_offsite_set", _wrap_layerObj_offsite_set},
43544 : {"mapscriptc::layerObj_offsite_get", _wrap_layerObj_offsite_get},
43545 : {"mapscriptc::layerObj_transform_set", _wrap_layerObj_transform_set},
43546 : {"mapscriptc::layerObj_transform_get", _wrap_layerObj_transform_get},
43547 : {"mapscriptc::layerObj_labelcache_set", _wrap_layerObj_labelcache_set},
43548 : {"mapscriptc::layerObj_labelcache_get", _wrap_layerObj_labelcache_get},
43549 : {"mapscriptc::layerObj_postlabelcache_set", _wrap_layerObj_postlabelcache_set},
43550 : {"mapscriptc::layerObj_postlabelcache_get", _wrap_layerObj_postlabelcache_get},
43551 : {"mapscriptc::layerObj_labelitem_set", _wrap_layerObj_labelitem_set},
43552 : {"mapscriptc::layerObj_labelitem_get", _wrap_layerObj_labelitem_get},
43553 : {"mapscriptc::layerObj_tileitem_set", _wrap_layerObj_tileitem_set},
43554 : {"mapscriptc::layerObj_tileitem_get", _wrap_layerObj_tileitem_get},
43555 : {"mapscriptc::layerObj_tileindex_set", _wrap_layerObj_tileindex_set},
43556 : {"mapscriptc::layerObj_tileindex_get", _wrap_layerObj_tileindex_get},
43557 : {"mapscriptc::layerObj_tilesrs_set", _wrap_layerObj_tilesrs_set},
43558 : {"mapscriptc::layerObj_tilesrs_get", _wrap_layerObj_tilesrs_get},
43559 : {"mapscriptc::layerObj_units_set", _wrap_layerObj_units_set},
43560 : {"mapscriptc::layerObj_units_get", _wrap_layerObj_units_get},
43561 : {"mapscriptc::layerObj_connection_set", _wrap_layerObj_connection_set},
43562 : {"mapscriptc::layerObj_connection_get", _wrap_layerObj_connection_get},
43563 : {"mapscriptc::layerObj_plugin_library_set", _wrap_layerObj_plugin_library_set},
43564 : {"mapscriptc::layerObj_plugin_library_get", _wrap_layerObj_plugin_library_get},
43565 : {"mapscriptc::layerObj_plugin_library_original_set", _wrap_layerObj_plugin_library_original_set},
43566 : {"mapscriptc::layerObj_plugin_library_original_get", _wrap_layerObj_plugin_library_original_get},
43567 : {"mapscriptc::layerObj_connectiontype_set", _wrap_layerObj_connectiontype_set},
43568 : {"mapscriptc::layerObj_connectiontype_get", _wrap_layerObj_connectiontype_get},
43569 : {"mapscriptc::layerObj_numitems_get", _wrap_layerObj_numitems_get},
43570 : {"mapscriptc::layerObj_bandsitem_set", _wrap_layerObj_bandsitem_set},
43571 : {"mapscriptc::layerObj_bandsitem_get", _wrap_layerObj_bandsitem_get},
43572 : {"mapscriptc::layerObj_filteritem_set", _wrap_layerObj_filteritem_set},
43573 : {"mapscriptc::layerObj_filteritem_get", _wrap_layerObj_filteritem_get},
43574 : {"mapscriptc::layerObj_styleitem_set", _wrap_layerObj_styleitem_set},
43575 : {"mapscriptc::layerObj_styleitem_get", _wrap_layerObj_styleitem_get},
43576 : {"mapscriptc::layerObj_requires_set", _wrap_layerObj_requires_set},
43577 : {"mapscriptc::layerObj_requires_get", _wrap_layerObj_requires_get},
43578 : {"mapscriptc::layerObj_labelrequires_set", _wrap_layerObj_labelrequires_set},
43579 : {"mapscriptc::layerObj_labelrequires_get", _wrap_layerObj_labelrequires_get},
43580 : {"mapscriptc::layerObj_metadata_get", _wrap_layerObj_metadata_get},
43581 : {"mapscriptc::layerObj_validation_get", _wrap_layerObj_validation_get},
43582 : {"mapscriptc::layerObj_bindvals_get", _wrap_layerObj_bindvals_get},
43583 : {"mapscriptc::layerObj_cluster_get", _wrap_layerObj_cluster_get},
43584 : {"mapscriptc::layerObj_dump_set", _wrap_layerObj_dump_set},
43585 : {"mapscriptc::layerObj_dump_get", _wrap_layerObj_dump_get},
43586 : {"mapscriptc::layerObj_debug_set", _wrap_layerObj_debug_set},
43587 : {"mapscriptc::layerObj_debug_get", _wrap_layerObj_debug_get},
43588 : {"mapscriptc::layerObj_extent_get", _wrap_layerObj_extent_get},
43589 : {"mapscriptc::layerObj_numprocessing_get", _wrap_layerObj_numprocessing_get},
43590 : {"mapscriptc::layerObj_numjoins_get", _wrap_layerObj_numjoins_get},
43591 : {"mapscriptc::layerObj_classgroup_set", _wrap_layerObj_classgroup_set},
43592 : {"mapscriptc::layerObj_classgroup_get", _wrap_layerObj_classgroup_get},
43593 : {"mapscriptc::layerObj_mask_set", _wrap_layerObj_mask_set},
43594 : {"mapscriptc::layerObj_mask_get", _wrap_layerObj_mask_get},
43595 : {"mapscriptc::layerObj_encoding_set", _wrap_layerObj_encoding_set},
43596 : {"mapscriptc::layerObj_encoding_get", _wrap_layerObj_encoding_get},
43597 : {"mapscriptc::layerObj_utfitem_set", _wrap_layerObj_utfitem_set},
43598 : {"mapscriptc::layerObj_utfitem_get", _wrap_layerObj_utfitem_get},
43599 : {"mapscriptc::layerObj_utfitemindex_set", _wrap_layerObj_utfitemindex_set},
43600 : {"mapscriptc::layerObj_utfitemindex_get", _wrap_layerObj_utfitemindex_get},
43601 : {"mapscriptc::layerObj_utfdata_set", _wrap_layerObj_utfdata_set},
43602 : {"mapscriptc::layerObj_utfdata_get", _wrap_layerObj_utfdata_get},
43603 : {"mapscriptc::layerObj_compositer_set", _wrap_layerObj_compositer_set},
43604 : {"mapscriptc::layerObj_compositer_get", _wrap_layerObj_compositer_get},
43605 : {"mapscriptc::new_layerObj", _wrap_new_layerObj},
43606 : {"mapscriptc::layerObj_setOpacity", _wrap_layerObj_setOpacity},
43607 : {"mapscriptc::layerObj_getOpacity", _wrap_layerObj_getOpacity},
43608 : {"mapscriptc::delete_layerObj", _wrap_delete_layerObj},
43609 : {"mapscriptc::layerObj_clone", _wrap_layerObj_clone},
43610 : {"mapscriptc::layerObj_updateFromString", _wrap_layerObj_updateFromString},
43611 : {"mapscriptc::layerObj_convertToString", _wrap_layerObj_convertToString},
43612 : {"mapscriptc::layerObj_insertClass", _wrap_layerObj_insertClass},
43613 : {"mapscriptc::layerObj_removeClass", _wrap_layerObj_removeClass},
43614 : {"mapscriptc::layerObj_open", _wrap_layerObj_open},
43615 : {"mapscriptc::layerObj_whichShapes", _wrap_layerObj_whichShapes},
43616 : {"mapscriptc::layerObj_nextShape", _wrap_layerObj_nextShape},
43617 : {"mapscriptc::layerObj_close", _wrap_layerObj_close},
43618 : {"mapscriptc::layerObj_getShape", _wrap_layerObj_getShape},
43619 : {"mapscriptc::layerObj_getNumResults", _wrap_layerObj_getNumResults},
43620 : {"mapscriptc::layerObj_getResultsBounds", _wrap_layerObj_getResultsBounds},
43621 : {"mapscriptc::layerObj_getResult", _wrap_layerObj_getResult},
43622 : {"mapscriptc::layerObj_getClass", _wrap_layerObj_getClass},
43623 : {"mapscriptc::layerObj_getItem", _wrap_layerObj_getItem},
43624 : {"mapscriptc::layerObj_setItems", _wrap_layerObj_setItems},
43625 : {"mapscriptc::layerObj_draw", _wrap_layerObj_draw},
43626 : {"mapscriptc::layerObj_drawQuery", _wrap_layerObj_drawQuery},
43627 : {"mapscriptc::layerObj_queryByFilter", _wrap_layerObj_queryByFilter},
43628 : {"mapscriptc::layerObj_queryByAttributes", _wrap_layerObj_queryByAttributes},
43629 : {"mapscriptc::layerObj_queryByPoint", _wrap_layerObj_queryByPoint},
43630 : {"mapscriptc::layerObj_queryByRect", _wrap_layerObj_queryByRect},
43631 : {"mapscriptc::layerObj_queryByFeatures", _wrap_layerObj_queryByFeatures},
43632 : {"mapscriptc::layerObj_queryByShape", _wrap_layerObj_queryByShape},
43633 : {"mapscriptc::layerObj_queryByIndex", _wrap_layerObj_queryByIndex},
43634 : {"mapscriptc::layerObj_getResults", _wrap_layerObj_getResults},
43635 : {"mapscriptc::layerObj_setFilter", _wrap_layerObj_setFilter},
43636 : {"mapscriptc::layerObj_getFilterString", _wrap_layerObj_getFilterString},
43637 : {"mapscriptc::layerObj_setWKTProjection", _wrap_layerObj_setWKTProjection},
43638 : {"mapscriptc::layerObj_getProjection", _wrap_layerObj_getProjection},
43639 : {"mapscriptc::layerObj_setProjection", _wrap_layerObj_setProjection},
43640 : {"mapscriptc::layerObj_addFeature", _wrap_layerObj_addFeature},
43641 : {"mapscriptc::layerObj_getNumFeatures", _wrap_layerObj_getNumFeatures},
43642 : {"mapscriptc::layerObj_getExtent", _wrap_layerObj_getExtent},
43643 : {"mapscriptc::layerObj_setExtent", _wrap_layerObj_setExtent},
43644 : {"mapscriptc::layerObj_getMetaData", _wrap_layerObj_getMetaData},
43645 : {"mapscriptc::layerObj_setMetaData", _wrap_layerObj_setMetaData},
43646 : {"mapscriptc::layerObj_removeMetaData", _wrap_layerObj_removeMetaData},
43647 : {"mapscriptc::layerObj_getFirstMetaDataKey", _wrap_layerObj_getFirstMetaDataKey},
43648 : {"mapscriptc::layerObj_getNextMetaDataKey", _wrap_layerObj_getNextMetaDataKey},
43649 : {"mapscriptc::layerObj_getWMSFeatureInfoURL", _wrap_layerObj_getWMSFeatureInfoURL},
43650 : {"mapscriptc::layerObj_executeWFSGetFeature", _wrap_layerObj_executeWFSGetFeature},
43651 : {"mapscriptc::layerObj_applySLD", _wrap_layerObj_applySLD},
43652 : {"mapscriptc::layerObj_applySLDURL", _wrap_layerObj_applySLDURL},
43653 : {"mapscriptc::layerObj_generateSLD", _wrap_layerObj_generateSLD},
43654 : {"mapscriptc::layerObj_isVisible", _wrap_layerObj_isVisible},
43655 : {"mapscriptc::layerObj_moveClassUp", _wrap_layerObj_moveClassUp},
43656 : {"mapscriptc::layerObj_moveClassDown", _wrap_layerObj_moveClassDown},
43657 : {"mapscriptc::layerObj_setProcessingKey", _wrap_layerObj_setProcessingKey},
43658 : {"mapscriptc::layerObj_setProcessing", _wrap_layerObj_setProcessing},
43659 : {"mapscriptc::layerObj_addProcessing", _wrap_layerObj_addProcessing},
43660 : {"mapscriptc::layerObj_getProcessing", _wrap_layerObj_getProcessing},
43661 : {"mapscriptc::layerObj_getProcessingKey", _wrap_layerObj_getProcessingKey},
43662 : {"mapscriptc::layerObj_clearProcessing", _wrap_layerObj_clearProcessing},
43663 : {"mapscriptc::layerObj_setConnectionType", _wrap_layerObj_setConnectionType},
43664 : {"mapscriptc::layerObj_getClassIndex", _wrap_layerObj_getClassIndex},
43665 : {"mapscriptc::layerObj_getGeomTransform", _wrap_layerObj_getGeomTransform},
43666 : {"mapscriptc::layerObj_setGeomTransform", _wrap_layerObj_setGeomTransform},
43667 : {"mapscriptc::layerObj_getItemType", _wrap_layerObj_getItemType},
43668 : {"mapscriptc::mapObj_name_set", _wrap_mapObj_name_set},
43669 : {"mapscriptc::mapObj_name_get", _wrap_mapObj_name_get},
43670 : {"mapscriptc::mapObj_status_set", _wrap_mapObj_status_set},
43671 : {"mapscriptc::mapObj_status_get", _wrap_mapObj_status_get},
43672 : {"mapscriptc::mapObj_height_set", _wrap_mapObj_height_set},
43673 : {"mapscriptc::mapObj_height_get", _wrap_mapObj_height_get},
43674 : {"mapscriptc::mapObj_width_set", _wrap_mapObj_width_set},
43675 : {"mapscriptc::mapObj_width_get", _wrap_mapObj_width_get},
43676 : {"mapscriptc::mapObj_maxsize_set", _wrap_mapObj_maxsize_set},
43677 : {"mapscriptc::mapObj_maxsize_get", _wrap_mapObj_maxsize_get},
43678 : {"mapscriptc::mapObj_refcount_get", _wrap_mapObj_refcount_get},
43679 : {"mapscriptc::mapObj_numlayers_get", _wrap_mapObj_numlayers_get},
43680 : {"mapscriptc::mapObj_maxlayers_get", _wrap_mapObj_maxlayers_get},
43681 : {"mapscriptc::mapObj_symbolset_get", _wrap_mapObj_symbolset_get},
43682 : {"mapscriptc::mapObj_fontset_get", _wrap_mapObj_fontset_get},
43683 : {"mapscriptc::mapObj_labelcache_get", _wrap_mapObj_labelcache_get},
43684 : {"mapscriptc::mapObj_transparent_set", _wrap_mapObj_transparent_set},
43685 : {"mapscriptc::mapObj_transparent_get", _wrap_mapObj_transparent_get},
43686 : {"mapscriptc::mapObj_interlace_set", _wrap_mapObj_interlace_set},
43687 : {"mapscriptc::mapObj_interlace_get", _wrap_mapObj_interlace_get},
43688 : {"mapscriptc::mapObj_imagequality_set", _wrap_mapObj_imagequality_set},
43689 : {"mapscriptc::mapObj_imagequality_get", _wrap_mapObj_imagequality_get},
43690 : {"mapscriptc::mapObj_extent_set", _wrap_mapObj_extent_set},
43691 : {"mapscriptc::mapObj_extent_get", _wrap_mapObj_extent_get},
43692 : {"mapscriptc::mapObj_cellsize_set", _wrap_mapObj_cellsize_set},
43693 : {"mapscriptc::mapObj_cellsize_get", _wrap_mapObj_cellsize_get},
43694 : {"mapscriptc::mapObj_units_set", _wrap_mapObj_units_set},
43695 : {"mapscriptc::mapObj_units_get", _wrap_mapObj_units_get},
43696 : {"mapscriptc::mapObj_scaledenom_set", _wrap_mapObj_scaledenom_set},
43697 : {"mapscriptc::mapObj_scaledenom_get", _wrap_mapObj_scaledenom_get},
43698 : {"mapscriptc::mapObj_resolution_set", _wrap_mapObj_resolution_set},
43699 : {"mapscriptc::mapObj_resolution_get", _wrap_mapObj_resolution_get},
43700 : {"mapscriptc::mapObj_defresolution_set", _wrap_mapObj_defresolution_set},
43701 : {"mapscriptc::mapObj_defresolution_get", _wrap_mapObj_defresolution_get},
43702 : {"mapscriptc::mapObj_shapepath_set", _wrap_mapObj_shapepath_set},
43703 : {"mapscriptc::mapObj_shapepath_get", _wrap_mapObj_shapepath_get},
43704 : {"mapscriptc::mapObj_mappath_set", _wrap_mapObj_mappath_set},
43705 : {"mapscriptc::mapObj_mappath_get", _wrap_mapObj_mappath_get},
43706 : {"mapscriptc::mapObj_imagecolor_set", _wrap_mapObj_imagecolor_set},
43707 : {"mapscriptc::mapObj_imagecolor_get", _wrap_mapObj_imagecolor_get},
43708 : {"mapscriptc::mapObj_numoutputformats_get", _wrap_mapObj_numoutputformats_get},
43709 : {"mapscriptc::mapObj_outputformat_get", _wrap_mapObj_outputformat_get},
43710 : {"mapscriptc::mapObj_imagetype_get", _wrap_mapObj_imagetype_get},
43711 : {"mapscriptc::mapObj_reference_get", _wrap_mapObj_reference_get},
43712 : {"mapscriptc::mapObj_scalebar_get", _wrap_mapObj_scalebar_get},
43713 : {"mapscriptc::mapObj_legend_get", _wrap_mapObj_legend_get},
43714 : {"mapscriptc::mapObj_querymap_get", _wrap_mapObj_querymap_get},
43715 : {"mapscriptc::mapObj_web_get", _wrap_mapObj_web_get},
43716 : {"mapscriptc::mapObj_layerorder_set", _wrap_mapObj_layerorder_set},
43717 : {"mapscriptc::mapObj_layerorder_get", _wrap_mapObj_layerorder_get},
43718 : {"mapscriptc::mapObj_debug_set", _wrap_mapObj_debug_set},
43719 : {"mapscriptc::mapObj_debug_get", _wrap_mapObj_debug_get},
43720 : {"mapscriptc::mapObj_datapattern_set", _wrap_mapObj_datapattern_set},
43721 : {"mapscriptc::mapObj_datapattern_get", _wrap_mapObj_datapattern_get},
43722 : {"mapscriptc::mapObj_templatepattern_set", _wrap_mapObj_templatepattern_set},
43723 : {"mapscriptc::mapObj_templatepattern_get", _wrap_mapObj_templatepattern_get},
43724 : {"mapscriptc::mapObj_configoptions_get", _wrap_mapObj_configoptions_get},
43725 : {"mapscriptc::new_mapObj", _wrap_new_mapObj},
43726 : {"mapscriptc::delete_mapObj", _wrap_delete_mapObj},
43727 : {"mapscriptc::mapObj_clone", _wrap_mapObj_clone},
43728 : {"mapscriptc::mapObj_insertLayer", _wrap_mapObj_insertLayer},
43729 : {"mapscriptc::mapObj_removeLayer", _wrap_mapObj_removeLayer},
43730 : {"mapscriptc::mapObj_setExtent", _wrap_mapObj_setExtent},
43731 : {"mapscriptc::mapObj_offsetExtent", _wrap_mapObj_offsetExtent},
43732 : {"mapscriptc::mapObj_scaleExtent", _wrap_mapObj_scaleExtent},
43733 : {"mapscriptc::mapObj_setCenter", _wrap_mapObj_setCenter},
43734 : {"mapscriptc::mapObj_setSize", _wrap_mapObj_setSize},
43735 : {"mapscriptc::mapObj_setRotation", _wrap_mapObj_setRotation},
43736 : {"mapscriptc::mapObj_getLayer", _wrap_mapObj_getLayer},
43737 : {"mapscriptc::mapObj_getLayerByName", _wrap_mapObj_getLayerByName},
43738 : {"mapscriptc::mapObj_getSymbolByName", _wrap_mapObj_getSymbolByName},
43739 : {"mapscriptc::mapObj_prepareQuery", _wrap_mapObj_prepareQuery},
43740 : {"mapscriptc::mapObj_prepareImage", _wrap_mapObj_prepareImage},
43741 : {"mapscriptc::mapObj_setImageType", _wrap_mapObj_setImageType},
43742 : {"mapscriptc::mapObj_selectOutputFormat", _wrap_mapObj_selectOutputFormat},
43743 : {"mapscriptc::mapObj_getOutputFormat", _wrap_mapObj_getOutputFormat},
43744 : {"mapscriptc::mapObj_setOutputFormat", _wrap_mapObj_setOutputFormat},
43745 : {"mapscriptc::mapObj_draw", _wrap_mapObj_draw},
43746 : {"mapscriptc::mapObj_drawQuery", _wrap_mapObj_drawQuery},
43747 : {"mapscriptc::mapObj_drawLegend", _wrap_mapObj_drawLegend},
43748 : {"mapscriptc::mapObj_drawScalebar", _wrap_mapObj_drawScalebar},
43749 : {"mapscriptc::mapObj_drawReferenceMap", _wrap_mapObj_drawReferenceMap},
43750 : {"mapscriptc::mapObj_embedScalebar", _wrap_mapObj_embedScalebar},
43751 : {"mapscriptc::mapObj_embedLegend", _wrap_mapObj_embedLegend},
43752 : {"mapscriptc::mapObj_drawLabelCache", _wrap_mapObj_drawLabelCache},
43753 : {"mapscriptc::mapObj_queryByFilter", _wrap_mapObj_queryByFilter},
43754 : {"mapscriptc::mapObj_queryByPoint", _wrap_mapObj_queryByPoint},
43755 : {"mapscriptc::mapObj_queryByRect", _wrap_mapObj_queryByRect},
43756 : {"mapscriptc::mapObj_queryByFeatures", _wrap_mapObj_queryByFeatures},
43757 : {"mapscriptc::mapObj_queryByShape", _wrap_mapObj_queryByShape},
43758 : {"mapscriptc::mapObj_setWKTProjection", _wrap_mapObj_setWKTProjection},
43759 : {"mapscriptc::mapObj_getProjection", _wrap_mapObj_getProjection},
43760 : {"mapscriptc::mapObj_setProjection", _wrap_mapObj_setProjection},
43761 : {"mapscriptc::mapObj_save", _wrap_mapObj_save},
43762 : {"mapscriptc::mapObj_saveQuery", _wrap_mapObj_saveQuery},
43763 : {"mapscriptc::mapObj_loadQuery", _wrap_mapObj_loadQuery},
43764 : {"mapscriptc::mapObj_freeQuery", _wrap_mapObj_freeQuery},
43765 : {"mapscriptc::mapObj_saveQueryAsGML", _wrap_mapObj_saveQueryAsGML},
43766 : {"mapscriptc::mapObj_getMetaData", _wrap_mapObj_getMetaData},
43767 : {"mapscriptc::mapObj_setMetaData", _wrap_mapObj_setMetaData},
43768 : {"mapscriptc::mapObj_removeMetaData", _wrap_mapObj_removeMetaData},
43769 : {"mapscriptc::mapObj_getFirstMetaDataKey", _wrap_mapObj_getFirstMetaDataKey},
43770 : {"mapscriptc::mapObj_getNextMetaDataKey", _wrap_mapObj_getNextMetaDataKey},
43771 : {"mapscriptc::mapObj_setSymbolSet", _wrap_mapObj_setSymbolSet},
43772 : {"mapscriptc::mapObj_getNumSymbols", _wrap_mapObj_getNumSymbols},
43773 : {"mapscriptc::mapObj_setFontSet", _wrap_mapObj_setFontSet},
43774 : {"mapscriptc::mapObj_saveMapContext", _wrap_mapObj_saveMapContext},
43775 : {"mapscriptc::mapObj_loadMapContext", _wrap_mapObj_loadMapContext},
43776 : {"mapscriptc::mapObj_moveLayerUp", _wrap_mapObj_moveLayerUp},
43777 : {"mapscriptc::mapObj_moveLayerDown", _wrap_mapObj_moveLayerDown},
43778 : {"mapscriptc::mapObj_getLayersDrawingOrder", _wrap_mapObj_getLayersDrawingOrder},
43779 : {"mapscriptc::mapObj_setLayersDrawingOrder", _wrap_mapObj_setLayersDrawingOrder},
43780 : {"mapscriptc::mapObj_setConfigOption", _wrap_mapObj_setConfigOption},
43781 : {"mapscriptc::mapObj_getConfigOption", _wrap_mapObj_getConfigOption},
43782 : {"mapscriptc::mapObj_applyConfigOptions", _wrap_mapObj_applyConfigOptions},
43783 : {"mapscriptc::mapObj_applySLD", _wrap_mapObj_applySLD},
43784 : {"mapscriptc::mapObj_applySLDURL", _wrap_mapObj_applySLDURL},
43785 : {"mapscriptc::mapObj_generateSLD", _wrap_mapObj_generateSLD},
43786 : {"mapscriptc::mapObj_processTemplate", _wrap_mapObj_processTemplate},
43787 : {"mapscriptc::mapObj_processLegendTemplate", _wrap_mapObj_processLegendTemplate},
43788 : {"mapscriptc::mapObj_processQueryTemplate", _wrap_mapObj_processQueryTemplate},
43789 : {"mapscriptc::mapObj_getOutputFormatByName", _wrap_mapObj_getOutputFormatByName},
43790 : {"mapscriptc::mapObj_appendOutputFormat", _wrap_mapObj_appendOutputFormat},
43791 : {"mapscriptc::mapObj_removeOutputFormat", _wrap_mapObj_removeOutputFormat},
43792 : {"mapscriptc::mapObj_loadOWSParameters", _wrap_mapObj_loadOWSParameters},
43793 : {"mapscriptc::mapObj_OWSDispatch", _wrap_mapObj_OWSDispatch},
43794 : {"mapscriptc::mapObj_convertToString", _wrap_mapObj_convertToString},
43795 : {"mapscriptc::mapObj_applyDefaultSubstitutions", _wrap_mapObj_applyDefaultSubstitutions},
43796 : {"mapscriptc::mapObj_applySubstitutions", _wrap_mapObj_applySubstitutions},
43797 : {"mapscriptc::mapObj_zoomPoint", _wrap_mapObj_zoomPoint},
43798 : {"mapscriptc::mapObj_zoomRectangle", _wrap_mapObj_zoomRectangle},
43799 : {"mapscriptc::mapObj_zoomScale", _wrap_mapObj_zoomScale},
43800 : {"mapscriptc::msSaveImage", _wrap_msSaveImage},
43801 : {"mapscriptc::msFreeImage", _wrap_msFreeImage},
43802 : {"mapscriptc::msSetup", _wrap_msSetup},
43803 : {"mapscriptc::msCleanup", _wrap_msCleanup},
43804 : {"mapscriptc::msLoadMapFromString", _wrap_msLoadMapFromString},
43805 : {"mapscriptc::rectObj_minx_set", _wrap_rectObj_minx_set},
43806 : {"mapscriptc::rectObj_minx_get", _wrap_rectObj_minx_get},
43807 : {"mapscriptc::rectObj_miny_set", _wrap_rectObj_miny_set},
43808 : {"mapscriptc::rectObj_miny_get", _wrap_rectObj_miny_get},
43809 : {"mapscriptc::rectObj_maxx_set", _wrap_rectObj_maxx_set},
43810 : {"mapscriptc::rectObj_maxx_get", _wrap_rectObj_maxx_get},
43811 : {"mapscriptc::rectObj_maxy_set", _wrap_rectObj_maxy_set},
43812 : {"mapscriptc::rectObj_maxy_get", _wrap_rectObj_maxy_get},
43813 : {"mapscriptc::new_rectObj", _wrap_new_rectObj},
43814 : {"mapscriptc::delete_rectObj", _wrap_delete_rectObj},
43815 : {"mapscriptc::rectObj_project", _wrap_rectObj_project},
43816 : {"mapscriptc::rectObj_fit", _wrap_rectObj_fit},
43817 : {"mapscriptc::rectObj_draw", _wrap_rectObj_draw},
43818 : {"mapscriptc::rectObj_getCenter", _wrap_rectObj_getCenter},
43819 : {"mapscriptc::rectObj_toPolygon", _wrap_rectObj_toPolygon},
43820 : {"mapscriptc::rectObj_toString", _wrap_rectObj_toString},
43821 : {"mapscriptc::pointObj_x_set", _wrap_pointObj_x_set},
43822 : {"mapscriptc::pointObj_x_get", _wrap_pointObj_x_get},
43823 : {"mapscriptc::pointObj_y_set", _wrap_pointObj_y_set},
43824 : {"mapscriptc::pointObj_y_get", _wrap_pointObj_y_get},
43825 : {"mapscriptc::new_pointObj", _wrap_new_pointObj},
43826 : {"mapscriptc::delete_pointObj", _wrap_delete_pointObj},
43827 : {"mapscriptc::pointObj_project", _wrap_pointObj_project},
43828 : {"mapscriptc::pointObj_draw", _wrap_pointObj_draw},
43829 : {"mapscriptc::pointObj_distanceToPoint", _wrap_pointObj_distanceToPoint},
43830 : {"mapscriptc::pointObj_distanceToSegment", _wrap_pointObj_distanceToSegment},
43831 : {"mapscriptc::pointObj_distanceToShape", _wrap_pointObj_distanceToShape},
43832 : {"mapscriptc::pointObj_setXY", _wrap_pointObj_setXY},
43833 : {"mapscriptc::pointObj_setXYZ", _wrap_pointObj_setXYZ},
43834 : {"mapscriptc::pointObj_setXYZM", _wrap_pointObj_setXYZM},
43835 : {"mapscriptc::pointObj_toString", _wrap_pointObj_toString},
43836 : {"mapscriptc::pointObj_toShape", _wrap_pointObj_toShape},
43837 : {"mapscriptc::lineObj_numpoints_get", _wrap_lineObj_numpoints_get},
43838 : {"mapscriptc::new_lineObj", _wrap_new_lineObj},
43839 : {"mapscriptc::delete_lineObj", _wrap_delete_lineObj},
43840 : {"mapscriptc::lineObj_project", _wrap_lineObj_project},
43841 : {"mapscriptc::lineObj_get", _wrap_lineObj_get},
43842 : {"mapscriptc::lineObj_add", _wrap_lineObj_add},
43843 : {"mapscriptc::lineObj_set", _wrap_lineObj_set},
43844 : {"mapscriptc::shapeObj_numlines_get", _wrap_shapeObj_numlines_get},
43845 : {"mapscriptc::shapeObj_numvalues_get", _wrap_shapeObj_numvalues_get},
43846 : {"mapscriptc::shapeObj_bounds_set", _wrap_shapeObj_bounds_set},
43847 : {"mapscriptc::shapeObj_bounds_get", _wrap_shapeObj_bounds_get},
43848 : {"mapscriptc::shapeObj_type_set", _wrap_shapeObj_type_set},
43849 : {"mapscriptc::shapeObj_type_get", _wrap_shapeObj_type_get},
43850 : {"mapscriptc::shapeObj_index_set", _wrap_shapeObj_index_set},
43851 : {"mapscriptc::shapeObj_index_get", _wrap_shapeObj_index_get},
43852 : {"mapscriptc::shapeObj_tileindex_set", _wrap_shapeObj_tileindex_set},
43853 : {"mapscriptc::shapeObj_tileindex_get", _wrap_shapeObj_tileindex_get},
43854 : {"mapscriptc::shapeObj_classindex_set", _wrap_shapeObj_classindex_set},
43855 : {"mapscriptc::shapeObj_classindex_get", _wrap_shapeObj_classindex_get},
43856 : {"mapscriptc::shapeObj_text_set", _wrap_shapeObj_text_set},
43857 : {"mapscriptc::shapeObj_text_get", _wrap_shapeObj_text_get},
43858 : {"mapscriptc::shapeObj_scratch_set", _wrap_shapeObj_scratch_set},
43859 : {"mapscriptc::shapeObj_scratch_get", _wrap_shapeObj_scratch_get},
43860 : {"mapscriptc::shapeObj_resultindex_set", _wrap_shapeObj_resultindex_set},
43861 : {"mapscriptc::shapeObj_resultindex_get", _wrap_shapeObj_resultindex_get},
43862 : {"mapscriptc::new_shapeObj", _wrap_new_shapeObj},
43863 : {"mapscriptc::delete_shapeObj", _wrap_delete_shapeObj},
43864 : {"mapscriptc::shapeObj_fromWKT", _wrap_shapeObj_fromWKT},
43865 : {"mapscriptc::shapeObj_project", _wrap_shapeObj_project},
43866 : {"mapscriptc::shapeObj_get", _wrap_shapeObj_get},
43867 : {"mapscriptc::shapeObj_add", _wrap_shapeObj_add},
43868 : {"mapscriptc::shapeObj_draw", _wrap_shapeObj_draw},
43869 : {"mapscriptc::shapeObj_setBounds", _wrap_shapeObj_setBounds},
43870 : {"mapscriptc::shapeObj_clone", _wrap_shapeObj_clone},
43871 : {"mapscriptc::shapeObj_copy", _wrap_shapeObj_copy},
43872 : {"mapscriptc::shapeObj_toWKT", _wrap_shapeObj_toWKT},
43873 : {"mapscriptc::shapeObj_buffer", _wrap_shapeObj_buffer},
43874 : {"mapscriptc::shapeObj_simplify", _wrap_shapeObj_simplify},
43875 : {"mapscriptc::shapeObj_topologyPreservingSimplify", _wrap_shapeObj_topologyPreservingSimplify},
43876 : {"mapscriptc::shapeObj_convexHull", _wrap_shapeObj_convexHull},
43877 : {"mapscriptc::shapeObj_boundary", _wrap_shapeObj_boundary},
43878 : {"mapscriptc::shapeObj_getCentroid", _wrap_shapeObj_getCentroid},
43879 : {"mapscriptc::shapeObj_Union", _wrap_shapeObj_Union},
43880 : {"mapscriptc::shapeObj_intersection", _wrap_shapeObj_intersection},
43881 : {"mapscriptc::shapeObj_difference", _wrap_shapeObj_difference},
43882 : {"mapscriptc::shapeObj_symDifference", _wrap_shapeObj_symDifference},
43883 : {"mapscriptc::shapeObj_overlaps", _wrap_shapeObj_overlaps},
43884 : {"mapscriptc::shapeObj_within", _wrap_shapeObj_within},
43885 : {"mapscriptc::shapeObj_crosses", _wrap_shapeObj_crosses},
43886 : {"mapscriptc::shapeObj_intersects", _wrap_shapeObj_intersects},
43887 : {"mapscriptc::shapeObj_touches", _wrap_shapeObj_touches},
43888 : {"mapscriptc::shapeObj_equals", _wrap_shapeObj_equals},
43889 : {"mapscriptc::shapeObj_disjoint", _wrap_shapeObj_disjoint},
43890 : {"mapscriptc::shapeObj_getArea", _wrap_shapeObj_getArea},
43891 : {"mapscriptc::shapeObj_getLength", _wrap_shapeObj_getLength},
43892 : {"mapscriptc::shapeObj_getValue", _wrap_shapeObj_getValue},
43893 : {"mapscriptc::shapeObj_contains", _wrap_shapeObj_contains},
43894 : {"mapscriptc::shapeObj_distanceToPoint", _wrap_shapeObj_distanceToPoint},
43895 : {"mapscriptc::shapeObj_distanceToShape", _wrap_shapeObj_distanceToShape},
43896 : {"mapscriptc::shapeObj_getLabelPoint", _wrap_shapeObj_getLabelPoint},
43897 : {"mapscriptc::shapeObj_setValue", _wrap_shapeObj_setValue},
43898 : {"mapscriptc::shapeObj_initValues", _wrap_shapeObj_initValues},
43899 : {"mapscriptc::DBFInfo_fp_get", _wrap_DBFInfo_fp_get},
43900 : {"mapscriptc::DBFInfo_nRecords_get", _wrap_DBFInfo_nRecords_get},
43901 : {"mapscriptc::DBFInfo_nRecordLength_get", _wrap_DBFInfo_nRecordLength_get},
43902 : {"mapscriptc::DBFInfo_nHeaderLength_get", _wrap_DBFInfo_nHeaderLength_get},
43903 : {"mapscriptc::DBFInfo_nFields_get", _wrap_DBFInfo_nFields_get},
43904 : {"mapscriptc::DBFInfo_panFieldOffset_get", _wrap_DBFInfo_panFieldOffset_get},
43905 : {"mapscriptc::DBFInfo_panFieldSize_get", _wrap_DBFInfo_panFieldSize_get},
43906 : {"mapscriptc::DBFInfo_panFieldDecimals_get", _wrap_DBFInfo_panFieldDecimals_get},
43907 : {"mapscriptc::DBFInfo_pachFieldType_get", _wrap_DBFInfo_pachFieldType_get},
43908 : {"mapscriptc::DBFInfo_pszHeader_get", _wrap_DBFInfo_pszHeader_get},
43909 : {"mapscriptc::DBFInfo_nCurrentRecord_get", _wrap_DBFInfo_nCurrentRecord_get},
43910 : {"mapscriptc::DBFInfo_bCurrentRecordModified_get", _wrap_DBFInfo_bCurrentRecordModified_get},
43911 : {"mapscriptc::DBFInfo_pszCurrentRecord_get", _wrap_DBFInfo_pszCurrentRecord_get},
43912 : {"mapscriptc::DBFInfo_bNoHeader_get", _wrap_DBFInfo_bNoHeader_get},
43913 : {"mapscriptc::DBFInfo_bUpdated_get", _wrap_DBFInfo_bUpdated_get},
43914 : {"mapscriptc::DBFInfo_pszStringField_get", _wrap_DBFInfo_pszStringField_get},
43915 : {"mapscriptc::DBFInfo_nStringFieldLen_get", _wrap_DBFInfo_nStringFieldLen_get},
43916 : {"mapscriptc::DBFInfo_getFieldName", _wrap_DBFInfo_getFieldName},
43917 : {"mapscriptc::DBFInfo_getFieldWidth", _wrap_DBFInfo_getFieldWidth},
43918 : {"mapscriptc::DBFInfo_getFieldDecimals", _wrap_DBFInfo_getFieldDecimals},
43919 : {"mapscriptc::DBFInfo_getFieldType", _wrap_DBFInfo_getFieldType},
43920 : {"mapscriptc::new_DBFInfo", _wrap_new_DBFInfo},
43921 : {"mapscriptc::delete_DBFInfo", _wrap_delete_DBFInfo},
43922 : {"mapscriptc::shapefileObj_source_get", _wrap_shapefileObj_source_get},
43923 : {"mapscriptc::shapefileObj_type_get", _wrap_shapefileObj_type_get},
43924 : {"mapscriptc::shapefileObj_numshapes_get", _wrap_shapefileObj_numshapes_get},
43925 : {"mapscriptc::shapefileObj_bounds_get", _wrap_shapefileObj_bounds_get},
43926 : {"mapscriptc::shapefileObj_lastshape_get", _wrap_shapefileObj_lastshape_get},
43927 : {"mapscriptc::shapefileObj_status_get", _wrap_shapefileObj_status_get},
43928 : {"mapscriptc::shapefileObj_isopen_get", _wrap_shapefileObj_isopen_get},
43929 : {"mapscriptc::new_shapefileObj", _wrap_new_shapefileObj},
43930 : {"mapscriptc::delete_shapefileObj", _wrap_delete_shapefileObj},
43931 : {"mapscriptc::shapefileObj_get", _wrap_shapefileObj_get},
43932 : {"mapscriptc::shapefileObj_getShape", _wrap_shapefileObj_getShape},
43933 : {"mapscriptc::shapefileObj_getPoint", _wrap_shapefileObj_getPoint},
43934 : {"mapscriptc::shapefileObj_getTransformed", _wrap_shapefileObj_getTransformed},
43935 : {"mapscriptc::shapefileObj_getExtent", _wrap_shapefileObj_getExtent},
43936 : {"mapscriptc::shapefileObj_add", _wrap_shapefileObj_add},
43937 : {"mapscriptc::shapefileObj_addPoint", _wrap_shapefileObj_addPoint},
43938 : {"mapscriptc::shapefileObj_getDBF", _wrap_shapefileObj_getDBF},
43939 : {"mapscriptc::projectionObj_numargs_get", _wrap_projectionObj_numargs_get},
43940 : {"mapscriptc::projectionObj_automatic_get", _wrap_projectionObj_automatic_get},
43941 : {"mapscriptc::projectionObj_wellknownprojection_set", _wrap_projectionObj_wellknownprojection_set},
43942 : {"mapscriptc::projectionObj_wellknownprojection_get", _wrap_projectionObj_wellknownprojection_get},
43943 : {"mapscriptc::new_projectionObj", _wrap_new_projectionObj},
43944 : {"mapscriptc::delete_projectionObj", _wrap_delete_projectionObj},
43945 : {"mapscriptc::projectionObj_setWKTProjection", _wrap_projectionObj_setWKTProjection},
43946 : {"mapscriptc::projectionObj_getUnits", _wrap_projectionObj_getUnits},
43947 : {"mapscriptc::colorObj_red_set", _wrap_colorObj_red_set},
43948 : {"mapscriptc::colorObj_red_get", _wrap_colorObj_red_get},
43949 : {"mapscriptc::colorObj_green_set", _wrap_colorObj_green_set},
43950 : {"mapscriptc::colorObj_green_get", _wrap_colorObj_green_get},
43951 : {"mapscriptc::colorObj_blue_set", _wrap_colorObj_blue_set},
43952 : {"mapscriptc::colorObj_blue_get", _wrap_colorObj_blue_get},
43953 : {"mapscriptc::colorObj_alpha_set", _wrap_colorObj_alpha_set},
43954 : {"mapscriptc::colorObj_alpha_get", _wrap_colorObj_alpha_get},
43955 : {"mapscriptc::new_colorObj", _wrap_new_colorObj},
43956 : {"mapscriptc::delete_colorObj", _wrap_delete_colorObj},
43957 : {"mapscriptc::colorObj_setRGB", _wrap_colorObj_setRGB},
43958 : {"mapscriptc::colorObj_setHex", _wrap_colorObj_setHex},
43959 : {"mapscriptc::colorObj_toHex", _wrap_colorObj_toHex},
43960 : {"mapscriptc::symbolObj_name_set", _wrap_symbolObj_name_set},
43961 : {"mapscriptc::symbolObj_name_get", _wrap_symbolObj_name_get},
43962 : {"mapscriptc::symbolObj_type_set", _wrap_symbolObj_type_set},
43963 : {"mapscriptc::symbolObj_type_get", _wrap_symbolObj_type_get},
43964 : {"mapscriptc::symbolObj_inmapfile_set", _wrap_symbolObj_inmapfile_set},
43965 : {"mapscriptc::symbolObj_inmapfile_get", _wrap_symbolObj_inmapfile_get},
43966 : {"mapscriptc::symbolObj_sizex_set", _wrap_symbolObj_sizex_set},
43967 : {"mapscriptc::symbolObj_sizex_get", _wrap_symbolObj_sizex_get},
43968 : {"mapscriptc::symbolObj_sizey_set", _wrap_symbolObj_sizey_set},
43969 : {"mapscriptc::symbolObj_sizey_get", _wrap_symbolObj_sizey_get},
43970 : {"mapscriptc::symbolObj_minx_set", _wrap_symbolObj_minx_set},
43971 : {"mapscriptc::symbolObj_minx_get", _wrap_symbolObj_minx_get},
43972 : {"mapscriptc::symbolObj_miny_set", _wrap_symbolObj_miny_set},
43973 : {"mapscriptc::symbolObj_miny_get", _wrap_symbolObj_miny_get},
43974 : {"mapscriptc::symbolObj_maxx_set", _wrap_symbolObj_maxx_set},
43975 : {"mapscriptc::symbolObj_maxx_get", _wrap_symbolObj_maxx_get},
43976 : {"mapscriptc::symbolObj_maxy_set", _wrap_symbolObj_maxy_set},
43977 : {"mapscriptc::symbolObj_maxy_get", _wrap_symbolObj_maxy_get},
43978 : {"mapscriptc::symbolObj_refcount_get", _wrap_symbolObj_refcount_get},
43979 : {"mapscriptc::symbolObj_numpoints_get", _wrap_symbolObj_numpoints_get},
43980 : {"mapscriptc::symbolObj_filled_set", _wrap_symbolObj_filled_set},
43981 : {"mapscriptc::symbolObj_filled_get", _wrap_symbolObj_filled_get},
43982 : {"mapscriptc::symbolObj_anchorpoint_x_set", _wrap_symbolObj_anchorpoint_x_set},
43983 : {"mapscriptc::symbolObj_anchorpoint_x_get", _wrap_symbolObj_anchorpoint_x_get},
43984 : {"mapscriptc::symbolObj_anchorpoint_y_set", _wrap_symbolObj_anchorpoint_y_set},
43985 : {"mapscriptc::symbolObj_anchorpoint_y_get", _wrap_symbolObj_anchorpoint_y_get},
43986 : {"mapscriptc::symbolObj_imagepath_get", _wrap_symbolObj_imagepath_get},
43987 : {"mapscriptc::symbolObj_transparent_set", _wrap_symbolObj_transparent_set},
43988 : {"mapscriptc::symbolObj_transparent_get", _wrap_symbolObj_transparent_get},
43989 : {"mapscriptc::symbolObj_transparentcolor_set", _wrap_symbolObj_transparentcolor_set},
43990 : {"mapscriptc::symbolObj_transparentcolor_get", _wrap_symbolObj_transparentcolor_get},
43991 : {"mapscriptc::symbolObj_character_set", _wrap_symbolObj_character_set},
43992 : {"mapscriptc::symbolObj_character_get", _wrap_symbolObj_character_get},
43993 : {"mapscriptc::symbolObj_font_set", _wrap_symbolObj_font_set},
43994 : {"mapscriptc::symbolObj_font_get", _wrap_symbolObj_font_get},
43995 : {"mapscriptc::new_symbolObj", _wrap_new_symbolObj},
43996 : {"mapscriptc::delete_symbolObj", _wrap_delete_symbolObj},
43997 : {"mapscriptc::symbolObj_setImagepath", _wrap_symbolObj_setImagepath},
43998 : {"mapscriptc::symbolObj_setPoints", _wrap_symbolObj_setPoints},
43999 : {"mapscriptc::symbolObj_getPoints", _wrap_symbolObj_getPoints},
44000 : {"mapscriptc::symbolObj_getImage", _wrap_symbolObj_getImage},
44001 : {"mapscriptc::symbolObj_setImage", _wrap_symbolObj_setImage},
44002 : {"mapscriptc::errorObj_code_set", _wrap_errorObj_code_set},
44003 : {"mapscriptc::errorObj_code_get", _wrap_errorObj_code_get},
44004 : {"mapscriptc::errorObj_routine_set", _wrap_errorObj_routine_set},
44005 : {"mapscriptc::errorObj_routine_get", _wrap_errorObj_routine_get},
44006 : {"mapscriptc::errorObj_message_set", _wrap_errorObj_message_set},
44007 : {"mapscriptc::errorObj_message_get", _wrap_errorObj_message_get},
44008 : {"mapscriptc::errorObj_isreported_set", _wrap_errorObj_isreported_set},
44009 : {"mapscriptc::errorObj_isreported_get", _wrap_errorObj_isreported_get},
44010 : {"mapscriptc::errorObj_errorcount_set", _wrap_errorObj_errorcount_set},
44011 : {"mapscriptc::errorObj_errorcount_get", _wrap_errorObj_errorcount_get},
44012 : {"mapscriptc::new_errorObj", _wrap_new_errorObj},
44013 : {"mapscriptc::delete_errorObj", _wrap_delete_errorObj},
44014 : {"mapscriptc::errorObj_next", _wrap_errorObj_next},
44015 : {"mapscriptc::msGetErrorObj", _wrap_msGetErrorObj},
44016 : {"mapscriptc::msResetErrorList", _wrap_msResetErrorList},
44017 : {"mapscriptc::msGetVersion", _wrap_msGetVersion},
44018 : {"mapscriptc::msGetVersionInt", _wrap_msGetVersionInt},
44019 : {"mapscriptc::msGetErrorString", _wrap_msGetErrorString},
44020 : {"mapscriptc::hashTableObj_numitems_get", _wrap_hashTableObj_numitems_get},
44021 : {"mapscriptc::new_hashTableObj", _wrap_new_hashTableObj},
44022 : {"mapscriptc::delete_hashTableObj", _wrap_delete_hashTableObj},
44023 : {"mapscriptc::hashTableObj_set", _wrap_hashTableObj_set},
44024 : {"mapscriptc::hashTableObj_get", _wrap_hashTableObj_get},
44025 : {"mapscriptc::hashTableObj_remove", _wrap_hashTableObj_remove},
44026 : {"mapscriptc::hashTableObj_clear", _wrap_hashTableObj_clear},
44027 : {"mapscriptc::hashTableObj_nextKey", _wrap_hashTableObj_nextKey},
44028 : {"mapscriptc::OWSRequest_NumParams_get", _wrap_OWSRequest_NumParams_get},
44029 : {"mapscriptc::OWSRequest_type_set", _wrap_OWSRequest_type_set},
44030 : {"mapscriptc::OWSRequest_type_get", _wrap_OWSRequest_type_get},
44031 : {"mapscriptc::OWSRequest_contenttype_set", _wrap_OWSRequest_contenttype_set},
44032 : {"mapscriptc::OWSRequest_contenttype_get", _wrap_OWSRequest_contenttype_get},
44033 : {"mapscriptc::OWSRequest_postrequest_set", _wrap_OWSRequest_postrequest_set},
44034 : {"mapscriptc::OWSRequest_postrequest_get", _wrap_OWSRequest_postrequest_get},
44035 : {"mapscriptc::OWSRequest_httpcookiedata_set", _wrap_OWSRequest_httpcookiedata_set},
44036 : {"mapscriptc::OWSRequest_httpcookiedata_get", _wrap_OWSRequest_httpcookiedata_get},
44037 : {"mapscriptc::new_OWSRequest", _wrap_new_OWSRequest},
44038 : {"mapscriptc::delete_OWSRequest", _wrap_delete_OWSRequest},
44039 : {"mapscriptc::OWSRequest_loadParams", _wrap_OWSRequest_loadParams},
44040 : {"mapscriptc::OWSRequest_loadParamsFromURL", _wrap_OWSRequest_loadParamsFromURL},
44041 : {"mapscriptc::OWSRequest_setParameter", _wrap_OWSRequest_setParameter},
44042 : {"mapscriptc::OWSRequest_addParameter", _wrap_OWSRequest_addParameter},
44043 : {"mapscriptc::OWSRequest_getName", _wrap_OWSRequest_getName},
44044 : {"mapscriptc::OWSRequest_getValue", _wrap_OWSRequest_getValue},
44045 : {"mapscriptc::OWSRequest_getValueByName", _wrap_OWSRequest_getValueByName},
44046 : {"mapscriptc::msConnPoolCloseUnreferenced", _wrap_msConnPoolCloseUnreferenced},
44047 : {"mapscriptc::msIO_resetHandlers", _wrap_msIO_resetHandlers},
44048 : {"mapscriptc::msIO_installStdoutToBuffer", _wrap_msIO_installStdoutToBuffer},
44049 : {"mapscriptc::msIO_installStdinFromBuffer", _wrap_msIO_installStdinFromBuffer},
44050 : {"mapscriptc::msIO_stripStdoutBufferContentType", _wrap_msIO_stripStdoutBufferContentType},
44051 : {"mapscriptc::msIO_stripStdoutBufferContentHeaders", _wrap_msIO_stripStdoutBufferContentHeaders},
44052 : {"mapscriptc::msIO_getStdoutBufferString", _wrap_msIO_getStdoutBufferString},
44053 : {"mapscriptc::msIO_getStdoutBufferBytes", _wrap_msIO_getStdoutBufferBytes},
44054 : {"mapscriptc::msIO_getAndStripStdoutBufferMimeHeaders", _wrap_msIO_getAndStripStdoutBufferMimeHeaders},
44055 : {0,0}
44056 : };
44057 : /* -----------------------------------------------------------------------------
44058 : * Type initialization:
44059 : * This problem is tough by the requirement that no dynamic
44060 : * memory is used. Also, since swig_type_info structures store pointers to
44061 : * swig_cast_info structures and swig_cast_info structures store pointers back
44062 : * to swig_type_info structures, we need some lookup code at initialization.
44063 : * The idea is that swig generates all the structures that are needed.
44064 : * The runtime then collects these partially filled structures.
44065 : * The SWIG_InitializeModule function takes these initial arrays out of
44066 : * swig_module, and does all the lookup, filling in the swig_module.types
44067 : * array with the correct data and linking the correct swig_cast_info
44068 : * structures together.
44069 : *
44070 : * The generated swig_type_info structures are assigned statically to an initial
44071 : * array. We just loop through that array, and handle each type individually.
44072 : * First we lookup if this type has been already loaded, and if so, use the
44073 : * loaded structure instead of the generated one. Then we have to fill in the
44074 : * cast linked list. The cast data is initially stored in something like a
44075 : * two-dimensional array. Each row corresponds to a type (there are the same
44076 : * number of rows as there are in the swig_type_initial array). Each entry in
44077 : * a column is one of the swig_cast_info structures for that type.
44078 : * The cast_initial array is actually an array of arrays, because each row has
44079 : * a variable number of columns. So to actually build the cast linked list,
44080 : * we find the array of casts associated with the type, and loop through it
44081 : * adding the casts to the list. The one last trick we need to do is making
44082 : * sure the type pointer in the swig_cast_info struct is correct.
44083 : *
44084 : * First off, we lookup the cast->type name to see if it is already loaded.
44085 : * There are three cases to handle:
44086 : * 1) If the cast->type has already been loaded AND the type we are adding
44087 : * casting info to has not been loaded (it is in this module), THEN we
44088 : * replace the cast->type pointer with the type pointer that has already
44089 : * been loaded.
44090 : * 2) If BOTH types (the one we are adding casting info to, and the
44091 : * cast->type) are loaded, THEN the cast info has already been loaded by
44092 : * the previous module so we just ignore it.
44093 : * 3) Finally, if cast->type has not already been loaded, then we add that
44094 : * swig_cast_info to the linked list (because the cast->type) pointer will
44095 : * be correct.
44096 : * ----------------------------------------------------------------------------- */
44097 :
44098 : #ifdef __cplusplus
44099 : extern "C" {
44100 : #if 0
44101 : } /* c-mode */
44102 : #endif
44103 : #endif
44104 :
44105 : #if 0
44106 : #define SWIGRUNTIME_DEBUG
44107 : #endif
44108 :
44109 :
44110 : SWIGRUNTIME void
44111 1 : SWIG_InitializeModule(void *clientdata) {
44112 : size_t i;
44113 : swig_module_info *module_head, *iter;
44114 : int init;
44115 :
44116 : /* check to see if the circular list has been setup, if not, set it up */
44117 1 : if (swig_module.next==0) {
44118 : /* Initialize the swig_module */
44119 1 : swig_module.type_initial = swig_type_initial;
44120 1 : swig_module.cast_initial = swig_cast_initial;
44121 1 : swig_module.next = &swig_module;
44122 : init = 1;
44123 : } else {
44124 : init = 0;
44125 : }
44126 :
44127 : /* Try and load any already created modules */
44128 1 : module_head = SWIG_GetModule(clientdata);
44129 1 : if (!module_head) {
44130 : /* This is the first module loaded for this interpreter */
44131 : /* so set the swig module into the interpreter */
44132 1 : SWIG_SetModule(clientdata, &swig_module);
44133 : } else {
44134 : /* the interpreter has loaded a SWIG module, but has it loaded this one? */
44135 : iter=module_head;
44136 : do {
44137 0 : if (iter==&swig_module) {
44138 : /* Our module is already in the list, so there's nothing more to do. */
44139 : return;
44140 : }
44141 0 : iter=iter->next;
44142 0 : } while (iter!= module_head);
44143 :
44144 : /* otherwise we must add our module into the list */
44145 0 : swig_module.next = module_head->next;
44146 0 : module_head->next = &swig_module;
44147 : }
44148 :
44149 : /* When multiple interpreters are used, a module could have already been initialized in
44150 : a different interpreter, but not yet have a pointer in this interpreter.
44151 : In this case, we do not want to continue adding types... everything should be
44152 : set up already */
44153 1 : if (init == 0) return;
44154 :
44155 : /* Now work on filling in swig_module.types */
44156 : #ifdef SWIGRUNTIME_DEBUG
44157 : printf("SWIG_InitializeModule: size %d\n", swig_module.size);
44158 : #endif
44159 1 : for (i = 0; i < swig_module.size; ++i) {
44160 : swig_type_info *type = 0;
44161 : swig_type_info *ret;
44162 : swig_cast_info *cast;
44163 :
44164 : #ifdef SWIGRUNTIME_DEBUG
44165 : printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
44166 : #endif
44167 :
44168 : /* if there is another module already loaded */
44169 1 : if (swig_module.next != &swig_module) {
44170 0 : type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
44171 : }
44172 1 : if (type) {
44173 : /* Overwrite clientdata field */
44174 : #ifdef SWIGRUNTIME_DEBUG
44175 : printf("SWIG_InitializeModule: found type %s\n", type->name);
44176 : #endif
44177 0 : if (swig_module.type_initial[i]->clientdata) {
44178 0 : type->clientdata = swig_module.type_initial[i]->clientdata;
44179 : #ifdef SWIGRUNTIME_DEBUG
44180 : printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
44181 : #endif
44182 : }
44183 : } else {
44184 1 : type = swig_module.type_initial[i];
44185 : }
44186 :
44187 : /* Insert casting types */
44188 1 : cast = swig_module.cast_initial[i];
44189 1 : while (cast->type) {
44190 : /* Don't need to add information already in the list */
44191 : ret = 0;
44192 : #ifdef SWIGRUNTIME_DEBUG
44193 : printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
44194 : #endif
44195 1 : if (swig_module.next != &swig_module) {
44196 0 : ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
44197 : #ifdef SWIGRUNTIME_DEBUG
44198 : if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
44199 : #endif
44200 : }
44201 1 : if (ret) {
44202 0 : if (type == swig_module.type_initial[i]) {
44203 : #ifdef SWIGRUNTIME_DEBUG
44204 : printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
44205 : #endif
44206 0 : cast->type = ret;
44207 : ret = 0;
44208 : } else {
44209 : /* Check for casting already in the list */
44210 0 : swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
44211 : #ifdef SWIGRUNTIME_DEBUG
44212 : if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
44213 : #endif
44214 0 : if (!ocast) ret = 0;
44215 : }
44216 : }
44217 :
44218 1 : if (!ret) {
44219 : #ifdef SWIGRUNTIME_DEBUG
44220 : printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
44221 : #endif
44222 1 : if (type->cast) {
44223 1 : type->cast->prev = cast;
44224 1 : cast->next = type->cast;
44225 : }
44226 1 : type->cast = cast;
44227 : }
44228 1 : cast++;
44229 : }
44230 : /* Set entry in modules->types array equal to the type */
44231 1 : swig_module.types[i] = type;
44232 : }
44233 1 : swig_module.types[i] = 0;
44234 :
44235 : #ifdef SWIGRUNTIME_DEBUG
44236 : printf("**** SWIG_InitializeModule: Cast List ******\n");
44237 : for (i = 0; i < swig_module.size; ++i) {
44238 : int j = 0;
44239 : swig_cast_info *cast = swig_module.cast_initial[i];
44240 : printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
44241 : while (cast->type) {
44242 : printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
44243 : cast++;
44244 : ++j;
44245 : }
44246 : printf("---- Total casts: %d\n",j);
44247 : }
44248 : printf("**** SWIG_InitializeModule: Cast List ******\n");
44249 : #endif
44250 : }
44251 :
44252 : /* This function will propagate the clientdata field of type to
44253 : * any new swig_type_info structures that have been added into the list
44254 : * of equivalent types. It is like calling
44255 : * SWIG_TypeClientData(type, clientdata) a second time.
44256 : */
44257 : SWIGRUNTIME void
44258 : SWIG_PropagateClientData(void) {
44259 : size_t i;
44260 : swig_cast_info *equiv;
44261 : static int init_run = 0;
44262 :
44263 : if (init_run) return;
44264 : init_run = 1;
44265 :
44266 : for (i = 0; i < swig_module.size; i++) {
44267 : if (swig_module.types[i]->clientdata) {
44268 : equiv = swig_module.types[i]->cast;
44269 : while (equiv) {
44270 : if (!equiv->converter) {
44271 : if (equiv->type && !equiv->type->clientdata)
44272 : SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
44273 : }
44274 : equiv = equiv->next;
44275 : }
44276 : }
44277 : }
44278 : }
44279 :
44280 : #ifdef __cplusplus
44281 : #if 0
44282 : {
44283 : /* c-mode */
44284 : #endif
44285 : }
44286 : #endif
44287 :
44288 :
44289 :
44290 : #if defined(__cplusplus) && ! defined(XSPROTO)
44291 : extern "C"
44292 : #endif
44293 :
44294 1 : XS(SWIG_init) {
44295 1 : dXSARGS;
44296 : int i;
44297 : (void)items;
44298 :
44299 1 : SWIG_InitializeModule(0);
44300 :
44301 : /* Install commands */
44302 1 : for (i = 0; swig_commands[i].name; i++) {
44303 : /* Casts only needed for Perl < 5.10. */
44304 : #ifdef __cplusplus
44305 : newXS(const_cast<char*>(swig_commands[i].name), swig_commands[i].wrapper, const_cast<char*>(__FILE__));
44306 : #else
44307 1 : newXS((char*)swig_commands[i].name, swig_commands[i].wrapper, (char*)__FILE__);
44308 : #endif
44309 : }
44310 :
44311 : /* Install variables */
44312 0 : for (i = 0; swig_variables[i].name; i++) {
44313 : SV *sv;
44314 0 : sv = get_sv(swig_variables[i].name, TRUE | 0x2 | GV_ADDMULTI);
44315 0 : if (swig_variables[i].type) {
44316 0 : SWIG_MakePtr(sv,(void *)1, *swig_variables[i].type,0);
44317 : } else {
44318 0 : sv_setiv(sv,(IV) 0);
44319 : }
44320 0 : swig_create_magic(sv, swig_variables[i].name, swig_variables[i].set, swig_variables[i].get);
44321 : }
44322 :
44323 : /* Install constant */
44324 0 : for (i = 0; swig_constants[i].type; i++) {
44325 : SV *sv;
44326 0 : sv = get_sv(swig_constants[i].name, TRUE | 0x2 | GV_ADDMULTI);
44327 0 : switch(swig_constants[i].type) {
44328 : case SWIG_INT:
44329 0 : sv_setiv(sv, (IV) swig_constants[i].lvalue);
44330 0 : break;
44331 : case SWIG_FLOAT:
44332 0 : sv_setnv(sv, (double) swig_constants[i].dvalue);
44333 0 : break;
44334 : case SWIG_STRING:
44335 0 : sv_setpv(sv, (const char *) swig_constants[i].pvalue);
44336 0 : break;
44337 : case SWIG_POINTER:
44338 0 : SWIG_MakePtr(sv, swig_constants[i].pvalue, *(swig_constants[i].ptype),0);
44339 0 : break;
44340 : case SWIG_BINARY:
44341 0 : SWIG_MakePackedObj(sv, swig_constants[i].pvalue, swig_constants[i].lvalue, *(swig_constants[i].ptype));
44342 0 : break;
44343 : default:
44344 : break;
44345 : }
44346 0 : SvREADONLY_on(sv);
44347 : }
44348 :
44349 1 : SWIG_TypeClientData(SWIGTYPE_p_intarray, (void*) "mapscript::intarray");
44350 :
44351 1 : if(msSetup() != MS_SUCCESS) {
44352 0 : msSetError(MS_MISCERR, "Error initializing MapServer/Mapscript.", "msSetup()");
44353 : }
44354 :
44355 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44356 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRUE", TRUE | 0x2 | GV_ADDMULTI);
44357 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
44358 1 : SvREADONLY_on(sv);
44359 : } while(0) /*@SWIG@*/;
44360 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44361 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FALSE", TRUE | 0x2 | GV_ADDMULTI);
44362 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
44363 1 : SvREADONLY_on(sv);
44364 : } while(0) /*@SWIG@*/;
44365 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44366 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UNKNOWN", TRUE | 0x2 | GV_ADDMULTI);
44367 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(-1)));
44368 1 : SvREADONLY_on(sv);
44369 : } while(0) /*@SWIG@*/;
44370 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44371 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ON", TRUE | 0x2 | GV_ADDMULTI);
44372 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
44373 1 : SvREADONLY_on(sv);
44374 : } while(0) /*@SWIG@*/;
44375 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44376 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_OFF", TRUE | 0x2 | GV_ADDMULTI);
44377 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
44378 1 : SvREADONLY_on(sv);
44379 : } while(0) /*@SWIG@*/;
44380 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44381 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEFAULT", TRUE | 0x2 | GV_ADDMULTI);
44382 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
44383 1 : SvREADONLY_on(sv);
44384 : } while(0) /*@SWIG@*/;
44385 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44386 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_EMBED", TRUE | 0x2 | GV_ADDMULTI);
44387 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(3)));
44388 1 : SvREADONLY_on(sv);
44389 : } while(0) /*@SWIG@*/;
44390 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44391 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DELETE", TRUE | 0x2 | GV_ADDMULTI);
44392 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(4)));
44393 1 : SvREADONLY_on(sv);
44394 : } while(0) /*@SWIG@*/;
44395 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44396 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_YES", TRUE | 0x2 | GV_ADDMULTI);
44397 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
44398 1 : SvREADONLY_on(sv);
44399 : } while(0) /*@SWIG@*/;
44400 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44401 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NO", TRUE | 0x2 | GV_ADDMULTI);
44402 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
44403 1 : SvREADONLY_on(sv);
44404 : } while(0) /*@SWIG@*/;
44405 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44406 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
44407 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(64)));
44408 1 : SvREADONLY_on(sv);
44409 : } while(0) /*@SWIG@*/;
44410 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44411 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CLASS_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
44412 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(8)));
44413 1 : SvREADONLY_on(sv);
44414 : } while(0) /*@SWIG@*/;
44415 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44416 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
44417 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(4)));
44418 1 : SvREADONLY_on(sv);
44419 : } while(0) /*@SWIG@*/;
44420 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44421 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
44422 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
44423 1 : SvREADONLY_on(sv);
44424 : } while(0) /*@SWIG@*/;
44425 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44426 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MAX_LABEL_PRIORITY", TRUE | 0x2 | GV_ADDMULTI);
44427 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(10)));
44428 1 : SvREADONLY_on(sv);
44429 : } while(0) /*@SWIG@*/;
44430 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44431 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MAX_LABEL_FONTS", TRUE | 0x2 | GV_ADDMULTI);
44432 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(5)));
44433 1 : SvREADONLY_on(sv);
44434 : } while(0) /*@SWIG@*/;
44435 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44436 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEFAULT_LABEL_PRIORITY", TRUE | 0x2 | GV_ADDMULTI);
44437 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
44438 1 : SvREADONLY_on(sv);
44439 : } while(0) /*@SWIG@*/;
44440 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44441 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_FORCE_GROUP", TRUE | 0x2 | GV_ADDMULTI);
44442 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
44443 1 : SvREADONLY_on(sv);
44444 : } while(0) /*@SWIG@*/;
44445 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44446 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_SWF", TRUE | 0x2 | GV_ADDMULTI);
44447 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
44448 1 : SvREADONLY_on(sv);
44449 : } while(0) /*@SWIG@*/;
44450 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44451 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_RAWDATA", TRUE | 0x2 | GV_ADDMULTI);
44452 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(3)));
44453 1 : SvREADONLY_on(sv);
44454 : } while(0) /*@SWIG@*/;
44455 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44456 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_IMAGEMAP", TRUE | 0x2 | GV_ADDMULTI);
44457 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(5)));
44458 1 : SvREADONLY_on(sv);
44459 : } while(0) /*@SWIG@*/;
44460 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44461 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_TEMPLATE", TRUE | 0x2 | GV_ADDMULTI);
44462 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(8)));
44463 1 : SvREADONLY_on(sv);
44464 : } while(0) /*@SWIG@*/;
44465 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44466 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_OGR", TRUE | 0x2 | GV_ADDMULTI);
44467 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(16)));
44468 1 : SvREADONLY_on(sv);
44469 : } while(0) /*@SWIG@*/;
44470 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44471 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_PLUGIN", TRUE | 0x2 | GV_ADDMULTI);
44472 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(100)));
44473 1 : SvREADONLY_on(sv);
44474 : } while(0) /*@SWIG@*/;
44475 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44476 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_CAIRO_RASTER", TRUE | 0x2 | GV_ADDMULTI);
44477 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(101)));
44478 1 : SvREADONLY_on(sv);
44479 : } while(0) /*@SWIG@*/;
44480 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44481 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_CAIRO_PDF", TRUE | 0x2 | GV_ADDMULTI);
44482 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(102)));
44483 1 : SvREADONLY_on(sv);
44484 : } while(0) /*@SWIG@*/;
44485 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44486 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_CAIRO_SVG", TRUE | 0x2 | GV_ADDMULTI);
44487 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(103)));
44488 1 : SvREADONLY_on(sv);
44489 : } while(0) /*@SWIG@*/;
44490 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44491 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_OGL", TRUE | 0x2 | GV_ADDMULTI);
44492 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(104)));
44493 1 : SvREADONLY_on(sv);
44494 : } while(0) /*@SWIG@*/;
44495 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44496 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_AGG", TRUE | 0x2 | GV_ADDMULTI);
44497 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(105)));
44498 1 : SvREADONLY_on(sv);
44499 : } while(0) /*@SWIG@*/;
44500 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44501 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_KML", TRUE | 0x2 | GV_ADDMULTI);
44502 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(106)));
44503 1 : SvREADONLY_on(sv);
44504 : } while(0) /*@SWIG@*/;
44505 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44506 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_UTFGRID", TRUE | 0x2 | GV_ADDMULTI);
44507 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(107)));
44508 1 : SvREADONLY_on(sv);
44509 : } while(0) /*@SWIG@*/;
44510 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44511 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_MVT", TRUE | 0x2 | GV_ADDMULTI);
44512 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(108)));
44513 1 : SvREADONLY_on(sv);
44514 : } while(0) /*@SWIG@*/;
44515 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44516 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FILE_MAP", TRUE | 0x2 | GV_ADDMULTI);
44517 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_FILE_MAP)));
44518 1 : SvREADONLY_on(sv);
44519 : } while(0) /*@SWIG@*/;
44520 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44521 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FILE_SYMBOL", TRUE | 0x2 | GV_ADDMULTI);
44522 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_FILE_SYMBOL)));
44523 1 : SvREADONLY_on(sv);
44524 : } while(0) /*@SWIG@*/;
44525 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44526 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_INCHES", TRUE | 0x2 | GV_ADDMULTI);
44527 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_INCHES)));
44528 1 : SvREADONLY_on(sv);
44529 : } while(0) /*@SWIG@*/;
44530 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44531 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FEET", TRUE | 0x2 | GV_ADDMULTI);
44532 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_FEET)));
44533 1 : SvREADONLY_on(sv);
44534 : } while(0) /*@SWIG@*/;
44535 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44536 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MILES", TRUE | 0x2 | GV_ADDMULTI);
44537 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_MILES)));
44538 1 : SvREADONLY_on(sv);
44539 : } while(0) /*@SWIG@*/;
44540 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44541 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_METERS", TRUE | 0x2 | GV_ADDMULTI);
44542 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_METERS)));
44543 1 : SvREADONLY_on(sv);
44544 : } while(0) /*@SWIG@*/;
44545 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44546 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_KILOMETERS", TRUE | 0x2 | GV_ADDMULTI);
44547 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_KILOMETERS)));
44548 1 : SvREADONLY_on(sv);
44549 : } while(0) /*@SWIG@*/;
44550 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44551 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DD", TRUE | 0x2 | GV_ADDMULTI);
44552 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DD)));
44553 1 : SvREADONLY_on(sv);
44554 : } while(0) /*@SWIG@*/;
44555 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44556 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PIXELS", TRUE | 0x2 | GV_ADDMULTI);
44557 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PIXELS)));
44558 1 : SvREADONLY_on(sv);
44559 : } while(0) /*@SWIG@*/;
44560 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44561 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PERCENTAGES", TRUE | 0x2 | GV_ADDMULTI);
44562 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PERCENTAGES)));
44563 1 : SvREADONLY_on(sv);
44564 : } while(0) /*@SWIG@*/;
44565 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44566 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NAUTICALMILES", TRUE | 0x2 | GV_ADDMULTI);
44567 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_NAUTICALMILES)));
44568 1 : SvREADONLY_on(sv);
44569 : } while(0) /*@SWIG@*/;
44570 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44571 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_POINT", TRUE | 0x2 | GV_ADDMULTI);
44572 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_POINT)));
44573 1 : SvREADONLY_on(sv);
44574 : } while(0) /*@SWIG@*/;
44575 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44576 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_LINE", TRUE | 0x2 | GV_ADDMULTI);
44577 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_LINE)));
44578 1 : SvREADONLY_on(sv);
44579 : } while(0) /*@SWIG@*/;
44580 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44581 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_POLYGON", TRUE | 0x2 | GV_ADDMULTI);
44582 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_POLYGON)));
44583 1 : SvREADONLY_on(sv);
44584 : } while(0) /*@SWIG@*/;
44585 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44586 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_NULL", TRUE | 0x2 | GV_ADDMULTI);
44587 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_NULL)));
44588 1 : SvREADONLY_on(sv);
44589 : } while(0) /*@SWIG@*/;
44590 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44591 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_POINT", TRUE | 0x2 | GV_ADDMULTI);
44592 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_POINT)));
44593 1 : SvREADONLY_on(sv);
44594 : } while(0) /*@SWIG@*/;
44595 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44596 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_LINE", TRUE | 0x2 | GV_ADDMULTI);
44597 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_LINE)));
44598 1 : SvREADONLY_on(sv);
44599 : } while(0) /*@SWIG@*/;
44600 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44601 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_POLYGON", TRUE | 0x2 | GV_ADDMULTI);
44602 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_POLYGON)));
44603 1 : SvREADONLY_on(sv);
44604 : } while(0) /*@SWIG@*/;
44605 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44606 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_RASTER", TRUE | 0x2 | GV_ADDMULTI);
44607 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_RASTER)));
44608 1 : SvREADONLY_on(sv);
44609 : } while(0) /*@SWIG@*/;
44610 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44611 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_ANNOTATION", TRUE | 0x2 | GV_ADDMULTI);
44612 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_ANNOTATION)));
44613 1 : SvREADONLY_on(sv);
44614 : } while(0) /*@SWIG@*/;
44615 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44616 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_QUERY", TRUE | 0x2 | GV_ADDMULTI);
44617 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_QUERY)));
44618 1 : SvREADONLY_on(sv);
44619 : } while(0) /*@SWIG@*/;
44620 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44621 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_CIRCLE", TRUE | 0x2 | GV_ADDMULTI);
44622 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_CIRCLE)));
44623 1 : SvREADONLY_on(sv);
44624 : } while(0) /*@SWIG@*/;
44625 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44626 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_TILEINDEX", TRUE | 0x2 | GV_ADDMULTI);
44627 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_TILEINDEX)));
44628 1 : SvREADONLY_on(sv);
44629 : } while(0) /*@SWIG@*/;
44630 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44631 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_CHART", TRUE | 0x2 | GV_ADDMULTI);
44632 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_CHART)));
44633 1 : SvREADONLY_on(sv);
44634 : } while(0) /*@SWIG@*/;
44635 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44636 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRUETYPE", TRUE | 0x2 | GV_ADDMULTI);
44637 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TRUETYPE)));
44638 1 : SvREADONLY_on(sv);
44639 : } while(0) /*@SWIG@*/;
44640 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44641 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_BITMAP", TRUE | 0x2 | GV_ADDMULTI);
44642 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_BITMAP)));
44643 1 : SvREADONLY_on(sv);
44644 : } while(0) /*@SWIG@*/;
44645 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44646 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_POSITIONS_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
44647 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(14)));
44648 1 : SvREADONLY_on(sv);
44649 : } while(0) /*@SWIG@*/;
44650 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44651 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UL", TRUE | 0x2 | GV_ADDMULTI);
44652 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UL)));
44653 1 : SvREADONLY_on(sv);
44654 : } while(0) /*@SWIG@*/;
44655 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44656 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LR", TRUE | 0x2 | GV_ADDMULTI);
44657 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LR)));
44658 1 : SvREADONLY_on(sv);
44659 : } while(0) /*@SWIG@*/;
44660 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44661 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UR", TRUE | 0x2 | GV_ADDMULTI);
44662 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UR)));
44663 1 : SvREADONLY_on(sv);
44664 : } while(0) /*@SWIG@*/;
44665 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44666 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LL", TRUE | 0x2 | GV_ADDMULTI);
44667 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LL)));
44668 1 : SvREADONLY_on(sv);
44669 : } while(0) /*@SWIG@*/;
44670 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44671 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CR", TRUE | 0x2 | GV_ADDMULTI);
44672 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CR)));
44673 1 : SvREADONLY_on(sv);
44674 : } while(0) /*@SWIG@*/;
44675 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44676 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CL", TRUE | 0x2 | GV_ADDMULTI);
44677 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CL)));
44678 1 : SvREADONLY_on(sv);
44679 : } while(0) /*@SWIG@*/;
44680 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44681 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UC", TRUE | 0x2 | GV_ADDMULTI);
44682 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UC)));
44683 1 : SvREADONLY_on(sv);
44684 : } while(0) /*@SWIG@*/;
44685 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44686 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LC", TRUE | 0x2 | GV_ADDMULTI);
44687 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LC)));
44688 1 : SvREADONLY_on(sv);
44689 : } while(0) /*@SWIG@*/;
44690 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44691 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CC", TRUE | 0x2 | GV_ADDMULTI);
44692 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CC)));
44693 1 : SvREADONLY_on(sv);
44694 : } while(0) /*@SWIG@*/;
44695 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44696 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_AUTO", TRUE | 0x2 | GV_ADDMULTI);
44697 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_AUTO)));
44698 1 : SvREADONLY_on(sv);
44699 : } while(0) /*@SWIG@*/;
44700 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44701 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_XY", TRUE | 0x2 | GV_ADDMULTI);
44702 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_XY)));
44703 1 : SvREADONLY_on(sv);
44704 : } while(0) /*@SWIG@*/;
44705 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44706 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NONE", TRUE | 0x2 | GV_ADDMULTI);
44707 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_NONE)));
44708 1 : SvREADONLY_on(sv);
44709 : } while(0) /*@SWIG@*/;
44710 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44711 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_AUTO2", TRUE | 0x2 | GV_ADDMULTI);
44712 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_AUTO2)));
44713 1 : SvREADONLY_on(sv);
44714 : } while(0) /*@SWIG@*/;
44715 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44716 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FOLLOW", TRUE | 0x2 | GV_ADDMULTI);
44717 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_FOLLOW)));
44718 1 : SvREADONLY_on(sv);
44719 : } while(0) /*@SWIG@*/;
44720 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44721 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TINY", TRUE | 0x2 | GV_ADDMULTI);
44722 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(5)));
44723 1 : SvREADONLY_on(sv);
44724 : } while(0) /*@SWIG@*/;
44725 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44726 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SMALL", TRUE | 0x2 | GV_ADDMULTI);
44727 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(7)));
44728 1 : SvREADONLY_on(sv);
44729 : } while(0) /*@SWIG@*/;
44730 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44731 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MEDIUM", TRUE | 0x2 | GV_ADDMULTI);
44732 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(10)));
44733 1 : SvREADONLY_on(sv);
44734 : } while(0) /*@SWIG@*/;
44735 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44736 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LARGE", TRUE | 0x2 | GV_ADDMULTI);
44737 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(13)));
44738 1 : SvREADONLY_on(sv);
44739 : } while(0) /*@SWIG@*/;
44740 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44741 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GIANT", TRUE | 0x2 | GV_ADDMULTI);
44742 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(16)));
44743 1 : SvREADONLY_on(sv);
44744 : } while(0) /*@SWIG@*/;
44745 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44746 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NORMAL", TRUE | 0x2 | GV_ADDMULTI);
44747 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_NORMAL)));
44748 1 : SvREADONLY_on(sv);
44749 : } while(0) /*@SWIG@*/;
44750 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44751 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_HILITE", TRUE | 0x2 | GV_ADDMULTI);
44752 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_HILITE)));
44753 1 : SvREADONLY_on(sv);
44754 : } while(0) /*@SWIG@*/;
44755 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44756 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SELECTED", TRUE | 0x2 | GV_ADDMULTI);
44757 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SELECTED)));
44758 1 : SvREADONLY_on(sv);
44759 : } while(0) /*@SWIG@*/;
44760 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44761 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_INLINE", TRUE | 0x2 | GV_ADDMULTI);
44762 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_INLINE)));
44763 1 : SvREADONLY_on(sv);
44764 : } while(0) /*@SWIG@*/;
44765 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44766 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE", TRUE | 0x2 | GV_ADDMULTI);
44767 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPEFILE)));
44768 1 : SvREADONLY_on(sv);
44769 : } while(0) /*@SWIG@*/;
44770 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44771 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TILED_SHAPEFILE", TRUE | 0x2 | GV_ADDMULTI);
44772 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TILED_SHAPEFILE)));
44773 1 : SvREADONLY_on(sv);
44774 : } while(0) /*@SWIG@*/;
44775 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44776 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UNUSED_2", TRUE | 0x2 | GV_ADDMULTI);
44777 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UNUSED_2)));
44778 1 : SvREADONLY_on(sv);
44779 : } while(0) /*@SWIG@*/;
44780 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44781 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_OGR", TRUE | 0x2 | GV_ADDMULTI);
44782 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_OGR)));
44783 1 : SvREADONLY_on(sv);
44784 : } while(0) /*@SWIG@*/;
44785 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44786 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UNUSED_1", TRUE | 0x2 | GV_ADDMULTI);
44787 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UNUSED_1)));
44788 1 : SvREADONLY_on(sv);
44789 : } while(0) /*@SWIG@*/;
44790 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44791 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_POSTGIS", TRUE | 0x2 | GV_ADDMULTI);
44792 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_POSTGIS)));
44793 1 : SvREADONLY_on(sv);
44794 : } while(0) /*@SWIG@*/;
44795 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44796 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WMS", TRUE | 0x2 | GV_ADDMULTI);
44797 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_WMS)));
44798 1 : SvREADONLY_on(sv);
44799 : } while(0) /*@SWIG@*/;
44800 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44801 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ORACLESPATIAL", TRUE | 0x2 | GV_ADDMULTI);
44802 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_ORACLESPATIAL)));
44803 1 : SvREADONLY_on(sv);
44804 : } while(0) /*@SWIG@*/;
44805 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44806 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WFS", TRUE | 0x2 | GV_ADDMULTI);
44807 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_WFS)));
44808 1 : SvREADONLY_on(sv);
44809 : } while(0) /*@SWIG@*/;
44810 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44811 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GRATICULE", TRUE | 0x2 | GV_ADDMULTI);
44812 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GRATICULE)));
44813 1 : SvREADONLY_on(sv);
44814 : } while(0) /*@SWIG@*/;
44815 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44816 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MYSQL", TRUE | 0x2 | GV_ADDMULTI);
44817 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_MYSQL)));
44818 1 : SvREADONLY_on(sv);
44819 : } while(0) /*@SWIG@*/;
44820 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44821 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RASTER", TRUE | 0x2 | GV_ADDMULTI);
44822 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_RASTER)));
44823 1 : SvREADONLY_on(sv);
44824 : } while(0) /*@SWIG@*/;
44825 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44826 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PLUGIN", TRUE | 0x2 | GV_ADDMULTI);
44827 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PLUGIN)));
44828 1 : SvREADONLY_on(sv);
44829 : } while(0) /*@SWIG@*/;
44830 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44831 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UNION", TRUE | 0x2 | GV_ADDMULTI);
44832 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UNION)));
44833 1 : SvREADONLY_on(sv);
44834 : } while(0) /*@SWIG@*/;
44835 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44836 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UVRASTER", TRUE | 0x2 | GV_ADDMULTI);
44837 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_UVRASTER)));
44838 1 : SvREADONLY_on(sv);
44839 : } while(0) /*@SWIG@*/;
44840 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44841 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CONTOUR", TRUE | 0x2 | GV_ADDMULTI);
44842 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CONTOUR)));
44843 1 : SvREADONLY_on(sv);
44844 : } while(0) /*@SWIG@*/;
44845 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44846 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_KERNELDENSITY", TRUE | 0x2 | GV_ADDMULTI);
44847 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_KERNELDENSITY)));
44848 1 : SvREADONLY_on(sv);
44849 : } while(0) /*@SWIG@*/;
44850 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44851 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DB_XBASE", TRUE | 0x2 | GV_ADDMULTI);
44852 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DB_XBASE)));
44853 1 : SvREADONLY_on(sv);
44854 : } while(0) /*@SWIG@*/;
44855 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44856 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DB_CSV", TRUE | 0x2 | GV_ADDMULTI);
44857 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DB_CSV)));
44858 1 : SvREADONLY_on(sv);
44859 : } while(0) /*@SWIG@*/;
44860 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44861 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DB_MYSQL", TRUE | 0x2 | GV_ADDMULTI);
44862 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DB_MYSQL)));
44863 1 : SvREADONLY_on(sv);
44864 : } while(0) /*@SWIG@*/;
44865 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44866 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DB_ORACLE", TRUE | 0x2 | GV_ADDMULTI);
44867 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DB_ORACLE)));
44868 1 : SvREADONLY_on(sv);
44869 : } while(0) /*@SWIG@*/;
44870 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44871 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DB_POSTGRES", TRUE | 0x2 | GV_ADDMULTI);
44872 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DB_POSTGRES)));
44873 1 : SvREADONLY_on(sv);
44874 : } while(0) /*@SWIG@*/;
44875 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44876 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_JOIN_ONE_TO_ONE", TRUE | 0x2 | GV_ADDMULTI);
44877 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_JOIN_ONE_TO_ONE)));
44878 1 : SvREADONLY_on(sv);
44879 : } while(0) /*@SWIG@*/;
44880 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44881 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_JOIN_ONE_TO_MANY", TRUE | 0x2 | GV_ADDMULTI);
44882 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_JOIN_ONE_TO_MANY)));
44883 1 : SvREADONLY_on(sv);
44884 : } while(0) /*@SWIG@*/;
44885 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44886 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SINGLE", TRUE | 0x2 | GV_ADDMULTI);
44887 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
44888 1 : SvREADONLY_on(sv);
44889 : } while(0) /*@SWIG@*/;
44890 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44891 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MULTIPLE", TRUE | 0x2 | GV_ADDMULTI);
44892 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
44893 1 : SvREADONLY_on(sv);
44894 : } while(0) /*@SWIG@*/;
44895 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44896 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_SINGLE", TRUE | 0x2 | GV_ADDMULTI);
44897 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_SINGLE)));
44898 1 : SvREADONLY_on(sv);
44899 : } while(0) /*@SWIG@*/;
44900 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44901 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_MULTIPLE", TRUE | 0x2 | GV_ADDMULTI);
44902 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_MULTIPLE)));
44903 1 : SvREADONLY_on(sv);
44904 : } while(0) /*@SWIG@*/;
44905 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44906 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_IS_NULL", TRUE | 0x2 | GV_ADDMULTI);
44907 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_IS_NULL)));
44908 1 : SvREADONLY_on(sv);
44909 : } while(0) /*@SWIG@*/;
44910 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44911 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_POINT", TRUE | 0x2 | GV_ADDMULTI);
44912 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_POINT)));
44913 1 : SvREADONLY_on(sv);
44914 : } while(0) /*@SWIG@*/;
44915 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44916 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_RECT", TRUE | 0x2 | GV_ADDMULTI);
44917 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_RECT)));
44918 1 : SvREADONLY_on(sv);
44919 : } while(0) /*@SWIG@*/;
44920 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44921 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
44922 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_SHAPE)));
44923 1 : SvREADONLY_on(sv);
44924 : } while(0) /*@SWIG@*/;
44925 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44926 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_ATTRIBUTE", TRUE | 0x2 | GV_ADDMULTI);
44927 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_ATTRIBUTE)));
44928 1 : SvREADONLY_on(sv);
44929 : } while(0) /*@SWIG@*/;
44930 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44931 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_INDEX", TRUE | 0x2 | GV_ADDMULTI);
44932 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_INDEX)));
44933 1 : SvREADONLY_on(sv);
44934 : } while(0) /*@SWIG@*/;
44935 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44936 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_FILTER", TRUE | 0x2 | GV_ADDMULTI);
44937 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_FILTER)));
44938 1 : SvREADONLY_on(sv);
44939 : } while(0) /*@SWIG@*/;
44940 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44941 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_DEFAULT", TRUE | 0x2 | GV_ADDMULTI);
44942 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_DEFAULT)));
44943 1 : SvREADONLY_on(sv);
44944 : } while(0) /*@SWIG@*/;
44945 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44946 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_LEFT", TRUE | 0x2 | GV_ADDMULTI);
44947 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_LEFT)));
44948 1 : SvREADONLY_on(sv);
44949 : } while(0) /*@SWIG@*/;
44950 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44951 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_CENTER", TRUE | 0x2 | GV_ADDMULTI);
44952 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_CENTER)));
44953 1 : SvREADONLY_on(sv);
44954 : } while(0) /*@SWIG@*/;
44955 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44956 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_RIGHT", TRUE | 0x2 | GV_ADDMULTI);
44957 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_RIGHT)));
44958 1 : SvREADONLY_on(sv);
44959 : } while(0) /*@SWIG@*/;
44960 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44961 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_NONE", TRUE | 0x2 | GV_ADDMULTI);
44962 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_NONE)));
44963 1 : SvREADONLY_on(sv);
44964 : } while(0) /*@SWIG@*/;
44965 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44966 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_BEVEL", TRUE | 0x2 | GV_ADDMULTI);
44967 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_BEVEL)));
44968 1 : SvREADONLY_on(sv);
44969 : } while(0) /*@SWIG@*/;
44970 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44971 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_BUTT", TRUE | 0x2 | GV_ADDMULTI);
44972 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_BUTT)));
44973 1 : SvREADONLY_on(sv);
44974 : } while(0) /*@SWIG@*/;
44975 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44976 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_MITER", TRUE | 0x2 | GV_ADDMULTI);
44977 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_MITER)));
44978 1 : SvREADONLY_on(sv);
44979 : } while(0) /*@SWIG@*/;
44980 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44981 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_ROUND", TRUE | 0x2 | GV_ADDMULTI);
44982 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_ROUND)));
44983 1 : SvREADONLY_on(sv);
44984 : } while(0) /*@SWIG@*/;
44985 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44986 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_SQUARE", TRUE | 0x2 | GV_ADDMULTI);
44987 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_SQUARE)));
44988 1 : SvREADONLY_on(sv);
44989 : } while(0) /*@SWIG@*/;
44990 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44991 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_TRIANGLE", TRUE | 0x2 | GV_ADDMULTI);
44992 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_TRIANGLE)));
44993 1 : SvREADONLY_on(sv);
44994 : } while(0) /*@SWIG@*/;
44995 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
44996 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_DEFAULT_JOIN_MAXSIZE", TRUE | 0x2 | GV_ADDMULTI);
44997 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(3)));
44998 1 : SvREADONLY_on(sv);
44999 : } while(0) /*@SWIG@*/;
45000 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45001 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SUCCESS", TRUE | 0x2 | GV_ADDMULTI);
45002 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SUCCESS)));
45003 1 : SvREADONLY_on(sv);
45004 : } while(0) /*@SWIG@*/;
45005 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45006 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_FAILURE", TRUE | 0x2 | GV_ADDMULTI);
45007 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_FAILURE)));
45008 1 : SvREADONLY_on(sv);
45009 : } while(0) /*@SWIG@*/;
45010 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45011 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DONE", TRUE | 0x2 | GV_ADDMULTI);
45012 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DONE)));
45013 1 : SvREADONLY_on(sv);
45014 : } while(0) /*@SWIG@*/;
45015 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45016 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_PC256", TRUE | 0x2 | GV_ADDMULTI);
45017 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_PC256)));
45018 1 : SvREADONLY_on(sv);
45019 : } while(0) /*@SWIG@*/;
45020 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45021 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_RGB", TRUE | 0x2 | GV_ADDMULTI);
45022 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_RGB)));
45023 1 : SvREADONLY_on(sv);
45024 : } while(0) /*@SWIG@*/;
45025 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45026 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_RGBA", TRUE | 0x2 | GV_ADDMULTI);
45027 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_RGBA)));
45028 1 : SvREADONLY_on(sv);
45029 : } while(0) /*@SWIG@*/;
45030 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45031 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_INT16", TRUE | 0x2 | GV_ADDMULTI);
45032 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_INT16)));
45033 1 : SvREADONLY_on(sv);
45034 : } while(0) /*@SWIG@*/;
45035 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45036 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_FLOAT32", TRUE | 0x2 | GV_ADDMULTI);
45037 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_FLOAT32)));
45038 1 : SvREADONLY_on(sv);
45039 : } while(0) /*@SWIG@*/;
45040 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45041 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_BYTE", TRUE | 0x2 | GV_ADDMULTI);
45042 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_BYTE)));
45043 1 : SvREADONLY_on(sv);
45044 : } while(0) /*@SWIG@*/;
45045 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45046 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_FEATURE", TRUE | 0x2 | GV_ADDMULTI);
45047 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_FEATURE)));
45048 1 : SvREADONLY_on(sv);
45049 : } while(0) /*@SWIG@*/;
45050 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45051 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_NULL", TRUE | 0x2 | GV_ADDMULTI);
45052 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_NULL)));
45053 1 : SvREADONLY_on(sv);
45054 : } while(0) /*@SWIG@*/;
45055 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45056 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_EQUALS", TRUE | 0x2 | GV_ADDMULTI);
45057 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_EQUALS)));
45058 1 : SvREADONLY_on(sv);
45059 : } while(0) /*@SWIG@*/;
45060 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45061 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_DISJOINT", TRUE | 0x2 | GV_ADDMULTI);
45062 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_DISJOINT)));
45063 1 : SvREADONLY_on(sv);
45064 : } while(0) /*@SWIG@*/;
45065 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45066 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_TOUCHES", TRUE | 0x2 | GV_ADDMULTI);
45067 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_TOUCHES)));
45068 1 : SvREADONLY_on(sv);
45069 : } while(0) /*@SWIG@*/;
45070 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45071 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_OVERLAPS", TRUE | 0x2 | GV_ADDMULTI);
45072 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_OVERLAPS)));
45073 1 : SvREADONLY_on(sv);
45074 : } while(0) /*@SWIG@*/;
45075 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45076 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_CROSSES", TRUE | 0x2 | GV_ADDMULTI);
45077 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_CROSSES)));
45078 1 : SvREADONLY_on(sv);
45079 : } while(0) /*@SWIG@*/;
45080 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45081 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_INTERSECTS", TRUE | 0x2 | GV_ADDMULTI);
45082 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_INTERSECTS)));
45083 1 : SvREADONLY_on(sv);
45084 : } while(0) /*@SWIG@*/;
45085 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45086 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_WITHIN", TRUE | 0x2 | GV_ADDMULTI);
45087 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_WITHIN)));
45088 1 : SvREADONLY_on(sv);
45089 : } while(0) /*@SWIG@*/;
45090 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45091 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_CONTAINS", TRUE | 0x2 | GV_ADDMULTI);
45092 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_CONTAINS)));
45093 1 : SvREADONLY_on(sv);
45094 : } while(0) /*@SWIG@*/;
45095 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45096 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_BEYOND", TRUE | 0x2 | GV_ADDMULTI);
45097 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_BEYOND)));
45098 1 : SvREADONLY_on(sv);
45099 : } while(0) /*@SWIG@*/;
45100 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45101 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_DWITHIN", TRUE | 0x2 | GV_ADDMULTI);
45102 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_DWITHIN)));
45103 1 : SvREADONLY_on(sv);
45104 : } while(0) /*@SWIG@*/;
45105 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45106 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_NONE", TRUE | 0x2 | GV_ADDMULTI);
45107 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_NONE)));
45108 1 : SvREADONLY_on(sv);
45109 : } while(0) /*@SWIG@*/;
45110 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45111 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_ROUND", TRUE | 0x2 | GV_ADDMULTI);
45112 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_ROUND)));
45113 1 : SvREADONLY_on(sv);
45114 : } while(0) /*@SWIG@*/;
45115 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45116 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_SNAPTOGRID", TRUE | 0x2 | GV_ADDMULTI);
45117 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_SNAPTOGRID)));
45118 1 : SvREADONLY_on(sv);
45119 : } while(0) /*@SWIG@*/;
45120 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45121 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_FULLRESOLUTION", TRUE | 0x2 | GV_ADDMULTI);
45122 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_FULLRESOLUTION)));
45123 1 : SvREADONLY_on(sv);
45124 : } while(0) /*@SWIG@*/;
45125 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45126 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_SIMPLIFY", TRUE | 0x2 | GV_ADDMULTI);
45127 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_SIMPLIFY)));
45128 1 : SvREADONLY_on(sv);
45129 : } while(0) /*@SWIG@*/;
45130 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45131 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_CLEAR", TRUE | 0x2 | GV_ADDMULTI);
45132 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_CLEAR)));
45133 1 : SvREADONLY_on(sv);
45134 : } while(0) /*@SWIG@*/;
45135 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45136 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC", TRUE | 0x2 | GV_ADDMULTI);
45137 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC)));
45138 1 : SvREADONLY_on(sv);
45139 : } while(0) /*@SWIG@*/;
45140 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45141 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST", TRUE | 0x2 | GV_ADDMULTI);
45142 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST)));
45143 1 : SvREADONLY_on(sv);
45144 : } while(0) /*@SWIG@*/;
45145 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45146 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_OVER", TRUE | 0x2 | GV_ADDMULTI);
45147 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_OVER)));
45148 1 : SvREADONLY_on(sv);
45149 : } while(0) /*@SWIG@*/;
45150 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45151 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_OVER", TRUE | 0x2 | GV_ADDMULTI);
45152 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_OVER)));
45153 1 : SvREADONLY_on(sv);
45154 : } while(0) /*@SWIG@*/;
45155 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45156 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_IN", TRUE | 0x2 | GV_ADDMULTI);
45157 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_IN)));
45158 1 : SvREADONLY_on(sv);
45159 : } while(0) /*@SWIG@*/;
45160 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45161 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_IN", TRUE | 0x2 | GV_ADDMULTI);
45162 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_IN)));
45163 1 : SvREADONLY_on(sv);
45164 : } while(0) /*@SWIG@*/;
45165 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45166 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_OUT", TRUE | 0x2 | GV_ADDMULTI);
45167 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_OUT)));
45168 1 : SvREADONLY_on(sv);
45169 : } while(0) /*@SWIG@*/;
45170 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45171 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_OUT", TRUE | 0x2 | GV_ADDMULTI);
45172 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_OUT)));
45173 1 : SvREADONLY_on(sv);
45174 : } while(0) /*@SWIG@*/;
45175 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45176 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_ATOP", TRUE | 0x2 | GV_ADDMULTI);
45177 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_ATOP)));
45178 1 : SvREADONLY_on(sv);
45179 : } while(0) /*@SWIG@*/;
45180 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45181 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_ATOP", TRUE | 0x2 | GV_ADDMULTI);
45182 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_ATOP)));
45183 1 : SvREADONLY_on(sv);
45184 : } while(0) /*@SWIG@*/;
45185 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45186 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_XOR", TRUE | 0x2 | GV_ADDMULTI);
45187 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_XOR)));
45188 1 : SvREADONLY_on(sv);
45189 : } while(0) /*@SWIG@*/;
45190 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45191 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_PLUS", TRUE | 0x2 | GV_ADDMULTI);
45192 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_PLUS)));
45193 1 : SvREADONLY_on(sv);
45194 : } while(0) /*@SWIG@*/;
45195 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45196 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_MINUS", TRUE | 0x2 | GV_ADDMULTI);
45197 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_MINUS)));
45198 1 : SvREADONLY_on(sv);
45199 : } while(0) /*@SWIG@*/;
45200 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45201 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_MULTIPLY", TRUE | 0x2 | GV_ADDMULTI);
45202 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_MULTIPLY)));
45203 1 : SvREADONLY_on(sv);
45204 : } while(0) /*@SWIG@*/;
45205 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45206 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SCREEN", TRUE | 0x2 | GV_ADDMULTI);
45207 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SCREEN)));
45208 1 : SvREADONLY_on(sv);
45209 : } while(0) /*@SWIG@*/;
45210 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45211 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_OVERLAY", TRUE | 0x2 | GV_ADDMULTI);
45212 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_OVERLAY)));
45213 1 : SvREADONLY_on(sv);
45214 : } while(0) /*@SWIG@*/;
45215 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45216 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DARKEN", TRUE | 0x2 | GV_ADDMULTI);
45217 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DARKEN)));
45218 1 : SvREADONLY_on(sv);
45219 : } while(0) /*@SWIG@*/;
45220 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45221 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_LIGHTEN", TRUE | 0x2 | GV_ADDMULTI);
45222 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_LIGHTEN)));
45223 1 : SvREADONLY_on(sv);
45224 : } while(0) /*@SWIG@*/;
45225 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45226 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_COLOR_DODGE", TRUE | 0x2 | GV_ADDMULTI);
45227 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_COLOR_DODGE)));
45228 1 : SvREADONLY_on(sv);
45229 : } while(0) /*@SWIG@*/;
45230 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45231 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_COLOR_BURN", TRUE | 0x2 | GV_ADDMULTI);
45232 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_COLOR_BURN)));
45233 1 : SvREADONLY_on(sv);
45234 : } while(0) /*@SWIG@*/;
45235 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45236 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_HARD_LIGHT", TRUE | 0x2 | GV_ADDMULTI);
45237 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_HARD_LIGHT)));
45238 1 : SvREADONLY_on(sv);
45239 : } while(0) /*@SWIG@*/;
45240 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45241 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SOFT_LIGHT", TRUE | 0x2 | GV_ADDMULTI);
45242 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SOFT_LIGHT)));
45243 1 : SvREADONLY_on(sv);
45244 : } while(0) /*@SWIG@*/;
45245 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45246 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DIFFERENCE", TRUE | 0x2 | GV_ADDMULTI);
45247 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DIFFERENCE)));
45248 1 : SvREADONLY_on(sv);
45249 : } while(0) /*@SWIG@*/;
45250 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45251 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_EXCLUSION", TRUE | 0x2 | GV_ADDMULTI);
45252 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_EXCLUSION)));
45253 1 : SvREADONLY_on(sv);
45254 : } while(0) /*@SWIG@*/;
45255 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45256 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_CONTRAST", TRUE | 0x2 | GV_ADDMULTI);
45257 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_CONTRAST)));
45258 1 : SvREADONLY_on(sv);
45259 : } while(0) /*@SWIG@*/;
45260 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45261 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_INVERT", TRUE | 0x2 | GV_ADDMULTI);
45262 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_INVERT)));
45263 1 : SvREADONLY_on(sv);
45264 : } while(0) /*@SWIG@*/;
45265 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45266 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_INVERT_RGB", TRUE | 0x2 | GV_ADDMULTI);
45267 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_INVERT_RGB)));
45268 1 : SvREADONLY_on(sv);
45269 : } while(0) /*@SWIG@*/;
45270 1 : SWIG_TypeClientData(SWIGTYPE_p__CompositingFilter, (void*) "mapscript::CompositingFilter");
45271 1 : SWIG_TypeClientData(SWIGTYPE_p__LayerCompositer, (void*) "mapscript::LayerCompositer");
45272 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45273 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
45274 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(12)));
45275 1 : SvREADONLY_on(sv);
45276 : } while(0) /*@SWIG@*/;
45277 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45278 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_SIZE", TRUE | 0x2 | GV_ADDMULTI);
45279 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_SIZE)));
45280 1 : SvREADONLY_on(sv);
45281 : } while(0) /*@SWIG@*/;
45282 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45283 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_WIDTH", TRUE | 0x2 | GV_ADDMULTI);
45284 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_WIDTH)));
45285 1 : SvREADONLY_on(sv);
45286 : } while(0) /*@SWIG@*/;
45287 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45288 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_ANGLE", TRUE | 0x2 | GV_ADDMULTI);
45289 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_ANGLE)));
45290 1 : SvREADONLY_on(sv);
45291 : } while(0) /*@SWIG@*/;
45292 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45293 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_COLOR", TRUE | 0x2 | GV_ADDMULTI);
45294 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_COLOR)));
45295 1 : SvREADONLY_on(sv);
45296 : } while(0) /*@SWIG@*/;
45297 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45298 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OUTLINECOLOR", TRUE | 0x2 | GV_ADDMULTI);
45299 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OUTLINECOLOR)));
45300 1 : SvREADONLY_on(sv);
45301 : } while(0) /*@SWIG@*/;
45302 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45303 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_SYMBOL", TRUE | 0x2 | GV_ADDMULTI);
45304 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_SYMBOL)));
45305 1 : SvREADONLY_on(sv);
45306 : } while(0) /*@SWIG@*/;
45307 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45308 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OUTLINEWIDTH", TRUE | 0x2 | GV_ADDMULTI);
45309 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OUTLINEWIDTH)));
45310 1 : SvREADONLY_on(sv);
45311 : } while(0) /*@SWIG@*/;
45312 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45313 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OPACITY", TRUE | 0x2 | GV_ADDMULTI);
45314 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OPACITY)));
45315 1 : SvREADONLY_on(sv);
45316 : } while(0) /*@SWIG@*/;
45317 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45318 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OFFSET_X", TRUE | 0x2 | GV_ADDMULTI);
45319 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OFFSET_X)));
45320 1 : SvREADONLY_on(sv);
45321 : } while(0) /*@SWIG@*/;
45322 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45323 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OFFSET_Y", TRUE | 0x2 | GV_ADDMULTI);
45324 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OFFSET_Y)));
45325 1 : SvREADONLY_on(sv);
45326 : } while(0) /*@SWIG@*/;
45327 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45328 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_POLAROFFSET_PIXEL", TRUE | 0x2 | GV_ADDMULTI);
45329 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_POLAROFFSET_PIXEL)));
45330 1 : SvREADONLY_on(sv);
45331 : } while(0) /*@SWIG@*/;
45332 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45333 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_POLAROFFSET_ANGLE", TRUE | 0x2 | GV_ADDMULTI);
45334 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_POLAROFFSET_ANGLE)));
45335 1 : SvREADONLY_on(sv);
45336 : } while(0) /*@SWIG@*/;
45337 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45338 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
45339 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(9)));
45340 1 : SvREADONLY_on(sv);
45341 : } while(0) /*@SWIG@*/;
45342 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45343 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_SIZE", TRUE | 0x2 | GV_ADDMULTI);
45344 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_SIZE)));
45345 1 : SvREADONLY_on(sv);
45346 : } while(0) /*@SWIG@*/;
45347 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45348 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_ANGLE", TRUE | 0x2 | GV_ADDMULTI);
45349 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_ANGLE)));
45350 1 : SvREADONLY_on(sv);
45351 : } while(0) /*@SWIG@*/;
45352 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45353 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_COLOR", TRUE | 0x2 | GV_ADDMULTI);
45354 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_COLOR)));
45355 1 : SvREADONLY_on(sv);
45356 : } while(0) /*@SWIG@*/;
45357 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45358 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_OUTLINECOLOR", TRUE | 0x2 | GV_ADDMULTI);
45359 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_OUTLINECOLOR)));
45360 1 : SvREADONLY_on(sv);
45361 : } while(0) /*@SWIG@*/;
45362 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45363 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_FONT", TRUE | 0x2 | GV_ADDMULTI);
45364 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_FONT)));
45365 1 : SvREADONLY_on(sv);
45366 : } while(0) /*@SWIG@*/;
45367 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45368 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_PRIORITY", TRUE | 0x2 | GV_ADDMULTI);
45369 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_PRIORITY)));
45370 1 : SvREADONLY_on(sv);
45371 : } while(0) /*@SWIG@*/;
45372 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45373 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_POSITION", TRUE | 0x2 | GV_ADDMULTI);
45374 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_POSITION)));
45375 1 : SvREADONLY_on(sv);
45376 : } while(0) /*@SWIG@*/;
45377 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45378 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_SHADOWSIZEX", TRUE | 0x2 | GV_ADDMULTI);
45379 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_SHADOWSIZEX)));
45380 1 : SvREADONLY_on(sv);
45381 : } while(0) /*@SWIG@*/;
45382 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45383 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_SHADOWSIZEY", TRUE | 0x2 | GV_ADDMULTI);
45384 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_SHADOWSIZEY)));
45385 1 : SvREADONLY_on(sv);
45386 : } while(0) /*@SWIG@*/;
45387 1 : SWIG_TypeClientData(SWIGTYPE_p_fontSetObj, (void*) "mapscript::fontSetObj");
45388 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45389 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LOGICAL_AND", TRUE | 0x2 | GV_ADDMULTI);
45390 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LOGICAL_AND)));
45391 1 : SvREADONLY_on(sv);
45392 : } while(0) /*@SWIG@*/;
45393 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45394 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LOGICAL_OR", TRUE | 0x2 | GV_ADDMULTI);
45395 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LOGICAL_OR)));
45396 1 : SvREADONLY_on(sv);
45397 : } while(0) /*@SWIG@*/;
45398 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45399 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LOGICAL_NOT", TRUE | 0x2 | GV_ADDMULTI);
45400 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LOGICAL_NOT)));
45401 1 : SvREADONLY_on(sv);
45402 : } while(0) /*@SWIG@*/;
45403 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45404 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_NUMBER", TRUE | 0x2 | GV_ADDMULTI);
45405 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_NUMBER)));
45406 1 : SvREADONLY_on(sv);
45407 : } while(0) /*@SWIG@*/;
45408 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45409 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_STRING", TRUE | 0x2 | GV_ADDMULTI);
45410 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_STRING)));
45411 1 : SvREADONLY_on(sv);
45412 : } while(0) /*@SWIG@*/;
45413 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45414 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_TIME", TRUE | 0x2 | GV_ADDMULTI);
45415 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_TIME)));
45416 1 : SvREADONLY_on(sv);
45417 : } while(0) /*@SWIG@*/;
45418 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45419 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
45420 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_SHAPE)));
45421 1 : SvREADONLY_on(sv);
45422 : } while(0) /*@SWIG@*/;
45423 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45424 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_BOOLEAN", TRUE | 0x2 | GV_ADDMULTI);
45425 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_BOOLEAN)));
45426 1 : SvREADONLY_on(sv);
45427 : } while(0) /*@SWIG@*/;
45428 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45429 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_EQ", TRUE | 0x2 | GV_ADDMULTI);
45430 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_EQ)));
45431 1 : SvREADONLY_on(sv);
45432 : } while(0) /*@SWIG@*/;
45433 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45434 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_NE", TRUE | 0x2 | GV_ADDMULTI);
45435 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_NE)));
45436 1 : SvREADONLY_on(sv);
45437 : } while(0) /*@SWIG@*/;
45438 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45439 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_GT", TRUE | 0x2 | GV_ADDMULTI);
45440 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_GT)));
45441 1 : SvREADONLY_on(sv);
45442 : } while(0) /*@SWIG@*/;
45443 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45444 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_LT", TRUE | 0x2 | GV_ADDMULTI);
45445 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_LT)));
45446 1 : SvREADONLY_on(sv);
45447 : } while(0) /*@SWIG@*/;
45448 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45449 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_LE", TRUE | 0x2 | GV_ADDMULTI);
45450 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_LE)));
45451 1 : SvREADONLY_on(sv);
45452 : } while(0) /*@SWIG@*/;
45453 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45454 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_GE", TRUE | 0x2 | GV_ADDMULTI);
45455 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_GE)));
45456 1 : SvREADONLY_on(sv);
45457 : } while(0) /*@SWIG@*/;
45458 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45459 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_IEQ", TRUE | 0x2 | GV_ADDMULTI);
45460 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_IEQ)));
45461 1 : SvREADONLY_on(sv);
45462 : } while(0) /*@SWIG@*/;
45463 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45464 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_RE", TRUE | 0x2 | GV_ADDMULTI);
45465 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_RE)));
45466 1 : SvREADONLY_on(sv);
45467 : } while(0) /*@SWIG@*/;
45468 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45469 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_IRE", TRUE | 0x2 | GV_ADDMULTI);
45470 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_IRE)));
45471 1 : SvREADONLY_on(sv);
45472 : } while(0) /*@SWIG@*/;
45473 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45474 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_IN", TRUE | 0x2 | GV_ADDMULTI);
45475 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_IN)));
45476 1 : SvREADONLY_on(sv);
45477 : } while(0) /*@SWIG@*/;
45478 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45479 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_LIKE", TRUE | 0x2 | GV_ADDMULTI);
45480 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_LIKE)));
45481 1 : SvREADONLY_on(sv);
45482 : } while(0) /*@SWIG@*/;
45483 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45484 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_INTERSECTS", TRUE | 0x2 | GV_ADDMULTI);
45485 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_INTERSECTS)));
45486 1 : SvREADONLY_on(sv);
45487 : } while(0) /*@SWIG@*/;
45488 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45489 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_DISJOINT", TRUE | 0x2 | GV_ADDMULTI);
45490 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_DISJOINT)));
45491 1 : SvREADONLY_on(sv);
45492 : } while(0) /*@SWIG@*/;
45493 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45494 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_TOUCHES", TRUE | 0x2 | GV_ADDMULTI);
45495 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_TOUCHES)));
45496 1 : SvREADONLY_on(sv);
45497 : } while(0) /*@SWIG@*/;
45498 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45499 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_OVERLAPS", TRUE | 0x2 | GV_ADDMULTI);
45500 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_OVERLAPS)));
45501 1 : SvREADONLY_on(sv);
45502 : } while(0) /*@SWIG@*/;
45503 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45504 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_CROSSES", TRUE | 0x2 | GV_ADDMULTI);
45505 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_CROSSES)));
45506 1 : SvREADONLY_on(sv);
45507 : } while(0) /*@SWIG@*/;
45508 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45509 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_WITHIN", TRUE | 0x2 | GV_ADDMULTI);
45510 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_WITHIN)));
45511 1 : SvREADONLY_on(sv);
45512 : } while(0) /*@SWIG@*/;
45513 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45514 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_CONTAINS", TRUE | 0x2 | GV_ADDMULTI);
45515 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_CONTAINS)));
45516 1 : SvREADONLY_on(sv);
45517 : } while(0) /*@SWIG@*/;
45518 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45519 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_EQUALS", TRUE | 0x2 | GV_ADDMULTI);
45520 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_EQUALS)));
45521 1 : SvREADONLY_on(sv);
45522 : } while(0) /*@SWIG@*/;
45523 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45524 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_BEYOND", TRUE | 0x2 | GV_ADDMULTI);
45525 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_BEYOND)));
45526 1 : SvREADONLY_on(sv);
45527 : } while(0) /*@SWIG@*/;
45528 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45529 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_DWITHIN", TRUE | 0x2 | GV_ADDMULTI);
45530 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_DWITHIN)));
45531 1 : SvREADONLY_on(sv);
45532 : } while(0) /*@SWIG@*/;
45533 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45534 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
45535 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_LENGTH)));
45536 1 : SvREADONLY_on(sv);
45537 : } while(0) /*@SWIG@*/;
45538 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45539 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_TOSTRING", TRUE | 0x2 | GV_ADDMULTI);
45540 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_TOSTRING)));
45541 1 : SvREADONLY_on(sv);
45542 : } while(0) /*@SWIG@*/;
45543 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45544 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_COMMIFY", TRUE | 0x2 | GV_ADDMULTI);
45545 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_COMMIFY)));
45546 1 : SvREADONLY_on(sv);
45547 : } while(0) /*@SWIG@*/;
45548 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45549 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_AREA", TRUE | 0x2 | GV_ADDMULTI);
45550 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_AREA)));
45551 1 : SvREADONLY_on(sv);
45552 : } while(0) /*@SWIG@*/;
45553 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45554 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_ROUND", TRUE | 0x2 | GV_ADDMULTI);
45555 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_ROUND)));
45556 1 : SvREADONLY_on(sv);
45557 : } while(0) /*@SWIG@*/;
45558 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45559 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_FROMTEXT", TRUE | 0x2 | GV_ADDMULTI);
45560 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_FROMTEXT)));
45561 1 : SvREADONLY_on(sv);
45562 : } while(0) /*@SWIG@*/;
45563 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45564 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_BUFFER", TRUE | 0x2 | GV_ADDMULTI);
45565 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_BUFFER)));
45566 1 : SvREADONLY_on(sv);
45567 : } while(0) /*@SWIG@*/;
45568 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45569 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_DIFFERENCE", TRUE | 0x2 | GV_ADDMULTI);
45570 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_DIFFERENCE)));
45571 1 : SvREADONLY_on(sv);
45572 : } while(0) /*@SWIG@*/;
45573 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45574 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_SIMPLIFY", TRUE | 0x2 | GV_ADDMULTI);
45575 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_SIMPLIFY)));
45576 1 : SvREADONLY_on(sv);
45577 : } while(0) /*@SWIG@*/;
45578 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45579 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_SIMPLIFYPT", TRUE | 0x2 | GV_ADDMULTI);
45580 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_SIMPLIFYPT)));
45581 1 : SvREADONLY_on(sv);
45582 : } while(0) /*@SWIG@*/;
45583 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45584 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_GENERALIZE", TRUE | 0x2 | GV_ADDMULTI);
45585 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_GENERALIZE)));
45586 1 : SvREADONLY_on(sv);
45587 : } while(0) /*@SWIG@*/;
45588 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45589 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_SMOOTHSIA", TRUE | 0x2 | GV_ADDMULTI);
45590 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_SMOOTHSIA)));
45591 1 : SvREADONLY_on(sv);
45592 : } while(0) /*@SWIG@*/;
45593 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45594 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_JAVASCRIPT", TRUE | 0x2 | GV_ADDMULTI);
45595 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_JAVASCRIPT)));
45596 1 : SvREADONLY_on(sv);
45597 : } while(0) /*@SWIG@*/;
45598 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45599 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_UPPER", TRUE | 0x2 | GV_ADDMULTI);
45600 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_UPPER)));
45601 1 : SvREADONLY_on(sv);
45602 : } while(0) /*@SWIG@*/;
45603 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45604 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_LOWER", TRUE | 0x2 | GV_ADDMULTI);
45605 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_LOWER)));
45606 1 : SvREADONLY_on(sv);
45607 : } while(0) /*@SWIG@*/;
45608 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45609 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_INITCAP", TRUE | 0x2 | GV_ADDMULTI);
45610 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_INITCAP)));
45611 1 : SvREADONLY_on(sv);
45612 : } while(0) /*@SWIG@*/;
45613 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45614 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_FIRSTCAP", TRUE | 0x2 | GV_ADDMULTI);
45615 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_FIRSTCAP)));
45616 1 : SvREADONLY_on(sv);
45617 : } while(0) /*@SWIG@*/;
45618 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45619 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_DOUBLE", TRUE | 0x2 | GV_ADDMULTI);
45620 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_DOUBLE)));
45621 1 : SvREADONLY_on(sv);
45622 : } while(0) /*@SWIG@*/;
45623 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45624 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_INTEGER", TRUE | 0x2 | GV_ADDMULTI);
45625 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_INTEGER)));
45626 1 : SvREADONLY_on(sv);
45627 : } while(0) /*@SWIG@*/;
45628 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45629 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_STRING", TRUE | 0x2 | GV_ADDMULTI);
45630 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_STRING)));
45631 1 : SvREADONLY_on(sv);
45632 : } while(0) /*@SWIG@*/;
45633 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45634 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_TIME", TRUE | 0x2 | GV_ADDMULTI);
45635 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_TIME)));
45636 1 : SvREADONLY_on(sv);
45637 : } while(0) /*@SWIG@*/;
45638 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45639 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
45640 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_SHAPE)));
45641 1 : SvREADONLY_on(sv);
45642 : } while(0) /*@SWIG@*/;
45643 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45644 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_MAP_CELLSIZE", TRUE | 0x2 | GV_ADDMULTI);
45645 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_MAP_CELLSIZE)));
45646 1 : SvREADONLY_on(sv);
45647 : } while(0) /*@SWIG@*/;
45648 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45649 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_DATA_CELLSIZE", TRUE | 0x2 | GV_ADDMULTI);
45650 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_DATA_CELLSIZE)));
45651 1 : SvREADONLY_on(sv);
45652 : } while(0) /*@SWIG@*/;
45653 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45654 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PARSE_TYPE_BOOLEAN", TRUE | 0x2 | GV_ADDMULTI);
45655 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PARSE_TYPE_BOOLEAN)));
45656 1 : SvREADONLY_on(sv);
45657 : } while(0) /*@SWIG@*/;
45658 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45659 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PARSE_TYPE_STRING", TRUE | 0x2 | GV_ADDMULTI);
45660 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PARSE_TYPE_STRING)));
45661 1 : SvREADONLY_on(sv);
45662 : } while(0) /*@SWIG@*/;
45663 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45664 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PARSE_TYPE_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
45665 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_PARSE_TYPE_SHAPE)));
45666 1 : SvREADONLY_on(sv);
45667 : } while(0) /*@SWIG@*/;
45668 1 : SWIG_TypeClientData(SWIGTYPE_p_clusterObj, (void*) "mapscript::clusterObj");
45669 1 : SWIG_TypeClientData(SWIGTYPE_p_outputFormatObj, (void*) "mapscript::outputFormatObj");
45670 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45671 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NOOVERRIDE", TRUE | 0x2 | GV_ADDMULTI);
45672 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(-1111)));
45673 1 : SvREADONLY_on(sv);
45674 : } while(0) /*@SWIG@*/;
45675 1 : SWIG_TypeClientData(SWIGTYPE_p_queryMapObj, (void*) "mapscript::queryMapObj");
45676 1 : SWIG_TypeClientData(SWIGTYPE_p_webObj, (void*) "mapscript::webObj");
45677 1 : SWIG_TypeClientData(SWIGTYPE_p_styleObj, (void*) "mapscript::styleObj");
45678 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45679 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_SINGLE_SIDED_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
45680 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(-99)));
45681 1 : SvREADONLY_on(sv);
45682 : } while(0) /*@SWIG@*/;
45683 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45684 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_DOUBLE_SIDED_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
45685 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(-999)));
45686 1 : SvREADONLY_on(sv);
45687 : } while(0) /*@SWIG@*/;
45688 1 : SWIG_TypeClientData(SWIGTYPE_p_labelLeaderObj, (void*) "mapscript::labelLeaderObj");
45689 1 : SWIG_TypeClientData(SWIGTYPE_p_labelObj, (void*) "mapscript::labelObj");
45690 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45691 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_PERPENDICULAR_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
45692 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(-99)));
45693 1 : SvREADONLY_on(sv);
45694 : } while(0) /*@SWIG@*/;
45695 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45696 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_PERPENDICULAR_TOP_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
45697 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(99)));
45698 1 : SvREADONLY_on(sv);
45699 : } while(0) /*@SWIG@*/;
45700 1 : SWIG_TypeClientData(SWIGTYPE_p_classObj, (void*) "mapscript::classObj");
45701 1 : SWIG_TypeClientData(SWIGTYPE_p_labelCacheMemberObj, (void*) "mapscript::labelCacheMemberObj");
45702 1 : SWIG_TypeClientData(SWIGTYPE_p_markerCacheMemberObj, (void*) "mapscript::markerCacheMemberObj");
45703 1 : SWIG_TypeClientData(SWIGTYPE_p_labelCacheSlotObj, (void*) "mapscript::labelCacheSlotObj");
45704 1 : SWIG_TypeClientData(SWIGTYPE_p_labelCacheObj, (void*) "mapscript::labelCacheObj");
45705 1 : SWIG_TypeClientData(SWIGTYPE_p_resultObj, (void*) "mapscript::resultObj");
45706 1 : SWIG_TypeClientData(SWIGTYPE_p_resultCacheObj, (void*) "mapscript::resultCacheObj");
45707 1 : SWIG_TypeClientData(SWIGTYPE_p_symbolSetObj, (void*) "mapscript::symbolSetObj");
45708 1 : SWIG_TypeClientData(SWIGTYPE_p_referenceMapObj, (void*) "mapscript::referenceMapObj");
45709 1 : SWIG_TypeClientData(SWIGTYPE_p_scalebarObj, (void*) "mapscript::scalebarObj");
45710 1 : SWIG_TypeClientData(SWIGTYPE_p_legendObj, (void*) "mapscript::legendObj");
45711 1 : SWIG_TypeClientData(SWIGTYPE_p_imageObj, (void*) "mapscript::imageObj");
45712 1 : SWIG_TypeClientData(SWIGTYPE_p_scaleTokenEntryObj, (void*) "mapscript::scaleTokenEntryObj");
45713 1 : SWIG_TypeClientData(SWIGTYPE_p_scaleTokenObj, (void*) "mapscript::scaleTokenObj");
45714 1 : SWIG_TypeClientData(SWIGTYPE_p_layerObj, (void*) "mapscript::layerObj");
45715 1 : SWIG_TypeClientData(SWIGTYPE_p_mapObj, (void*) "mapscript::mapObj");
45716 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45717 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_MAJOR", TRUE | 0x2 | GV_ADDMULTI);
45718 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(7)));
45719 1 : SvREADONLY_on(sv);
45720 : } while(0) /*@SWIG@*/;
45721 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45722 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_MINOR", TRUE | 0x2 | GV_ADDMULTI);
45723 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(5)));
45724 1 : SvREADONLY_on(sv);
45725 : } while(0) /*@SWIG@*/;
45726 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45727 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_REV", TRUE | 0x2 | GV_ADDMULTI);
45728 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
45729 1 : SvREADONLY_on(sv);
45730 : } while(0) /*@SWIG@*/;
45731 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45732 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION", TRUE | 0x2 | GV_ADDMULTI);
45733 1 : sv_setsv(sv, SWIG_FromCharPtr("7.5-dev"));
45734 1 : SvREADONLY_on(sv);
45735 : } while(0) /*@SWIG@*/;
45736 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45737 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_NUM", TRUE | 0x2 | GV_ADDMULTI);
45738 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(70500)));
45739 1 : SvREADONLY_on(sv);
45740 : } while(0) /*@SWIG@*/;
45741 1 : SWIG_TypeClientData(SWIGTYPE_p_rectObj, (void*) "mapscript::rectObj");
45742 1 : SWIG_TypeClientData(SWIGTYPE_p_pointObj, (void*) "mapscript::pointObj");
45743 1 : SWIG_TypeClientData(SWIGTYPE_p_lineObj, (void*) "mapscript::lineObj");
45744 1 : SWIG_TypeClientData(SWIGTYPE_p_shapeObj, (void*) "mapscript::shapeObj");
45745 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45746 1 : SV *sv = get_sv((char*) SWIG_prefix "SHX_BUFFER_PAGE", TRUE | 0x2 | GV_ADDMULTI);
45747 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1024)));
45748 1 : SvREADONLY_on(sv);
45749 : } while(0) /*@SWIG@*/;
45750 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45751 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_POINT", TRUE | 0x2 | GV_ADDMULTI);
45752 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
45753 1 : SvREADONLY_on(sv);
45754 : } while(0) /*@SWIG@*/;
45755 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45756 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_ARC", TRUE | 0x2 | GV_ADDMULTI);
45757 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(3)));
45758 1 : SvREADONLY_on(sv);
45759 : } while(0) /*@SWIG@*/;
45760 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45761 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_POLYGON", TRUE | 0x2 | GV_ADDMULTI);
45762 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(5)));
45763 1 : SvREADONLY_on(sv);
45764 : } while(0) /*@SWIG@*/;
45765 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45766 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_MULTIPOINT", TRUE | 0x2 | GV_ADDMULTI);
45767 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(8)));
45768 1 : SvREADONLY_on(sv);
45769 : } while(0) /*@SWIG@*/;
45770 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45771 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POINTZ", TRUE | 0x2 | GV_ADDMULTI);
45772 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(11)));
45773 1 : SvREADONLY_on(sv);
45774 : } while(0) /*@SWIG@*/;
45775 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45776 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_ARCZ", TRUE | 0x2 | GV_ADDMULTI);
45777 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(13)));
45778 1 : SvREADONLY_on(sv);
45779 : } while(0) /*@SWIG@*/;
45780 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45781 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POLYGONZ", TRUE | 0x2 | GV_ADDMULTI);
45782 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(15)));
45783 1 : SvREADONLY_on(sv);
45784 : } while(0) /*@SWIG@*/;
45785 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45786 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_MULTIPOINTZ", TRUE | 0x2 | GV_ADDMULTI);
45787 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(18)));
45788 1 : SvREADONLY_on(sv);
45789 : } while(0) /*@SWIG@*/;
45790 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45791 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POINTM", TRUE | 0x2 | GV_ADDMULTI);
45792 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(21)));
45793 1 : SvREADONLY_on(sv);
45794 : } while(0) /*@SWIG@*/;
45795 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45796 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_ARCM", TRUE | 0x2 | GV_ADDMULTI);
45797 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(23)));
45798 1 : SvREADONLY_on(sv);
45799 : } while(0) /*@SWIG@*/;
45800 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45801 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POLYGONM", TRUE | 0x2 | GV_ADDMULTI);
45802 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(25)));
45803 1 : SvREADONLY_on(sv);
45804 : } while(0) /*@SWIG@*/;
45805 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45806 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_MULTIPOINTM", TRUE | 0x2 | GV_ADDMULTI);
45807 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(28)));
45808 1 : SvREADONLY_on(sv);
45809 : } while(0) /*@SWIG@*/;
45810 1 : SWIG_TypeClientData(SWIGTYPE_p_DBFInfo, (void*) "mapscript::DBFInfo");
45811 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45812 1 : SV *sv = get_sv((char*) SWIG_prefix "FTString", TRUE | 0x2 | GV_ADDMULTI);
45813 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(FTString)));
45814 1 : SvREADONLY_on(sv);
45815 : } while(0) /*@SWIG@*/;
45816 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45817 1 : SV *sv = get_sv((char*) SWIG_prefix "FTInteger", TRUE | 0x2 | GV_ADDMULTI);
45818 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(FTInteger)));
45819 1 : SvREADONLY_on(sv);
45820 : } while(0) /*@SWIG@*/;
45821 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45822 1 : SV *sv = get_sv((char*) SWIG_prefix "FTDouble", TRUE | 0x2 | GV_ADDMULTI);
45823 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(FTDouble)));
45824 1 : SvREADONLY_on(sv);
45825 : } while(0) /*@SWIG@*/;
45826 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45827 1 : SV *sv = get_sv((char*) SWIG_prefix "FTInvalid", TRUE | 0x2 | GV_ADDMULTI);
45828 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(FTInvalid)));
45829 1 : SvREADONLY_on(sv);
45830 : } while(0) /*@SWIG@*/;
45831 1 : SWIG_TypeClientData(SWIGTYPE_p_shapefileObj, (void*) "mapscript::shapefileObj");
45832 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45833 1 : SV *sv = get_sv((char*) SWIG_prefix "ACCEPT_USE_OF_DEPRECATED_PROJ_API_H", TRUE | 0x2 | GV_ADDMULTI);
45834 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
45835 1 : SvREADONLY_on(sv);
45836 : } while(0) /*@SWIG@*/;
45837 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45838 1 : SV *sv = get_sv((char*) SWIG_prefix "wkp_none", TRUE | 0x2 | GV_ADDMULTI);
45839 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
45840 1 : SvREADONLY_on(sv);
45841 : } while(0) /*@SWIG@*/;
45842 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45843 1 : SV *sv = get_sv((char*) SWIG_prefix "wkp_lonlat", TRUE | 0x2 | GV_ADDMULTI);
45844 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
45845 1 : SvREADONLY_on(sv);
45846 : } while(0) /*@SWIG@*/;
45847 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45848 1 : SV *sv = get_sv((char*) SWIG_prefix "wkp_gmerc", TRUE | 0x2 | GV_ADDMULTI);
45849 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
45850 1 : SvREADONLY_on(sv);
45851 : } while(0) /*@SWIG@*/;
45852 1 : SWIG_TypeClientData(SWIGTYPE_p_projectionObj, (void*) "mapscript::projectionObj");
45853 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45854 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_SIMPLE", TRUE | 0x2 | GV_ADDMULTI);
45855 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_SIMPLE)));
45856 1 : SvREADONLY_on(sv);
45857 : } while(0) /*@SWIG@*/;
45858 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45859 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_VECTOR", TRUE | 0x2 | GV_ADDMULTI);
45860 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_VECTOR)));
45861 1 : SvREADONLY_on(sv);
45862 : } while(0) /*@SWIG@*/;
45863 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45864 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_ELLIPSE", TRUE | 0x2 | GV_ADDMULTI);
45865 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_ELLIPSE)));
45866 1 : SvREADONLY_on(sv);
45867 : } while(0) /*@SWIG@*/;
45868 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45869 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_PIXMAP", TRUE | 0x2 | GV_ADDMULTI);
45870 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_PIXMAP)));
45871 1 : SvREADONLY_on(sv);
45872 : } while(0) /*@SWIG@*/;
45873 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45874 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_TRUETYPE", TRUE | 0x2 | GV_ADDMULTI);
45875 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_TRUETYPE)));
45876 1 : SvREADONLY_on(sv);
45877 : } while(0) /*@SWIG@*/;
45878 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45879 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_HATCH", TRUE | 0x2 | GV_ADDMULTI);
45880 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_HATCH)));
45881 1 : SvREADONLY_on(sv);
45882 : } while(0) /*@SWIG@*/;
45883 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45884 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_SVG", TRUE | 0x2 | GV_ADDMULTI);
45885 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_SVG)));
45886 1 : SvREADONLY_on(sv);
45887 : } while(0) /*@SWIG@*/;
45888 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45889 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
45890 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(64)));
45891 1 : SvREADONLY_on(sv);
45892 : } while(0) /*@SWIG@*/;
45893 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45894 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MAXVECTORPOINTS", TRUE | 0x2 | GV_ADDMULTI);
45895 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(100)));
45896 1 : SvREADONLY_on(sv);
45897 : } while(0) /*@SWIG@*/;
45898 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45899 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MAXPATTERNLENGTH", TRUE | 0x2 | GV_ADDMULTI);
45900 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(10)));
45901 1 : SvREADONLY_on(sv);
45902 : } while(0) /*@SWIG@*/;
45903 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45904 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGECACHESIZE", TRUE | 0x2 | GV_ADDMULTI);
45905 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(6)));
45906 1 : SvREADONLY_on(sv);
45907 : } while(0) /*@SWIG@*/;
45908 1 : SWIG_TypeClientData(SWIGTYPE_p_colorObj, (void*) "mapscript::colorObj");
45909 1 : SWIG_TypeClientData(SWIGTYPE_p_symbolObj, (void*) "mapscript::symbolObj");
45910 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45911 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NOERR", TRUE | 0x2 | GV_ADDMULTI);
45912 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(0)));
45913 1 : SvREADONLY_on(sv);
45914 : } while(0) /*@SWIG@*/;
45915 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45916 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IOERR", TRUE | 0x2 | GV_ADDMULTI);
45917 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(1)));
45918 1 : SvREADONLY_on(sv);
45919 : } while(0) /*@SWIG@*/;
45920 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45921 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MEMERR", TRUE | 0x2 | GV_ADDMULTI);
45922 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2)));
45923 1 : SvREADONLY_on(sv);
45924 : } while(0) /*@SWIG@*/;
45925 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45926 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TYPEERR", TRUE | 0x2 | GV_ADDMULTI);
45927 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(3)));
45928 1 : SvREADONLY_on(sv);
45929 : } while(0) /*@SWIG@*/;
45930 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45931 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SYMERR", TRUE | 0x2 | GV_ADDMULTI);
45932 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(4)));
45933 1 : SvREADONLY_on(sv);
45934 : } while(0) /*@SWIG@*/;
45935 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45936 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_REGEXERR", TRUE | 0x2 | GV_ADDMULTI);
45937 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(5)));
45938 1 : SvREADONLY_on(sv);
45939 : } while(0) /*@SWIG@*/;
45940 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45941 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TTFERR", TRUE | 0x2 | GV_ADDMULTI);
45942 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(6)));
45943 1 : SvREADONLY_on(sv);
45944 : } while(0) /*@SWIG@*/;
45945 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45946 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DBFERR", TRUE | 0x2 | GV_ADDMULTI);
45947 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(7)));
45948 1 : SvREADONLY_on(sv);
45949 : } while(0) /*@SWIG@*/;
45950 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45951 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IDENTERR", TRUE | 0x2 | GV_ADDMULTI);
45952 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(9)));
45953 1 : SvREADONLY_on(sv);
45954 : } while(0) /*@SWIG@*/;
45955 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45956 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_EOFERR", TRUE | 0x2 | GV_ADDMULTI);
45957 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(10)));
45958 1 : SvREADONLY_on(sv);
45959 : } while(0) /*@SWIG@*/;
45960 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45961 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PROJERR", TRUE | 0x2 | GV_ADDMULTI);
45962 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(11)));
45963 1 : SvREADONLY_on(sv);
45964 : } while(0) /*@SWIG@*/;
45965 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45966 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MISCERR", TRUE | 0x2 | GV_ADDMULTI);
45967 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(12)));
45968 1 : SvREADONLY_on(sv);
45969 : } while(0) /*@SWIG@*/;
45970 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45971 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CGIERR", TRUE | 0x2 | GV_ADDMULTI);
45972 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(13)));
45973 1 : SvREADONLY_on(sv);
45974 : } while(0) /*@SWIG@*/;
45975 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45976 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WEBERR", TRUE | 0x2 | GV_ADDMULTI);
45977 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(14)));
45978 1 : SvREADONLY_on(sv);
45979 : } while(0) /*@SWIG@*/;
45980 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45981 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_IMGERR", TRUE | 0x2 | GV_ADDMULTI);
45982 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(15)));
45983 1 : SvREADONLY_on(sv);
45984 : } while(0) /*@SWIG@*/;
45985 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45986 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_HASHERR", TRUE | 0x2 | GV_ADDMULTI);
45987 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(16)));
45988 1 : SvREADONLY_on(sv);
45989 : } while(0) /*@SWIG@*/;
45990 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45991 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_JOINERR", TRUE | 0x2 | GV_ADDMULTI);
45992 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(17)));
45993 1 : SvREADONLY_on(sv);
45994 : } while(0) /*@SWIG@*/;
45995 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
45996 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NOTFOUND", TRUE | 0x2 | GV_ADDMULTI);
45997 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(18)));
45998 1 : SvREADONLY_on(sv);
45999 : } while(0) /*@SWIG@*/;
46000 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46001 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SHPERR", TRUE | 0x2 | GV_ADDMULTI);
46002 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(19)));
46003 1 : SvREADONLY_on(sv);
46004 : } while(0) /*@SWIG@*/;
46005 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46006 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_PARSEERR", TRUE | 0x2 | GV_ADDMULTI);
46007 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(20)));
46008 1 : SvREADONLY_on(sv);
46009 : } while(0) /*@SWIG@*/;
46010 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46011 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_UNUSEDERR", TRUE | 0x2 | GV_ADDMULTI);
46012 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(21)));
46013 1 : SvREADONLY_on(sv);
46014 : } while(0) /*@SWIG@*/;
46015 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46016 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_OGRERR", TRUE | 0x2 | GV_ADDMULTI);
46017 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(22)));
46018 1 : SvREADONLY_on(sv);
46019 : } while(0) /*@SWIG@*/;
46020 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46021 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_QUERYERR", TRUE | 0x2 | GV_ADDMULTI);
46022 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(23)));
46023 1 : SvREADONLY_on(sv);
46024 : } while(0) /*@SWIG@*/;
46025 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46026 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WMSERR", TRUE | 0x2 | GV_ADDMULTI);
46027 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(24)));
46028 1 : SvREADONLY_on(sv);
46029 : } while(0) /*@SWIG@*/;
46030 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46031 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WMSCONNERR", TRUE | 0x2 | GV_ADDMULTI);
46032 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(25)));
46033 1 : SvREADONLY_on(sv);
46034 : } while(0) /*@SWIG@*/;
46035 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46036 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ORACLESPATIALERR", TRUE | 0x2 | GV_ADDMULTI);
46037 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(26)));
46038 1 : SvREADONLY_on(sv);
46039 : } while(0) /*@SWIG@*/;
46040 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46041 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WFSERR", TRUE | 0x2 | GV_ADDMULTI);
46042 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(27)));
46043 1 : SvREADONLY_on(sv);
46044 : } while(0) /*@SWIG@*/;
46045 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46046 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WFSCONNERR", TRUE | 0x2 | GV_ADDMULTI);
46047 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(28)));
46048 1 : SvREADONLY_on(sv);
46049 : } while(0) /*@SWIG@*/;
46050 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46051 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_MAPCONTEXTERR", TRUE | 0x2 | GV_ADDMULTI);
46052 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(29)));
46053 1 : SvREADONLY_on(sv);
46054 : } while(0) /*@SWIG@*/;
46055 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46056 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_HTTPERR", TRUE | 0x2 | GV_ADDMULTI);
46057 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(30)));
46058 1 : SvREADONLY_on(sv);
46059 : } while(0) /*@SWIG@*/;
46060 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46061 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_CHILDERR", TRUE | 0x2 | GV_ADDMULTI);
46062 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(31)));
46063 1 : SvREADONLY_on(sv);
46064 : } while(0) /*@SWIG@*/;
46065 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46066 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_WCSERR", TRUE | 0x2 | GV_ADDMULTI);
46067 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(32)));
46068 1 : SvREADONLY_on(sv);
46069 : } while(0) /*@SWIG@*/;
46070 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46071 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GEOSERR", TRUE | 0x2 | GV_ADDMULTI);
46072 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(33)));
46073 1 : SvREADONLY_on(sv);
46074 : } while(0) /*@SWIG@*/;
46075 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46076 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RECTERR", TRUE | 0x2 | GV_ADDMULTI);
46077 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(34)));
46078 1 : SvREADONLY_on(sv);
46079 : } while(0) /*@SWIG@*/;
46080 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46081 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_TIMEERR", TRUE | 0x2 | GV_ADDMULTI);
46082 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(35)));
46083 1 : SvREADONLY_on(sv);
46084 : } while(0) /*@SWIG@*/;
46085 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46086 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GMLERR", TRUE | 0x2 | GV_ADDMULTI);
46087 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(36)));
46088 1 : SvREADONLY_on(sv);
46089 : } while(0) /*@SWIG@*/;
46090 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46091 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_SOSERR", TRUE | 0x2 | GV_ADDMULTI);
46092 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(37)));
46093 1 : SvREADONLY_on(sv);
46094 : } while(0) /*@SWIG@*/;
46095 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46096 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NULLPARENTERR", TRUE | 0x2 | GV_ADDMULTI);
46097 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(38)));
46098 1 : SvREADONLY_on(sv);
46099 : } while(0) /*@SWIG@*/;
46100 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46101 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_AGGERR", TRUE | 0x2 | GV_ADDMULTI);
46102 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(39)));
46103 1 : SvREADONLY_on(sv);
46104 : } while(0) /*@SWIG@*/;
46105 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46106 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_OWSERR", TRUE | 0x2 | GV_ADDMULTI);
46107 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(40)));
46108 1 : SvREADONLY_on(sv);
46109 : } while(0) /*@SWIG@*/;
46110 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46111 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_OGLERR", TRUE | 0x2 | GV_ADDMULTI);
46112 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(41)));
46113 1 : SvREADONLY_on(sv);
46114 : } while(0) /*@SWIG@*/;
46115 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46116 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_RENDERERERR", TRUE | 0x2 | GV_ADDMULTI);
46117 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(42)));
46118 1 : SvREADONLY_on(sv);
46119 : } while(0) /*@SWIG@*/;
46120 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46121 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_V8ERR", TRUE | 0x2 | GV_ADDMULTI);
46122 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(43)));
46123 1 : SvREADONLY_on(sv);
46124 : } while(0) /*@SWIG@*/;
46125 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46126 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_NUMERRORCODES", TRUE | 0x2 | GV_ADDMULTI);
46127 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(44)));
46128 1 : SvREADONLY_on(sv);
46129 : } while(0) /*@SWIG@*/;
46130 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46131 1 : SV *sv = get_sv((char*) SWIG_prefix "MESSAGELENGTH", TRUE | 0x2 | GV_ADDMULTI);
46132 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(2048)));
46133 1 : SvREADONLY_on(sv);
46134 : } while(0) /*@SWIG@*/;
46135 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46136 1 : SV *sv = get_sv((char*) SWIG_prefix "ROUTINELENGTH", TRUE | 0x2 | GV_ADDMULTI);
46137 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(64)));
46138 1 : SvREADONLY_on(sv);
46139 : } while(0) /*@SWIG@*/;
46140 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46141 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_ERROR_LANGUAGE", TRUE | 0x2 | GV_ADDMULTI);
46142 1 : sv_setsv(sv, SWIG_FromCharPtr("en-US"));
46143 1 : SvREADONLY_on(sv);
46144 : } while(0) /*@SWIG@*/;
46145 1 : SWIG_TypeClientData(SWIGTYPE_p_errorObj, (void*) "mapscript::errorObj");
46146 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46147 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_ERRORSONLY", TRUE | 0x2 | GV_ADDMULTI);
46148 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_ERRORSONLY)));
46149 1 : SvREADONLY_on(sv);
46150 : } while(0) /*@SWIG@*/;
46151 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46152 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_DEBUG", TRUE | 0x2 | GV_ADDMULTI);
46153 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_DEBUG)));
46154 1 : SvREADONLY_on(sv);
46155 : } while(0) /*@SWIG@*/;
46156 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46157 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_TUNING", TRUE | 0x2 | GV_ADDMULTI);
46158 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_TUNING)));
46159 1 : SvREADONLY_on(sv);
46160 : } while(0) /*@SWIG@*/;
46161 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46162 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_V", TRUE | 0x2 | GV_ADDMULTI);
46163 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_V)));
46164 1 : SvREADONLY_on(sv);
46165 : } while(0) /*@SWIG@*/;
46166 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46167 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_VV", TRUE | 0x2 | GV_ADDMULTI);
46168 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_VV)));
46169 1 : SvREADONLY_on(sv);
46170 : } while(0) /*@SWIG@*/;
46171 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46172 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_VVV", TRUE | 0x2 | GV_ADDMULTI);
46173 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_VVV)));
46174 1 : SvREADONLY_on(sv);
46175 : } while(0) /*@SWIG@*/;
46176 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46177 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_DEVDEBUG", TRUE | 0x2 | GV_ADDMULTI);
46178 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_DEVDEBUG)));
46179 1 : SvREADONLY_on(sv);
46180 : } while(0) /*@SWIG@*/;
46181 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46182 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_HASHSIZE", TRUE | 0x2 | GV_ADDMULTI);
46183 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(41)));
46184 1 : SvREADONLY_on(sv);
46185 : } while(0) /*@SWIG@*/;
46186 1 : SWIG_TypeClientData(SWIGTYPE_p_hashTableObj, (void*) "mapscript::hashTableObj");
46187 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46188 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_DEFAULT_CGI_PARAMS", TRUE | 0x2 | GV_ADDMULTI);
46189 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(100)));
46190 1 : SvREADONLY_on(sv);
46191 : } while(0) /*@SWIG@*/;
46192 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46193 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_GET_REQUEST", TRUE | 0x2 | GV_ADDMULTI);
46194 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_GET_REQUEST)));
46195 1 : SvREADONLY_on(sv);
46196 : } while(0) /*@SWIG@*/;
46197 : /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
46198 1 : SV *sv = get_sv((char*) SWIG_prefix "MS_POST_REQUEST", TRUE | 0x2 | GV_ADDMULTI);
46199 1 : sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(MS_POST_REQUEST)));
46200 1 : SvREADONLY_on(sv);
46201 : } while(0) /*@SWIG@*/;
46202 1 : SWIG_TypeClientData(SWIGTYPE_p_cgiRequestObj, (void*) "mapscript::OWSRequest");
46203 1 : ST(0) = &PL_sv_yes;
46204 1 : XSRETURN(1);
46205 : }
46206 :
|